Skip to content

The Qubit

Global phase vs relative phase

One is invisible; the other is the whole resource

Amplitudes carry phase, and the last lesson put phase on the map as the angle around the equator. But not all phase is equal. One kind of phase is a bookkeeping artifact that no experiment can ever detect, and the other is the single most important resource in the whole subject - the thing every quantum algorithm spends to get its speedup. This lesson is the sharp line between the two, and why measurement sees one and is blind to the other.

Two ways to add a phase

There are two places a phase can go. You can multiply the whole state by - a global phase, the same factor on every amplitude. Or you can multiply just one part, say the component, by - a relative phase between the two amplitudes. They look almost the same on paper. They could not be more different in what they do.

Play first: two phase knobs, one that does nothing

The widget starts at and gives you both knobs. Sweep the global-phase slider and hunt for anything that moves: the Bloch vector, either set of measurement bars, any probability. Then sweep the relative-phase slider and watch the X-basis outcomes swing all the way from certain to certain .

The state is |+> with two phase knobs. Global phase multiplies everything; relative phase multiplies only the |1> part. Watch which measurements move.

Bloch vector: it sits on the equator and follows relative phase phi. Global phase gamma has no axis here, so it moves nothing.
|0>|1>|+>|->|i>|-i>
theta
90 deg
phi
90 deg
alpha
0.71
beta
0.71 @90deg
P(0)
0.5
P(1)
0.5
Raw amplitudes (Z basis). Global phase spins the phase arrows, but the bar heights, and therefore P(0) and P(1), never budge from 1/2.
Measure in the X basis and relative phase is suddenly visible: it swings the outcome between |+> and |->. Global phase still does nothing.
P(0)
0.5
P(1)
0.5
P(+)
0.5
P(-)
0.5

Sweep gamma: nothing above changes. Sweep phi: the Z basis stays 50/50 but the X basis moves. Relative phase is real because a different measurement can see it; global phase is invisible to every measurement there is.

Global phase moved nothing you could measure - the arrows on the raw amplitudes spun, but every bar height and the Bloch point stayed put. Relative phase moved the Bloch vector around the equator and drove the X-basis outcome from one certainty to the opposite one, while the Z-basis stayed a flat 50/50. That second fact is the important one: relative phase is invisible in one basis and decisive in another.

Why global phase is invisible

This is not a convention, it falls straight out of the Born rule. Every probability you can ever observe is a squared magnitude of some amplitude. Multiply the whole state by and each amplitude picks up that factor, so each probability becomes:

The has magnitude 1, so squaring wipes it out every single time, in every basis. There is no measurement, no clever choice of experiment, that can reveal . Two states that differ only by a are genuinely the same physical state - which is exactly why the Bloch sphere, having thrown global phase away, could still hold every distinct qubit.

Why relative phase is the whole game

Relative phase survives because it does not factor out. Take the equal superposition with a phase on the part and measure it in the basis. The amplitude landing on is a sum, and the phase sits inside that sum where squaring cannot remove it:

At that is , a certain ; at it is , a certain . The two amplitudes interfered - reinforcing at , cancelling at - and the relative phase is the dial that chose which. This is at work, and orchestrating exactly this cancel-or-reinforce across many amplitudes is what the real source of quantum speedup is made of.

The Z gate is a relative-phase machine

The gate leaves alone and multiplies by : it adds a relative phase of , turning into . Measured in the Z basis, before and after look identical - both 50/50 - because a Z-basis measurement is blind to relative phase. Measured in the X basis, they are opposite certainties. Same gate, and whether you can see it depends entirely on which question you ask.
import numpy as np

def probs(state):
    z = np.abs(state)**2                       # Z-basis: P(0), P(1)
    plus = np.array([1, 1]) / np.sqrt(2)
    minus = np.array([1, -1]) / np.sqrt(2)
    x = [abs(plus @ state)**2, abs(minus @ state)**2]   # X-basis: P(+), P(-)
    return z, x

psi = np.array([1, 1]) / np.sqrt(2)            # |+>

# Global phase: multiply the WHOLE state. Nothing observable moves.
probs(np.exp(1j * 1.2) * psi)                  # same z, same x as psi

# Relative phase pi on |1> only  ->  |->. Z basis unchanged, X basis flips.
psi_rel = np.array([1, -1]) / np.sqrt(2)
probs(psi_rel)                                 # z = [0.5, 0.5], x = [0.0, 1.0]
Global phase leaves every probability alone; relative phase changes the X basis.

Lock it in

  • Global phase e^{i gamma} multiplies the whole state, cancels in every squared magnitude, and is completely unobservable.
  • Relative phase sits between the components of a superposition; it survives squaring and is observable through interference.
  • A Z-basis measurement is blind to relative phase; changing to the X basis makes the same phase decide the outcome.
  • The Z gate adds a relative phase of pi (|1> gets a minus sign), turning |+> into |->; relative phase is the resource every algorithm spends.

Check yourself

You multiply an entire qubit state by e^{i gamma}. What can any measurement detect?

Why is relative phase called a real resource while global phase is not?

Why is global phase unobservable, and what does relative phase change?

The line between artifact and resource. Try to state it, then check.

Match each item to what it does.

drop here

unobservable; cancels in every probability

drop here

observable through interference

drop here

adds a relative phase to |1>

drop here

blind to relative phase

Primary source

Quantum Country, Quantum computing for the very curious

Quantum Country is careful about the phase distinction and about why states differing by a global phase are identical, then shows relative phase driving interference in the gate sections - the same throughline this lesson follows.

Sources

  1. 1.Matuschak & Nielsen, Quantum computing for the very curious (quantum.country/qcvc)
  2. 2.Nielsen & Chuang, Quantum Computation and Quantum Information, section 2.2

The global-versus-relative phase distinction follows Quantum Country[1] and the state-space conventions of Nielsen & Chuang section 2.2[2].