QuantumCircuit.cnot

QuantumCircuit.cnot(control_qubit, target_qubit, *, label=None, ctrl_state=None, ctl=None, tgt=None)[source]

Apply CXGate.