qrisp.cz#

cz(control, target)[source]#

Applies a CZ gate.

Parameters:
controlQubit or list[Qubit] or QuantumVariable

The Qubit to control on.

targetQubit or list[Qubit] or QuantumVariable

The Qubit to perform the Z gate on.