Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Global and relative phase

Global phase multiplies an entire state by one complex unit factor; relative phase changes the phase difference between components and can change interference.

Edition released Coverage: Overview · Technical · Research
On this page

Definition and plain explanation

A global phase is a common factor e^(i gamma) multiplying every amplitude of a state vector. It disappears from all Born probabilities. A relative phase changes one component compared with another and can affect a later measurement. The difference is easy to state but frequently mishandled when a gate is placed under control: a phase that is global for an isolated operation can become relative between control branches.

Mathematical distinction

For |psi'>=e^(i gamma)|psi>, the density operator is |psi'><psi'|=e^(i gamma)e^(-i gamma)|psi><psi|=|psi><psi|. Every measurement therefore has the same statistics. By contrast, |psi_phi>=(|0>+e^(i phi)|1>)/sqrt(2) has off-diagonal density-matrix elements e^(-i phi)/2 and e^(i phi)/2. Those elements encode phase relative to the stated computational basis.

Measuring |psi_phi> directly in Z gives equal probabilities for all phi. Applying H before Z produces amplitudes (1+e^(i phi))/2 and (1-e^(i phi))/2. Their probabilities are cos^2(phi/2) and sin^2(phi/2). Phase has become observable through a specified interferometric operation.

Solved examples

For phi=pi/3, the probabilities after H are 3/4 and 1/4. For phi=pi, the state is |-> and H maps it to |1>, giving probability one for the second result. Multiplying either input by i changes no outcome. This provides a direct numerical distinction between changing the entire vector and changing one component.

Now let U=-I. On a single isolated state this has only a global effect. Controlled-U, however, maps |+>|0> to (|0>|0>-|1>|0>)/sqrt(2)=|->|0>. Controlled-I leaves |+>|0> unchanged. An X measurement of the control distinguishes them perfectly. Consequently compiler statements that two gates are equivalent up to global phase require care before controlling those gates.

Physical interpretation and limits

Phase is meaningful relative to a reference, basis convention, or another coherent component. Random phase fluctuations across a preparation ensemble can suppress observable interference. A static but unknown phase and an independently fluctuating phase are different statistical models. Physical phase references also matter in quantum communication and metrology; a formal ket alone does not specify how two laboratories align their reference frames.

Common errors

Do not call |+> and |-> the same state because their computational probabilities agree. Do not infer that an unobservable global phase is a hidden measurable number. Do not attach significance to the absolute orientation of a drawn complex-plane arrow without stating a reference. Do not discard phase information before adding amplitudes.

Phase conventions in a closed chain of overlaps

Individual overlap amplitudes depend on how the phases of their kets are chosen. There are combinations in which this freedom cancels. Let |a>=|0>, |b>=|+>, and |c>=(|0>+i|1>)/sqrt(2). The three overlaps are <a|b>=1/sqrt(2), <b|c>=(1+i)/2, and <c|a>=1/sqrt(2). Their cyclic product is B=(1+i)/4. Its magnitude is sqrt(2)/4 and its argument is pi/4.

If each ket is independently multiplied by exp(i alpha), exp(i beta), and exp(i gamma), the three overlaps acquire factors exp(i(beta-alpha)), exp(i(gamma-beta)), and exp(i(alpha-gamma)). Multiplying the factors gives one. Thus B is invariant under all three phase relabelings. This is a useful example of relative phase information encoded without treating any single ket's global phase as observable. The argument of B has meaning only when the product is nonzero; a zero overlap makes its phase undefined.

This calculation by itself is an algebraic statement about three rays. Assigning it to a particular interferometric apparatus requires specifying the physical sequence and reference. One should not infer an automatic measurement procedure from the existence of a phase-invariant expression. A geometric interpretation also needs a stated path and orientation convention; different choices can change signs or describe different accumulated phases.

Energy offsets and an explicitly derived global factor

For a time-independent Hamiltonian H, replacing it by H'=H+cI gives U'(t)=exp[-i(H+cI)t/hbar]. Because H commutes with I, the exponential factors as exp(-ict/hbar) exp(-iHt/hbar). Every state vector therefore gains the same factor, while rho'(t)=U'(t)rho U'(t)-dagger equals rho(t). The energy origin does not change isolated-system transition probabilities.

The statement has a defined scope. If a two-branch controlled interaction adds c only when a control is |1>, the full added Hamiltonian is c|1><1| tensor I, rather than cI on the full composite. It produces a relative control phase. Prepare the control in |+> and any target state rho. The control becomes (|0>+exp(-ict/hbar)|1>)/sqrt(2), while the target remains rho. Its X expectation is cos(ct/hbar), and its Y expectation is -sin(ct/hbar). The phase is visible because the shift was not common to every branch of the total state.

For ct/hbar=pi/2, the control is |-y>, its Y-minus probability is one, and its Z probabilities remain equal. This result does not contradict energy-origin freedom: a conditional energy shift changes an energy difference in the composite system. Treating it as an overall shift would discard precisely the observable relative phase.

Static uncertainty versus fluctuating phase

Let |psi_phi>=(|0>+exp(i phi)|1>)/sqrt(2). If the phase is sampled independently from a distribution p(phi), the ensemble off-diagonal entry is one half times the average of exp(-i phi). This complex average is a characteristic moment of the phase distribution. It is not generally exp(-i average(phi)); averaging and exponentiation do not commute.

For a two-point distribution with phi=+pi/3 or -pi/3, each with probability one half, the average of exp(i phi) is cos(pi/3)=1/2. The ensemble state is (I+X/2)/2, with purity 5/8 and X-plus probability 3/4. Each individual member is pure and has a nonzero Y component of opposite sign; the mixed description follows from ignoring the phase label. A deterministic phase equal to the average zero would instead give |+>, purity one, and X-plus probability one.

If one unknown phase remains constant across many copies, the joint ensemble is an average of tensor powers rho_phi tensor ... tensor rho_phi. Independent fluctuations give a tensor power of the averaged state instead. These two joint states need not agree even if their one-copy reduced states do. Correlated preparation uncertainty therefore matters when interpreting repeated measurements or phase estimation.

The two-copy difference is explicit for the phases ±pi/3. With one common phase, the expectation of Y tensor Y is the average of sin^2(phi), namely 3/4. With independent phases it is the product of two zero averages, hence zero. Both preparations are mixtures of product states, so these correlations do not by themselves establish entanglement.

Sources

  • John Preskill · · Lecture or course notes · preskill.caltech.edu
    Verification scope

    Foundations I: States and Ensembles
    John Preskill · · Lecture or course notes · preskill.caltech.edu

    Citation identity checked ·

    Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.

    Foundations I: States and Ensembles
    John Preskill · · Lecture or course notes · preskill.caltech.edu

    Selected text checked ·

    Full-text PDF available and selected state, convexity, ensemble, and reduced-state sections inspected. This is a pedagogical source, not the original publication of each theorem.

    Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.

  • John Watrous · · Textbook material · cs.uwaterloo.ca
    Verification scope

    The Theory of Quantum Information, Chapter 1: Mathematical preliminaries
    John Watrous · · Textbook material · cs.uwaterloo.ca

    Citation identity checked ·

    Background reference; this record does not claim a full independent peer review of the encyclopedia. Original exposition and newly constructed calculations are not copied from the source.

    The Theory of Quantum Information: Chapter 1, Mathematical preliminaries
    John Watrous · · Manuscript · Author manuscript · cs.uwaterloo.ca

    Selected text checked ·

    Chapter introduction, finite-dimensional linear-algebra definitions and Caratheodory theorem were inspected. The author explicitly describes the chapter as review material, not a primary source for all mathematical results.

    Selected passages and metadata were checked; this does not certify every sentence in the encyclopedia, constitute comprehensive literature review, or establish external peer review. Original worked examples are separately recomputed.