Overview
Curated: · Written: · Reviewed:
Quantum Error Correction, Noise & Decoherence
In one line
A logical qubit is information encoded across many physical qubits so that repeated syndrome measurements reveal errors without reading the encoded state. Reach for it when a computation must run longer than the physical coherence time allows.
Key definitions
- T1: energy relaxation (amplitude damping) at rate 1/T1; a qubit left idle drifts toward |0>.
- T2 / T2*: dephasing. T2 ≤ 2·T1 always. T2* is the Ramsey value; T2_echo is the Hahn echo value, which refocuses quasi-static noise. Never compare them as one number.
- Stabilizer: a commuting Pauli operator with eigenvalue +1 on the code space. Its measured flip is one syndrome bit.
- Distance d: weight of the lowest-weight nontrivial logical operator. Corrects t = floor((d−1)/2) arbitrary errors.
- Pauli frame: a classical record of corrections, tracked in software instead of applied on hardware.
- Pseudothreshold vs threshold: the first is a crossover for one code, decoder and device; the second is an asymptotic property of a scheme under an assumed noise model.
Formulas and complexity
Stochastic: total error probability grows as n·p. Coherent: n gates of angle θ combine to rotation nθ, so the error is about sin²(nθ/2), which grows as n². Google 2024 surface-code result: Λ ≈ 2.14 and about 0.143% logical error per cycle at d = 7. Threshold near 1% physical error.
How it works
- Encode the logical state into a code subspace with an isometry.
- Each cycle, ancillas measure every X-type and Z-type stabilizer.
- A flipped syndrome bit is a detection event. The decoder (minimum-weight perfect matching) pairs events in space and time into the most likely error.
- Corrections go into the Pauli frame. The logical measurement is read out through that frame.
When to use and when not to
| Situation | Use QEC | Use suppression or mitigation |
|---|---|---|
| Circuit deeper than T1/T2 allows | Yes, needs a logical qubit | No |
| Shallow circuit, expectation value only | Overhead too large | Zero-noise extrapolation |
| Idle window dominated by 1/f dephasing | Too costly | Dynamical decoupling, e.g. XY4 |
| Physical error below about 1%, decoder keeps up | Yes | Not needed |
| Decoder slower than the cycle time | No until fixed | Not a substitute |
Traps interviewers probe
- Treating Ramsey T2 as echo T2.* Fix: name the sequence. Short T2* with long echo T2 means quasi-static noise that echo refocuses.
- Quoting a single-round fidelity as a logical error rate. Fix: report logical error per cycle at a stated distance, round count, decoder and calibration window.
- Modelling a coherent over-rotation as stochastic. Hypothetical check: 0.1° per gate over 200 gates gives 200θ ≈ 0.349 rad, so the error is sin²(0.1745) ≈ 3%, not 1×10⁻⁴. Fix: characterize the rotation and use randomized compiling.
- Claiming break-even against the average or best physical qubit at unmatched workload. Fix: compare against the best physical qubit at matched workload and matched duration.
- Expecting more distance to fix a bad magic-state input. Going from d = 15 to d = 25 does not lower a 1×10⁻³ injected error. Fix: add distillation, then size the code distance.
Interview tips
Open with: "A logical qubit is a code subspace. The claim I defend is logical error per cycle against the unencoded baseline at matched workload."
Follow-ups to expect: decoder latency per round; how leakage is handled; what the break-even baseline is; how logical error scales with distance; magic-state factory overhead; why encoding does not violate no-cloning. For no-cloning, say that encoding distributes information into correlations, and that the syndrome is identical for |0_L> and |+_L>, so the records carry no information about the amplitudes.
30-second outline:
- Define logical versus physical qubit.
- Mechanism: stabilizers, syndrome, decoder, Pauli frame.
- Numbers: threshold near 1%, Λ ≈ 2.14 at d = 7 (Google 2024), 2d² − 1 physical qubits per logical qubit.
- Caveat: idle memory does not imply logical gates. Non-Clifford gates via distillation dominate the overhead.
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.