Quantum phase and interference
The invisible difference that another gate can make visible.
- Distinguish global phase from relative phase.
- Derive the output of an H–phase–H circuit.
Global phase changes no prediction
Section titled “Global phase changes no prediction”Multiplying an entire state by does not change measurement probabilities. For any measurement vector ,
Relative phase is different. Multiplying just one component changes its relationship with the others.
Work the circuit through
Section titled “Work the circuit through”Prepare , apply H, then , then H again:
The final probabilities are
Before the second H, the Z probabilities are always 50/50. The final H recombines amplitudes and exposes the phase difference.
Superposition & interference
The two Hadamard gates recombine amplitudes. A relative phase between them changes the result even though the intermediate Z-basis probabilities stay at 50/50.
Make a prediction first
H then H returns 0. What do you expect if a Z gate is placed between them?
Exact ideal-model predictions · run a measurement experiment to compare.
Take it further
Set the phase to 180°. Explain why the final probability of 1 becomes 100%.
Prediction: H then H returns 0. What do you expect if a Z gate is placed between them? Challenge: Set the phase to 180°. Explain why the final probability of 1 becomes 100%.
Three checks
Section titled “Three checks”- At 0°, the amplitudes for 1 cancel; the result is 0.
- At 180°, the amplitudes for 0 cancel; the result is 1.
- At 90°, the output probabilities are equal.
Challenge: explain why applying a global minus sign at the middle of the circuit cannot replace the Z gate. Z changes the relative sign; a global minus multiplies both amplitudes.
Reference: IBM Quantum — Single systems.
Ready for the next step?
Your progress stays in this browser.