qrisp.QuantumCircuit.p#

QuantumCircuit.p(phi, qubits)[source]#

Instruct a phase-gate.

Parameters
phifloat or sympy.Symbol

The angle parameter.

qubitsQubit

The Qubit to apply the gate on.