Every lab follows the same loop: predict, run, explain. You make a prediction, run the simulation, and then explain what you saw. The Plotly figures run in your browser, so you can drag the sliders and rotate the 3-D views. Each lab also has a static summary figure. assert cells check the key numbers, so each notebook doubles as a test.
| Lab | Topic | Levels |
|---|---|---|
| 1 · Chance | Repeated trials, the law of large numbers, randomization | 1–2 |
| 2 · Bayes | Base rates, natural frequencies, updating | 1–2 |
| 3 · Causal inference | Confounding, do(·), back-door, front-door, colliders | 2–4 |
| 4 · Interference | Mach–Zehnder, phase, which-path information | 1–5 |
| 5 · Qubits | The Bloch sphere, measurement, mixed states | 5 |
| 6 · Entanglement and Bell | CHSH, Werner states, concurrence | 5–6 |
| 7 · Noise and channels | Kraus operators, Choi matrices, decoherence | 5–6 |
| 8 · Variational circuits | Parameter shift, training, barren plateaus | 7 |
| 9 · Quantum switch | Indefinite causal order | 6 |
| 10 · Classical shadows | Randomized measurement, sample complexity | 7 |
| 11 · Quantum causal inference | Common cause vs cause–effect, causal compatibility | 6–7 |