Enter the Quantum World
Page 02 argued that nature keeps an exponentially large state for interacting quantum systems and that a computer built from the same rules might exploit it. Before page 04 turns that into gates and circuits, you need the rules themselves. This page covers the handful of physical facts that the whole field rests on, each as a small calculation rather than a metaphor, and ends with the physical systems people actually build qubits from.
Superposition means amplitudes, not "both at once"
A classical bit is 0 or 1. A probabilistic bit (page 01) is a vector (p₀, p₁) with non-negative entries summing to 1. A qubit is a vector of two complex numbers:
The popular gloss, "the qubit is 0 and 1 at the same time", is misleading in a specific way: it suggests the qubit secretly holds both answers and you just have to look. It doesn't. The state |ψ⟩ is the complete description. When you measure, you get one bit, and the amplitudes only set the odds. What makes this different from a coin flip you haven't looked at yet is that α and β carry a sign and phase, and those phases can be made to add or cancel before you look.
Two details matter later. First, the global phase is unobservable: |ψ⟩ and e^{iγ}|ψ⟩ give identical statistics for every experiment, so you can always take α real and non-negative. Second, the relative phase between α and β is physical. The states
both give 0 or 1 with probability ½ if you measure directly, yet they are perfectly distinguishable by a different measurement, because they are orthogonal: ⟨+|−⟩ = 0. A probability vector cannot express this difference; an amplitude vector can. Every qubit state fits on the Bloch sphere, |ψ⟩ = cos(θ/2)|0⟩ + e^{iφ} sin(θ/2)|1⟩, where θ sets the measurement odds and φ is exactly that relative phase.
Same story for n qubits: |ψ⟩ = Σ_x a_x |x⟩ over all x ∈ {0,1}ⁿ, with 2ⁿ complex amplitudes and Σ|a_x|² = 1. That 2ⁿ is the exponential state space page 02 talked about. Whether it buys you anything depends entirely on the next section.
Interference: a two-amplitude calculation
The cleanest experiment in quantum mechanics is the Mach–Zehnder interferometer. A single photon hits a 50/50 beam splitter, travels one of two paths, the paths are recombined at a second beam splitter, and two detectors D0 and D1 wait at the outputs. One arm has an adjustable phase shift φ (a sliver of glass that lengthens the path).
Write the photon's state as two amplitudes, one per path, and model each beam splitter as the 2×2 unitary B = (1/√2)[[1, 1], [1, −1]] (one common convention; any 50/50 unitary gives the same physics). The photon enters in path a:
At φ = 0 every photon lands in D0, and D1 never clicks. Now redo it with classical probability: each splitter is a fair coin, so the photon reaches D1 with probability ½ no matter what. The quantum answer differs because the two routes to D1 carry amplitudes +½ and −½, and amplitudes add before squaring. That is destructive interference, and it is the only mechanism by which a quantum algorithm beats a classical one: arrange the computation so that paths to wrong answers cancel and paths to right answers reinforce.
Block path b and the cancellation disappears: half the photons are absorbed, and of the survivors, half go to D1. Removing a possible route increases the rate at a detector. No story about the photon "really" taking one path survives that. Page 04 will notice that B is exactly the Hadamard gate H, and that this experiment is H, a phase, then H.
Measurement and the Born rule
Measuring n qubits in the computational basis returns a single bitstring x with probability
and afterwards the state is |x⟩; the other amplitudes are gone. Three engineering consequences follow.
One sample per run. A 50-qubit state has about 10¹⁵ amplitudes, but a run hands you 50 bits. Estimating a single probability to precision ε takes on the order of 1/ε² repetitions. You cannot "read out the superposition"; page 04 makes this exact with the Holevo bound.
The basis is a choice. Measuring |+⟩ in the {|0⟩, |1⟩} basis gives a coin flip; applying H first and then measuring gives 0 every time. Measuring "in another basis" is just a unitary followed by the standard measurement, which is why hardware only ever needs to implement the one.
Measurement is irreversible and destructive. Everything else in the model is a unitary (reversible) operation. Measurement is the one step that discards information, which is why algorithms delay it to the very end, and why error correction (page 06) measures carefully chosen parities of qubits rather than the qubits themselves.
The physics community still argues about what measurement is (collapse, many worlds, decoherence-plus-something). None of that changes a single prediction, and none of it matters for building or programming a quantum computer. Use the Born rule and move on.
Entanglement, and why it doesn't send messages
Two qubits have four amplitudes. Some states factor into "qubit A's state ⊗ qubit B's state"; most don't. The canonical non-factorable state is a Bell state:
Measure both qubits and you get 00 or 11, each with probability ½, never 01 or 10. Perfect correlation alone is unremarkable: two sealed envelopes holding matching cards do that. The surprise is that the correlation survives a change of basis. If both sides measure along the same angle (in the convention of exercise 2) they still always agree, and for angles Δθ apart the agreement rate is cos²(Δθ). In 1964 John Bell showed that no model in which each qubit carries pre-assigned answers (local hidden variables) can reproduce those statistics. In the CHSH form of his inequality, a combination S of four correlations obeys |S| ≤ 2 classically, while the Bell state reaches 2√2 ≈ 2.83.
This is settled experimentally. In 2015 a Delft group closed the main loopholes simultaneously, with entangled electron spins 1.3 km apart, and the 2022 Nobel Prize in Physics went to Aspect, Clauser and Zeilinger for this line of experiments.
So can Alice signal Bob by choosing what to measure? No, and the reason is a one-line calculation. Whatever Alice does, Bob's qubit alone gives 0 or 1 with probability ½ each. (Formally, Bob's reduced state is I/2 regardless of Alice's actions.) The correlation shows up only when the two lists of results are put side by side, and getting Alice's list to Bob takes an ordinary classical channel. Entanglement is a shared resource, not a wire. Protocols that use it, such as teleportation, always consume classical bits too.
For computation, entanglement is necessary but not sufficient. A quantum computation that never creates much entanglement can be simulated efficiently with tensor networks, so it's a precondition for advantage. But page 04 will show that some highly entangling circuits (Clifford circuits) are still easy for classical machines. Entanglement is the price of entry, not the source of speedup by itself.
No-cloning
Suppose some unitary U copies any state into a blank register: U|ψ⟩|0⟩ = |ψ⟩|ψ⟩ for all ψ. Take two states ψ and φ and compare inner products before and after. Unitaries preserve inner products, so
which forces ⟨φ|ψ⟩ to be 0 or 1. You can clone states from a known orthogonal set (that's just copying classical bits), but no device clones an unknown state. This is the Wootters–Zurek no-cloning theorem (1982), and it is pure linear algebra.
The engineering consequences are blunt. There is no backup copy of a qubit, no "read it a few times and vote", no signal amplifier for quantum data, and no checkpoint-and-restart mid-computation. Classical fault tolerance leans on all of those. Quantum error correction has to protect information it is not allowed to look at or copy, which is why it spreads one logical qubit across many physical ones and measures only collective parities. Page 06 is about the cost of that workaround. No-cloning is also what makes quantum key distribution work: an eavesdropper can't copy the qubits in flight without disturbing them.
Decoherence: the environment is always measuring
A qubit is a physical thing, and it touches its surroundings: stray photons, phonons, fluctuating charges, magnetic noise. Each interaction slightly entangles the qubit with the environment:
If the environment states |E₀⟩ and |E₁⟩ are different, the environment now holds partial "which-path" information. Any later interference between the |0⟩ and |1⟩ branches is scaled by the overlap ⟨E₀|E₁⟩, and as that overlap decays toward 0 the interference fringes in the Mach–Zehnder calculation flatten out. The qubit behaves like a classical coin: probability |α|² for 0, |β|² for 1, and no phase left to exploit.
The density-matrix view makes this concrete. Write the state as ρ = |ψ⟩⟨ψ|. Its diagonal entries are the measurement probabilities; its off-diagonal entries ("coherences") hold the relative phases. Decoherence shrinks the off-diagonals and leaves the diagonal alone. When they reach zero, what remains is exactly page 01's probability vector. Decoherence is the continuous drift from quantum computation back to probabilistic computation. It also explains why the everyday world looks classical: big objects decohere almost instantly.
Hardware people summarise this with two timescales, T1 (energy relaxation, |1⟩ decaying to |0⟩) and T2 (loss of phase coherence). Gate errors add to the damage, and so do imperfect control pulses. Page 06 treats these as error rates and shows how error correction fights them. The design target is simple to state: run many gates well inside the coherence time, and correct what slips through.
What qubits are actually made of
Any well-isolated two-level quantum system can be a qubit. The difficulty is getting three things together: long coherence (isolation), fast high-fidelity gates (strong control), and many qubits wired together (scale). Strong control and isolation pull against each other, and each modality picks a different compromise. The table is qualitative on purpose; record numbers change monthly and live on pages 07 and 08.
| Modality | The qubit is | Strength | Catch |
|---|---|---|---|
| Superconducting (transmons) | A microwave circuit with Josephson junctions on a chip at ~10 mK | Fast gates (tens of ns), lithographic fabrication, most mature QEC demos | Short coherence, nearest-neighbour wiring, dilution fridges and per-qubit control lines |
| Trapped ions | Internal levels of a single ion held by electric fields in vacuum | Best gate fidelities, long coherence, effectively all-to-all connectivity within a trap | Slow gates (microseconds and up); scaling needs ion shuttling or photonic links |
| Neutral atoms | Atoms held in optical tweezers, entangled via Rydberg states | Hundreds to thousands of identical qubits; atoms can be physically moved to change connectivity | Slow cycle times, atom loss, laser control complexity |
| Photonic | A single photon's polarisation, path or time bin | Little decoherence in flight, chip-scale manufacturing, natural for networking | Photon loss; photons don't interact, so entangling gates are probabilistic and need measurement-based schemes |
| Spins in silicon | An electron or nuclear spin in a quantum dot or donor atom | Tiny footprint, compatible with CMOS fabs, can run warmer than transmons | Device-to-device variability, crowded control wiring, fewer large demos so far |
| Topological | A qubit stored non-locally in Majorana zero modes of a nanowire device | Hardware-level protection against local noise, in principle | Whether the claimed devices are topological qubits at all is contested company claim |
Two patterns are worth noticing. Fast modalities (superconducting, spins) tend to have local connectivity and need many physical qubits per logical one. Slow modalities (ions, atoms) offer flexible connectivity, which suits the denser codes discussed on page 06, but they pay in wall-clock time. No modality has won. That's why page 07 is organised by modality, and why "how many qubits" is a poor question without "how good, how connected, how fast".
Sources and further reading, verified
- On the Einstein Podolsky Rosen paradox — J. S. Bell (1964) · the original proof that no local hidden-variable model matches quantum correlations.
- Experimental loophole-free violation of a Bell inequality using entangled electron spins separated by 1.3 km — Hensen et al. (2015) · the experiment that closed the main loopholes together.
- The Nobel Prize in Physics 2022, press release — Royal Swedish Academy of Sciences (2022) · readable account of the entanglement experiments by Aspect, Clauser and Zeilinger.
- A single quantum cannot be cloned — W. K. Wootters and W. H. Zurek (1982) · the no-cloning theorem, one page long.
- Decoherence, einselection, and the quantum origins of the classical — W. H. Zurek (2001) · the standard review of how the environment turns amplitudes into probabilities.
- Physics 219/Computer Science 219: Quantum Computation, lecture notes — J. Preskill (Caltech) · free, rigorous notes; chapters 2–4 cover states, measurement, entanglement and decoherence.
- A Quantum Engineer's Guide to Superconducting Qubits — Krantz et al. (2019) · transmons, control, readout and noise from an engineering angle.
- Trapped-Ion Quantum Computing: Progress and Challenges — Bruzewicz et al. (2019) · the ion modality's trade-offs.
- Quantum computing with neutral atoms — Henriet et al. (2020) · tweezers, Rydberg gates and reconfigurable arrays.
- Photonic quantum information processing: a concise review — Slussarenko and Pryde (2019) · why photons are easy to keep coherent and hard to make interact.
- Semiconductor Spin Qubits — Burkard et al. (2021) · spin qubits in silicon and germanium, and the CMOS argument.
- Microsoft's topological quantum computing claims once again in question — Hackaday (2026) · state of the dispute over the Majorana devices.
Check yourself
- Interferometer in numpy code — Represent the photon as a length-2 complex vector, B as the 2×2 matrix above and the phase as diag(1, e^{iφ}). Sweep φ from 0 to 2π and plot P(D0), P(D1); confirm cos²(φ/2). Then model a blocked arm (zero the path-b amplitude after BS1) and show P(D1) rises from 0 to ¼ at φ = 0. Finally, replace amplitudes with probabilities and stochastic matrices (page 01) and show that the fringes vanish. A good answer is three short plots and one sentence on why amplitudes add before squaring.
- CHSH from scratch code — Build |Φ⁺⟩ as a 4-vector. For a measurement at angle θ use the observable cos(2θ)Z + sin(2θ)X. Compute the correlation E(a,b) = ⟨Φ⁺|A⊗B|Φ⁺⟩ for Alice's angles {0, π/4} and Bob's {π/8, −π/8}, combine them as S = E(a,b) + E(a,b′) + E(a′,b) − E(a′,b′), and get 2√2. Then show that Bob's marginal probability of outcome 0 is ½ for every choice of Alice's angle: no signalling.
- Why CNOT isn't a cloner — CNOT copies |0⟩ and |1⟩ into a blank target: |x⟩|0⟩ → |x⟩|x⟩. Apply it to |+⟩|0⟩ by hand. Show the output is |Φ⁺⟩, not |+⟩|+⟩, and compute the overlap between the two (it is 1/√2). A good answer connects this to the inner-product proof above.
- Decoherence as lost visibility — In the interferometer, let the photon's path become entangled with a stray environment so that the two arms leave it in states with overlap ⟨E₀|E₁⟩ = c, real. Show P(D0) = (1 + c·cos φ)/2. What are the fringe visibility at c = 1, 0.5 and 0? A good answer explains why c = 0 is exactly the classical coin model.