qrisp.z#

z(qubits)[source]#

Applies a Z gate.

Parameters:
qubitsQubit or list[Qubit] or QuantumVariable

The Qubit to perform the Z gate on.