Quantum Error Correction and Fault-Tolerant Quantum Computing
Why and how quantum information is protected, from the repetition code to surface and Floquet codes, decoders, thresholds and the cost of a fault-tolerant computer.
Read every lesson without an account. Sign in with GitHub to enroll, take graded quizzes and keep your progress.
About this learning path
A practical, research-grade path through quantum error correction. The introduction explains why errors can be corrected at all, works through the repetition code and introduces the stabilizer formalism. The course then builds the surface code, simulates syndrome extraction with Stim, decodes with minimum-weight perfect matching in PyMatching, measures logical error rates and thresholds with confidence intervals, introduces Floquet codes and fault-tolerant logic, estimates resources, and ends with a capstone: implement and benchmark a decoder and publish a reproducible technical report.
Every result in this course is either one you compute yourself, locally, from a stated noise model and seed, or a cited published result labelled as such.
Curriculum
Module 1
Why error correction works
Errors, redundancy and the stabilizer language.
- Why quantum error correction works
Errors, redundancy, no-cloning, and the discretisation of errors.
45 min · quiz (8 questions) · 1 exercise
- The repetition code
Bit-flip and phase-flip codes, syndromes, decoding and logical error rates.
55 min · quiz (7 questions) · 1 exercise
- The stabilizer formalism
Pauli groups, stabilizer codes, logical operators, distance and syndromes.
1 h · quiz (7 questions) · 1 exercise
Module 2
The surface code in practice
From the code's definition to simulated memory experiments, decoding and thresholds.
- The surface code
The rotated surface code, its stabilizers, logical operators and distance.
1 h 10 min · quiz (7 questions) · 1 exercise
- Syndrome extraction with Stim
Measurement circuits, circuit-level noise models and detector error models in Stim.
1 h 20 min · quiz (8 questions) · 2 exercises
- Minimum-weight perfect matching decoding
Matching graphs, MWPM decoding with PyMatching and decoder performance.
1 h 20 min · quiz (7 questions) · 1 exercise
- Logical error rates and thresholds
Estimating logical error rates with uncertainty, threshold crossings and finite-size effects.
1 h 20 min · quiz (8 questions) · 1 exercise
Module 3
Beyond memory
Dynamic codes, fault-tolerant logic and the cost of a useful computation.
- Floquet codes
Dynamically generated codes, the honeycomb code and measurement schedules.
2 h · quiz (7 questions) · 1 exercise
- Fault-tolerant quantum computing
Transversal gates, lattice surgery, magic states and distillation.
2 h · quiz (8 questions) · 1 exercise
- Resource estimation for fault-tolerant computers
Code distance, space-time volume, factories and run time for a target computation.
2 h · quiz (7 questions) · 1 exercise
Module 4
Capstone
Implement and benchmark a quantum error decoder and write a reproducible report.
- Capstone: implement and benchmark a decoder
Build an error model, generate syndromes, decode, measure logical error rates and publish a reproducible report.
4 h · quiz (7 questions) · 1 exercise