Skip to content

About

Sharp measurement and confidence bounds for exact and randomized local toric-code syndrome extraction.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Local Syndrome Compression

How many measurements does a toric-code reader need when faults are sparse and every check is local? On an $L\times L$ torus, a two-stage measurement can save a logarithmic factor when at most one data qubit is faulty. When two faults are possible, exact deterministic adaptivity loses that saving. Randomized screening recovers it at fixed confidence, even when deterministic screening can miss two errors that cancel in a parity report.

The task is to report the full syndrome of an unknown error acting on an encoded state. At most $t$ data qubits suffer Pauli faults before extraction, with $2t\lt L$. Each direct measurement returns one stabilizer-product parity and has diameter at most $R$. Write $B=(L/R)^2$ and $D=s\log_2(1+R^2/s)$ for $s=\min(t,R^2)$.

Schedule Optimal worst-case binary readouts
Fixed, exact or randomized $\Theta(BD)$
Exact adaptive, one possible fault $\Theta(B+\log_2 L)$
Exact adaptive, two or more possible faults $\Theta(BD)$
Randomized adaptive, two or more possible faults $\Theta(B\min\{\log_2(t/\delta),D\}+t\log_2 L)$

The randomized bound holds for a fixed input fault and a failure probability $0<\delta\le1/3$ over the extractor's private coins. It counts the longest query branch. The randomized proof gives a matching converse for joint recovery of all active tiles.

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 $\Theta(L^2\log_2(1+R^2/s))$. The count and support weight price different operations. The circuit results also bound final pointer readouts after fixed bounded-depth local processing.

Run the extraction

  1. 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.
  2. 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.
  3. 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 $b$ parity rows per tile also has a coherent implementation at depth $O(R+b)$ with $O(L^2)$ clean ancillary qubits and $O(L^2b)$ two-qubit gates. It reversibly pools the elementary syndrome, returns its workspace to zero, and measures only the compressed pointers. This matches the depth-constrained pointer bound when $b=O(R)$.

Read the science

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.

Learn the project

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.

Reproduce the finite checks

python3 verification/run_all.py

The 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.

Purpose and contact

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.

About

Sharp measurement and confidence bounds for exact and randomized local toric-code syndrome extraction.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages