qrisp.QuantumCircuit.cx#

QuantumCircuit.cx(qubits_0, qubits_1)[source]#

Instruct a CX-gate.

Parameters:
qubits_0Qubit

The Qubit to control on.

qubits_1Qubit

The target Qubit.