qrisp.p#

p(phi, qubits)[source]#

Applies a phase gate.

Parameters
phifloat or sympy.Symbol

The phase to apply.

qubitsQubit or list[Qubit] or QuantumVariable

The Qubit on which to apply the phase gate.