tequila.circuit.gates.CNOT

tequila.circuit.gates.CNOT(control: int, target: int) → tequila.circuit.circuit.QCircuit[source]

Convenience CNOT initialization

Parameters
  • control (int) – control qubit

  • target (int) – target qubit

Returns

object

Return type

QCircuit