Site Tools


quantum-gate-p

Table of Contents

P gate (Phase gate)

P gate applies a phase to the state, leaving unchanged. It is a parameterized single-qubit gate that rotates around the z-axis on the Bloch sphere. With specific angle choices, the P gate becomes S (), T (), or Z ().

Matrix:

Action: , (adds phase to ).

Properties

  • Parameterized: is an arbitrary angle; different values give different gates
  • Diagonal: phase gates do not entangle or mix basis states
  • Inverse:
  • Composition: (phases add)
  • Periodicity: (global phase equivalence)
  • Clifford structure: P is Clifford only for specific angles (e.g., (S), (Z)); non-Clifford for others (e.g., (T))

Special cases

Common instances of the P gate with specific angles:

  • S gate: ; applies 90° phase
  • T gate: ; applies 45° phase
  • Z gate: ; applies 180° phase (Pauli Z)
  • S† gate: ; applies -90° phase
  • T† gate: ; applies -45° phase

Relation to rotations

The P gate is a special case of the RZ rotation gate:

The difference is a global phase factor that doesn't affect measurement outcomes. On superconducting qubits, P gates are typically implemented as virtual RZ rotations via reference frame adjustment.

Uses

  • State preparation: rotate basis states to arbitrary phases
  • Circuit synthesis: build arbitrary unitaries from phase and bit-flip layers
  • Variational algorithms: parameterized phase gates in quantum circuits (VQE, QAOA)
  • Algorithm implementation: phase corrections in quantum algorithms
  • Bloch sphere rotation: explicit z-axis rotation without physical pulses (superconducting qubits)

Implementation

  • Superconducting qubits: RZ() is virtual (reference frame adjustment); essentially free
  • Trapped ions: detuned laser pulse applies phase without excitation
  • Photonic: optical phase shifter set to angle
  • Cost: free or near-free on most platforms (no physical pulse required if virtual); specific-angle gates (S, T) may be optimized

Relations

quantum-gate-p.md · Last modified: