code: def gates_by_name(self, name):
          
          return [g for g in self.gates if g.gate == name]
docs: Return all defined noisy gates of a particular gate name.
  
          :param str name: The gate name.
          :return: A list of noise models representing that gate.
          :rtype: Sequence[KrausModel]