Quantum states & measurement

Phase and interference

Turn a relative phase into a directly observable probability difference.

18 minFoundations

Intuition

A common phase multiplies the entire state by the same complex unit. Squared magnitudes are unchanged, and every subsequent linear gate carries that same factor through.

Relative phase changes the relationship between basis amplitudes. A gate that adds and subtracts these amplitudes makes the relationship visible in measurement statistics.

Learning objectives

  • Distinguish global and relative phase
  • Derive output probabilities after a Hadamard
  • Identify destructive interference

Interactive exploration

Use the controls to change the state and see its calculated readout. You can return to this experiment as you work through the derivation.

Amplitude at |0⟩

Complex plane
ReIm

First 0.500Second 0.250 + 0.433iSum 0.750 + 0.433i

Prepare & recombine

90°
60°

Hadamard adds the input amplitudes for |0⟩ and subtracts them for |1⟩.

BasisAmplitudeProbability
|0⟩0.750 + 0.433i75%
|1⟩0.250 − 0.433i25%

Mathematical foundation

Prepare |+⟩ and rotate the phase of |1⟩ by φ. Hadamard adds the input amplitudes for output zero and subtracts them for output one.

H∣0⟩+eiϕ∣1⟩2=1+eiϕ2∣0⟩+1−eiϕ2∣1⟩H\frac{|0\rangle+e^{i\phi}|1\rangle}{\sqrt2}=\frac{1+e^{i\phi}}2|0\rangle+\frac{1-e^{i\phi}}2|1\rangle

Multiply each coefficient by its conjugate. The results are complementary and depend on the cosine of the relative phase.

P(0)=1+cos⁡ϕ2,P(1)=1−cos⁡ϕ2P(0)=\tfrac{1+\cos\phi}{2},\qquad P(1)=\tfrac{1-\cos\phi}{2}

Worked example

At 120°, the cosine is −1/2, making P(0) one quarter and P(1) three quarters. Before the final Hadamard, the measurement probabilities are both one half for every phase.

P(0)=1−1/22=14P(0)=\tfrac{1-1/2}{2}=\tfrac14

Guided experiment

At θ = 90°, find the phase that sends every shot to output one. Disable the final Hadamard and observe the same input phase.

Go to the controls
Compare with the expected result

At φ = 180° the output-zero amplitude cancels. Removing recombination makes the phase invisible in the computational-basis probabilities.

Understanding check

1. Which changes can alter output probabilities after interference?
2. At φ = 60° and θ = 90°, what is P(0) after H?

Next steps

Want to keep your results? Start your learning journey

Open Interference Studio