p-gate
P gate
Table of Contents
P gate
Phase gate (or P gate) is a single-qubit gate that applies a phase shift to the component of a qubit while leaving the component unchanged. It is a rotation about the -axis of the Bloch sphere.
Applied to a general qubit , the phase gate multiplies the amplitude by :
Since only the relative phase between and changes, the measurement probabilities and are unaffected. The phase shift is only observable through interference.
Special cases
Several important single-qubit gates are special cases of :
The gate is particularly important in fault-tolerant quantum computing. Together with the Hadamard gate and the CX gate, forms a universal gate set: any quantum computation can be approximated to arbitrary precision using only .
List of code implementations
p-gate.md · Last modified:
