QuantumCircuit.cx

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

Apply CXGate.