How many measurements does a toric-code reader need when faults are sparse and every check is local? On an
The task is to report the full syndrome of an unknown error acting on an encoded state. At most
| Schedule | Optimal worst-case binary readouts |
|---|---|
| Fixed, exact or randomized | |
| Exact adaptive, one possible fault | |
| Exact adaptive, two or more possible faults | |
| Randomized adaptive, two or more possible faults |
The randomized bound holds for a fixed input fault and a failure probability
The exact proof packs separated boxes of independent error locations. Each box needs its own binary outcomes. For two faults, the queries on the no-error branch must already distinguish all single-edge witnesses. A collision lets two errors cancel every measured parity on that branch while leaving a nonzero true syndrome.
The support tradeoff gives the optimum under a per-product Pauli weight cap. With no cap, attaining the fixed-schedule readout order takes aggregate measured weight
-
Choose the products. Partition the star and plaquette lattices into tiles of diameter on the order of
$R$ , including check edges. Choose binary parity rows that separate all tile syndromes with at most$2t$ defects. For the adaptive one-fault schedule, screen each tile by check color, then read the coordinates only in flagged groups. For randomized readout, take uniform parity masks in each tile instead. Decode a detected tile at increasing sparsities and compare each candidate with the original masks. -
Measure the products. Prepare a meter in
$|+\rangle$ . Apply the appropriate controlled single-qubit Pauli to each data qubit in a product's support and measure the meter in the$X$ basis. Controlled Paulis use CNOT and single-qubit Clifford conjugations. The native circuits account for the meter's route and give a bounded-density coherent pooling alternative. -
Report the syndrome. Decode the parity bits separately within each tile, then concatenate the star and plaquette results. When the syndrome is correct, any Pauli of weight at most
$t$ with that syndrome gives a valid correction. The decoder can record it as a Pauli frame or apply single-qubit Paulis. This preserves an arbitrary logical input, including one entangled with a reference.
A fixed schedule with at most
- Model and output contract
- Exact readout, adaptivity and report-flip laws
- Randomized readout and confidence
- Per-product and aggregate support tradeoffs
- Native circuits, depth and measurement outcomes
- Fault timing and the reporting target
- Related work and bibliography
The randomized law assumes all measured reports are ideal. In the separate exact model, classical bit flips on the reports preserve the adaptive threshold after adding the necessary redundancy. A circuit fault that acts on data can be physically indistinguishable from a fault already present at the input. The exact theorem on report flips assumes the data errors occur before extraction. A circuit that physically corrects a single fault without reporting its original syndrome can do so coherently with zero readouts.
Daniel Gottesman's Stabilizer Codes and Quantum Error Correction (1997) is the educational anchor. The Gottesman bridge develops the stabilizer, code-distance and measurement tools used here. The 30-milestone map follows the model through the proof and resource interpretation. The reading guide connects scientific, learning and verification routes.
python3 verification/run_all.pyThe standard-library verifier checks the exact small-lattice extraction, explicit two-error collisions, a compressed block with report corruption, and the randomized tile decoder on every input fault of weight at most two on a small torus.
This repository serves as a record of the work and a guide for the author’s self-directed learning. For discussion or potential collaboration, please contact Ruge Lin at gogoko699@gmail.com.