original_docstring: A ProjectQ filter to flag TimeEvolution operators for decomposition
  
      This flags any gates which act on more than 2 qubits or are time evolution
      operators to be decomposed into a base library of gates for simulation
      within ProjectQ.
  
      Args:
          self(Dummy): Dummy parameter to meet function specification.
          cmd(projectq.command): Command to be checked for decomposition into
              one- and two- qubit gates.
  
      
docstring: A ProjectQ filter to flag TimeEvolution operators for decomposition
  This flags any gates which act on more than 2 qubits or are time evolution
  operators to be decomposed into a base library of gates for simulation
  within ProjectQ.
docstring_tokens: A ProjectQ filter to flag TimeEvolution operators for decomposition This flags any gates which act on more than 2 qubits or are time evolution operators to be decomposed into a base library of gates for simulation within ProjectQ .
code: def _two_gate_filter(self, cmd):
      """A ProjectQ filter to flag TimeEvolution operators for decomposition
  
      This flags any gates which act on more than 2 qubits or are time evolution
      operators to be decomposed into a base library of gates for simulation
      within ProjectQ.
  
      Args:
          self(Dummy): Dummy parameter to meet function specification.
          cmd(projectq.command): Command to be checked for decomposition into
              one- and two- qubit gates.
  
      """
      if ((not isinstance(cmd.gate, projectq.ops.TimeEvolution)) and
          (len(cmd.qubits[0]) <= 2 or
              isinstance(cmd.gate, projectq.ops.ClassicalInstructionGate))):
          return True
      return False
code_tokens: def _two_gate_filter ( self , cmd ) : if ( ( not isinstance ( cmd . gate , projectq . ops . TimeEvolution ) ) and ( len ( cmd . qubits [ 0 ] ) <= 2 or isinstance ( cmd . gate , projectq . ops . ClassicalInstructionGate ) ) ) : return True return False
short_docstring: A ProjectQ filter to flag TimeEvolution operators for decomposition
  This flags any gates which act on more than 2 qubits or are time evolution
  operators to be decomposed into a base library of gates for simulation
  within ProjectQ.
short_docstring_tokens: A ProjectQ filter to flag TimeEvolution operators for decomposition This flags any gates which act on more than 2 qubits or are time evolution operators to be decomposed into a base library of gates for simulation within ProjectQ .
comment: """A ProjectQ filter to flag TimeEvolution operators for decomposition
  
      This flags any gates which act on more than 2 qubits or are time evolution
      operators to be decomposed into a base library of gates for simulation
      within ProjectQ.
  
      Args:
          self(Dummy): Dummy parameter to meet function specification.
          cmd(projectq.command): Command to be checked for decomposition into
              one- and two- qubit gates.
  
      """