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 planeFirst 0.500Second 0.250 + 0.433iSum 0.750 + 0.433i
Prepare & recombine
Hadamard adds the input amplitudes for |0⟩ and subtracts them for |1⟩.
Mathematical foundation
Prepare |+⟩ and rotate the phase of |1⟩ by φ. Hadamard adds the input amplitudes for output zero and subtracts them for output one.
Multiply each coefficient by its conjugate. The results are complementary and depend on the cosine of the relative phase.
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.
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 controlsCompare with the expected result
At φ = 180° the output-zero amplitude cancels. Removing recombination makes the phase invisible in the computational-basis probabilities.
Understanding check
Next steps
Want to keep your results? Start your learning journey
Open Interference Studio