Chapter 0
Introduction: How to Read This Book
A field manual for unlearning, relearning, and finally learning quantum mechanics — with a keyboard under your fingers.
Quantum mechanics is usually taught twice, badly. The first time, you meet it as a historical costume drama — blackbody radiation, Bohr orbits, half-truths that must later be unlearned. The second time, in graduate school, it arrives as an avalanche of formalism in which the physics drowns. Most of us emerge able to calculate but not to see, or able to talk but not to compute.
This book is a third path, distilled from seven canonical texts. From Feynman it takes the storyline: start with the one experiment that contains the whole mystery, and let two-state systems carry the weight. From Sakurai and Susskind it takes the modern entry point: spins and qubits first, bra-ket language from page one, no detour through wave-mechanics nostalgia. From Cohen-Tannoudji it takes the standard of rigor: when we derive something, we derive all of it. And from Ballentine it takes the modern development: probability treated honestly, measurement treated carefully, and the frontier — Bell tests, quantum information — treated as physics, not philosophy.
What none of those books could do in print is what this one is built for: every concept here is something you can poke. The experiments run live in your browser, and the numbers behind them come from programs you can read, run, and break — written in Rust.
0.2The FCP method
F · FormalismC · ConceptsP · PracticeEach chapter interleaves three layers. They are color-coded throughout the book, and a full pass through a chapter touches all three:
Formalism. The mathematics, stated precisely and derived completely. If an equation appears, the path to it appears too. This is the Cohen-Tannoudji layer: no shortcuts, because shortcuts are where confusion hides.
Concepts. The same physics as a live, interactive system: simulations with sliders, animated experiments, geometry you can rotate. Your visual intuition is a computational device — this layer trains it.
Practice. A Rust lab per chapter. You implement the physics numerically, generate synthetic experimental data — photon counts, spectra, correlation records — and check them against theory. The browser charts in each chapter are drawn from data these very labs produced.
The order within each chapter varies, but the contract does not: nothing is asserted that is not derived; nothing is derived that is not visualized; nothing is visualized that you cannot compute yourself.
0.3The map of the territory
C · ConceptsThe book has four parts, and the route is logical rather than historical:
Part I earns the formalism: two experiments — the double slit and Stern–Gerlach — whose results are impossible classically, force complex amplitudes and state vectors on us. Only then do we build the machinery and state the postulates. Part II sets states in motion, from the ammonia maser to wave packets, the harmonic oscillator, and Feynman's sum over histories. Part III is the physics of structure: rotations, the hydrogen atom, perturbation theory, scattering. Part IV reaches the modern frontier: many identical particles, quantum matter, quantum light, and the entanglement experiments that settled the Einstein–Bohr debate.
0.4What mathematics you need
F · FormalismHonest prerequisites: calculus, linear algebra, and complex numbers. Everything else is built on the way. The single most important object in this entire book is embarrassingly small — a complex number attached to a possibility,
called a probability amplitude. Quantum mechanics is, mathematically, the discovery that nature computes probabilities as
— squaring after summing over indistinguishable alternatives — rather than the classical . The cross terms in that square are interference, and interference is the engine of every phenomenon in this book, from atomic spectra to superconductivity. If you internalize equation (0.1), Chapter 1 will feel like watching it happen.
0.5Why Rust, and the toolchain
P · PracticePhysics codes live or die by two things: numerical correctness and speed. Rust gives both, plus something pedagogically precious — the compiler forces you to say exactly what you mean. Dimensional slips, aliasing bugs, and accidental copies that silently corrupt a Python simulation simply do not compile here. The crates we use:
num-complex— complex arithmetic, the native language of amplitudesnalgebra— vectors, matrices, operatorsrand+rand_distr— Monte Carlo sampling: our synthetic experimentsrustfft— split-operator evolution of wave packets (Part II)plotters— native charts straight from the simulationserde/csv— data exchange with this web book's Nivo charts
Install Rust once with rustup, then every lab is cargo run --release inside Rust-QP/<chapter-lab>/. Here is the spirit of the whole enterprise in fifteen lines:
1// Your first quantum computation: a state is a complex vector,2// a measurement is a projection, a probability is a squared length.3use num_complex::Complex64;45fn main() {6 let inv_sqrt2 = 1.0 / 2.0_f64.sqrt();7 // |+> = (|0> + |1>) / sqrt(2) — an equal superposition8 let psi = [9 Complex64::new(inv_sqrt2, 0.0),10 Complex64::new(inv_sqrt2, 0.0),11 ];12 // Born rule: P(0) = |<0|psi>|^213 let p0 = psi[0].norm_sqr();14 let p1 = psi[1].norm_sqr();15 println!("P(0) = {p0:.3}, P(1) = {p1:.3}"); // 0.500, 0.50016}
Five works — seven volumes, counting Cohen-Tannoudji's three — stand behind every chapter; each chapter's Sources line names the ones it leans on, so you can go deeper at any point.
| Book | What we take from it |
|---|---|
| Feynman, Lectures III | The storyline: amplitudes first, the two-slit mystery, two-state systems everywhere |
| Sakurai, Modern QM | Stern–Gerlach as the founding experiment; symmetry as the organizing principle |
| Susskind, Theoretical Minimum | The qubit-first on-ramp; entanglement as the essential fact |
| Cohen-Tannoudji I–III | The rigor layer, from Hilbert space to second quantization and QED |
| Ballentine, A Modern Development | Probability foundations, measurement theory, Bell, quantum information |
One warning inherited from all of them, especially Feynman and Susskind: do not ask “but what is it really doing?” expecting a classical answer. The honest answer — the one this book equips you to own rather than merely repeat — is that nature runs on amplitudes. Our job is to learn that language well enough to calculate, predict, visualize, and build.
The bridge → Chapter 1: The Only Mystery
Where you stand. You know the method (FCP), the toolchain (Rust + this site), and the map: four parts, from the quantum break to the modern frontier.
The open question. Every deep theory begins with one fact that refuses to fit. What is the single experimental result that no classical story — particle or wave — can survive?
What comes next. One apparatus, run three times: bullets, water waves, electrons. The third run breaks classical physics in front of you, and the repair — complex probability amplitudes — is the seed from which every chapter of this book grows.