Phases as Unit Complex Numbers
In quantum mechanics every amplitude is a complex number, but two amplitudes that differ only by a global phase are physically indistinguishable. What distinguishes them is the relative phase between components of a state. To handle phases cleanly it helps to think of them as points on the unit circle in the complex plane.
The unit circle and Euler's formula
A complex number lies on the unit circle when its modulus equals one: . Every such point can be written
where is the argument (angle measured counter-clockwise from the positive real axis). This identity is Euler's formula, and it is the starting point for almost all phase arithmetic in quantum theory.
A few landmarks on the unit circle are worth memorising:
| | | |---|---| | | | | | | | | | | | | | | (one full turn) |
Each entry follows directly from and at the corresponding angle.
Phases in quantum states
A single-qubit state is written with . Because and are fixed by the probabilities, the remaining freedom lies entirely in the arguments of and . A common parametrisation writes
where is the relative phase. The factor is a unit complex number: it does not change any probability, but it controls how two such states interfere when combined. Interference is the engine behind quantum speedups, so the precise value of matters enormously.
Multiplying phases
Because for all real , the product of any two unit complex numbers is again a unit complex number:
Applying two phase shifts in sequence is therefore equivalent to adding their angles. This simple addition rule is what makes the Bloch-sphere picture work. The cleanest way to inject a relative phase is the phase gate , which leaves the amplitude of untouched and multiplies the amplitude of by , shifting the relative phase by exactly . The closely related -rotation gate spreads the same relative phase symmetrically across the two components; it agrees with up to an overall global phase , which (being global) is physically irrelevant.
Try it
This is a numerical exercise — your code should return a number. Compute the real part of the
unit complex number (the phase corresponding to an angle of ).
Sign in on the full site to ask questions and join the discussion.