qrisp.gphase#

gphase(phi, qubits)[source]#

Applies a global phase. This gate turns into a phase gate when controlled.

Parameters:
phifloat or sympy.Symbol

The global phase to apply.

qubitsQubit or list[Qubit] or QuantumVariable

The Qubit to perform the global phase gate on.