Core Principles

Relative Phase

The difference in phase between the components of a superposition, which cannot be seen directly but controls interference.

Definition

Relative phase is the phase difference between the amplitudes of different basis states in a superposition. States such as (|0⟩ + |1⟩)/√2 and (|0⟩ − |1⟩)/√2 give the same measurement probabilities in the standard basis, yet they are different states, and gates such as the Hadamard turn that difference into a measurable outcome.

In depth

The H-Z-H circuit shows the whole idea in three gates. H takes |0⟩ to |+⟩, with probabilities 1/2 and 1/2. Z flips the sign of the |1⟩ component, giving |−⟩, which still has probabilities 1/2 and 1/2. The final H maps |−⟩ to |1⟩, so the result is 1 with certainty. A relative phase of π has become a bit. Our superposition lesson lets you run it.

With the T gate, which adds a phase of π/4, the final probabilities are P(0) = cos²(π/8) ≈ 0.8536 and P(1) = sin²(π/8) ≈ 0.1464. In general, for relative phase φ the probability of 1 after H, phase, H is sin²(φ/2).

Relative phase is the reason quantum computing is more than probabilistic computing. A classical probability cannot be negative, so probabilities can only add. Amplitudes can carry signs and phases, so contributions can cancel, and this cancellation is what algorithms exploit.

Technical Definition

Write a qubit state as α|0⟩ + e^(iφ) β|1⟩ with α and β real. The angle φ is the relative phase. It sets the azimuthal angle of the state on the Bloch sphere. Gates in the Z family, such as Z, S, T and RZ(θ), change φ without changing the probabilities of 0 and 1. A Hadamard converts a relative phase of 0 into the outcome 0 and a relative phase of π into the outcome 1.

Visual Explanation: An Analogy

Think of two waves on water. Their heights might be identical, but if one is shifted by half a wavelength, they cancel when they meet. The shift is invisible when you look at each wave alone, and decisive when they interfere.

Key facts

ItemDetail
Bloch sphereRelative phase is the azimuthal angle
H-Z-HTurns a phase of π into a certain 1
FormulaP(1) = sin²(φ/2) after H, phase φ, H
T gatePhase π/4, gives P(1) ≈ 0.1464

Where the idea comes from

The idea is as old as quantum mechanics itself, since interference of waves with different phases was already central to early double-slit explanations.

Real-World Use Cases

  • Encoding information in quantum algorithms such as Deutsch-Jozsa and Grover
  • Controlling interference in phase estimation
  • Describing the azimuth on the Bloch sphere

How it differs from related ideas

  • Global phase multiplies the whole state and has no effect, while relative phase changes the state.
  • Amplitude sets the probability directly, while phase affects probabilities only after interference.

Common Misconceptions

  • Relative phase is not unobservable. It cannot be seen by a direct measurement in the standard basis, but it affects what later gates and measurements show.
  • A phase gate does not change the probabilities of 0 and 1 by itself.

Frequently asked questions

Why can't I measure relative phase directly?

A standard-basis measurement only reports |amplitude|², and phase does not appear in that.

How can I see it?

Apply a Hadamard before measuring, as in the H-Z-H circuit.

What gates change it?

Z, S, T, RZ and controlled-phase gates.

Related Terms

Learn it in a lesson

← Back to the dictionary