Chapter 2
Superposition
Coherence, relative phase, and interference
Explain superposition as a coherent linear combination and show why phase affects later operations.
Show how phase makes a quantum state more than a list of outcome probabilities.
Learning objectives
- Separate coherent superposition from ordinary classical uncertainty.
- Explain why |+> and |-> have the same Z-basis probabilities but different future behavior.
- Track a simple Hadamard evolution to see constructive and destructive interference.
In this lesson
Learning objectives
- Define superposition as a coherent linear combination of basis states.
- Separate coherent superposition from classical uncertainty.
- Use |+⟩, |−⟩, and the Hadamard gate to track phase-sensitive evolution.
- Explain interference as addition and cancellation of amplitudes.
A scene about paths
Alice returns to the observatory and finds two corridors marked 0 and 1. The guide refuses the easy story that she walks down both corridors as a tiny classical person. Instead, the corridor labels are basis labels. The quantum state can assign amplitudes to both labels, and later operations can make those amplitudes reinforce or cancel.
The analogy ends there. A superposition is not a split traveler. It is a linear combination in a vector space.
Superposition as a linear combination
In Chapter 1, we wrote a pure qubit as
When both amplitudes are nonzero in the chosen basis, we often say the state is in a superposition of those basis states. The word "superposition" does not add a new kind of object; it names the linear structure already present in the state vector model.
Two important equal superpositions are
Both give (P(0)=P(1)=1/2) when measured in the computational basis. Yet they are not the same state. The minus sign is a relative phase, and later operations can convert that phase difference into different measurement outcomes.
The identical bars do not mean the states are physically identical; this measurement basis does not reveal their relative phase.
Why superposition is not ordinary uncertainty
A classical mixture could describe a preparation that produces ( |0\rangle ) half the time and ( |1\rangle ) half the time, with us not knowing which was prepared. That mixture also gives 50/50 computational-basis results. But it lacks a coherent relative phase between basis components.
A coherent superposition such as ( |+\rangle ) has phase relations that gates can use. If we only look at computational-basis probabilities, the distinction is hidden. If we apply another operation first, the distinction can become visible.
Classical mixture
- Preparation is |0⟩ or |1⟩ with classical randomness.
- No stable relative phase connects the alternatives.
- Later interference is absent in the single-qubit model.
Coherent superposition
- One pure state has amplitudes on both basis vectors.
- Relative phase is part of the state.
- Later gates can reveal the phase through interference.
Density matrices give the formal distinction, but the operational difference already appears when we insert gates before measurement.
Checkpoint
Relative phase
Relative phase is the phase difference between components of a state. In ( |+\rangle ), the coefficients of ( |0\rangle ) and ( |1\rangle ) have the same phase. In ( |-\rangle ), the ( |1\rangle ) component differs by a phase of ( \pi ), represented here by a minus sign.
Global phase is different. Multiplying every amplitude by (-1) gives (-|+\rangle), which has the same physical predictions as ( |+\rangle ). Changing only one component, as in ( |+\rangle ) versus ( |-\rangle ), changes the relative phase and can matter.
The Hadamard gate
The Hadamard gate connects computational-basis states with the ( |+\rangle, |-\rangle ) basis:
It also reverses those relationships:
These equations show why phase is not decorative. The two states ( |+\rangle ) and ( |-\rangle ) have the same computational-basis probabilities before the final H, but after H one becomes ( |0\rangle ) and the other becomes ( |1\rangle ).
- 1
Start in |0⟩.
- 2
Apply H to obtain |+⟩.
- 3
Apply H again; amplitudes interfere to recover |0⟩.
The second H does not randomly choose an outcome. It recombines amplitudes so that the |1⟩ amplitude cancels.
Relative phase and Hadamard explorer
Computational-basis probabilities
After applying H
Interference
Interference is the addition of amplitudes before probabilities are computed. Consider starting in ( |0\rangle ), applying H, and then applying H again:
The ( |1\rangle ) paths cancel because one contribution is positive and the other is negative. This is destructive interference. The ( |0\rangle ) contributions add constructively.
If the middle state were ( |-\rangle ), the second H would produce ( |1\rangle ). The same visible probabilities before the second H lead to different final outcomes because the amplitudes carry phase.
Check your understanding
Check your understanding
Summary
Summary
- A superposition is a coherent linear combination of basis states.
- ( |+\rangle ) and ( |-\rangle ) have identical computational-basis probabilities but different relative phase.
- A classical mixture can mimic one measurement distribution without having coherent phase.
- The Hadamard gate creates and resolves equal superpositions.
- Interference occurs when amplitudes add or cancel before probabilities are calculated.
References and further study
- Michael A. Nielsen and Isaac L. Chuang, Quantum Computation and Quantum Information.
- John Preskill, Lecture Notes for Physics 229: Quantum Information and Computation.
- Qiskit Textbook, sections on single-qubit gates and interference.
Chapter exercises
Practice the ideas from this chapter with short interactive exercises.
Check your understanding
Coherent superposition
Distinguish superposition from classical uncertainty.
Two corridors, one state
The forest presents two paths labeled 0 and 1. The guide refuses the picture of a tiny traveler walking both routes at once.
"The labels are basis labels," she says. "The quantum state assigns amplitudes to both. That is superposition — a linear combination in a vector space, not classical indecision."
Superposition as a linear combination
Any pure qubit can be written:
When both amplitudes are nonzero, the state is in a superposition of and . The word names the linear structure already present in the state-vector model — it does not add a new kind of object.
Equal superpositions include:
Equal probabilities, different structure
Both and give in the computational basis. Yet they are different states because the relative sign between amplitudes differs. This distinction is hidden until an operation sensitive to phase — such as a Hadamard — is applied.
Paths align in phase
The forest paths shimmer together — not as two classical routes you forgot, but as one coherent state whose amplitudes may reinforce or cancel later.
Interactive example
Relative phase
Explore how relative phase affects interference.
Twin reflections
The Phase Mirror shows two states with identical computational-basis probabilities — fifty-fifty for 0 and 1 — yet different futures after a Hadamard gate.
"Probabilities alone do not tell the whole story," the guide whispers. "Look at the relative phase between amplitudes."
|+⟩ versus |−⟩
Both satisfy when measured in the computational basis. The minus sign in is a relative phase of between the component and the component.
The Hadamard gate reveals this difference:
The mirror clears
You adjusted the explorer until was prepared and confirmed . The mirror no longer treats the two reflections as interchangeable.
Guided exercise
Hadamard transformation
Connect computational and X-basis states via H.
The crossing of amplitudes
At Hadamard Crossing, paths recombine. The guide writes the gate action on a mossy stone:
"Phase decides whether amplitudes add or cancel when they meet again," she says.
Hadamard action and reverse mapping
The Hadamard gate is its own inverse (up to global phase) and maps between computational and X-basis states:
Applying twice to returns because the intermediate amplitudes interfere constructively on and destructively on :
Interference in one line
Interference is amplitude addition before probabilities are computed. Constructive interference increases a path's amplitude; destructive interference can reduce it to zero — as when twice on cancels the component.
You cross with control
You predict Hadamard outcomes without treating the gate as a random coin flip. The crossing opens toward the twin-state trial ahead.
Chapter review
Chapter 2 review
Combine superposition, phase, Hadamard, and interference.
Mirrored states diverge
Twin platforms hold two preparations that look identical under computational-basis statistics — both fifty-fifty — yet evolve differently under the Hadamard gate.
"Track both states through phase and interference," the forest warden demands. "The measurement realm will not forgive sloppy superposition reasoning."
Boss synthesis — superposition forest
Review the operational chain:
- Superposition: with coherent relative phase.
- Equal Z probabilities: and both give 50/50 but differ by a sign.
- Hadamard: , .
- Interference: because amplitudes recombine with phase.
Twin symmetry broken
You traced both twins through Hadamard evolution. The forest acknowledges your phase navigation — the Born Gate of the measurement realm glows on the horizon.
Chapter completion
Exercises completed: 0/4
Next: Chapter 3