qrisp.cx#

cx(control, target)[source]#

Applies a CX gate.

Parameters
controlQubit or list[Qubit] or QuantumVariable

The Qubit to control on.

targetQubit or list[Qubit] or QuantumVariable

The Qubit to perform the X gate on.