tequila.circuit.gates.CX

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

Convenience initialization CX (CNOT)

Parameters
  • control (int) – control qubit

  • target (int) – target qubit

Returns

object

Return type

QCircuit