Skip to content

About

Streaming decoding for delayed stabilizer syndromes, with exact memory bounds for pure and dephased quantum flags.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Delayed Syndrome Decoder

How many qubits of error information should a decoder keep while it waits for the syndrome? One qubit suffices for pure, nonorthogonal repetition-code flags. A streaming instrument fuses the flags as they arrive. After the syndrome, the retained qubit and a classical index give the same minimum logical error as a collective measurement that waits with all the flags.

In a four-site example with independent bit flips of probability $1/4$ and flag overlap $0.99$, any joint measurement that keeps only classical information before the syndrome has logical error more than $2.5\times10^{-6}$ above the delayed optimum. The ideal full-record and streaming error is approximately $0.1225991921$. The certified streaming advantage survives an independent final phase flip of probability up to $1.9\times10^{-5}$.

Question Result
What is sufficient for an arbitrary-length repetition block? One persistent qubit, a classical index and one fusion per flag after the first
Can a purely classical record match it? It cannot attain the ideal optimum in the biased four-flag example. At equal priors a collective early measurement can attain the optimum.
What changes for a binary linear syndrome $Hx=s$? $k=\dim\ker H$ coherent qubits preserve every conditional decision. They are necessary for a fixed early instrument that must work for all priors on a syndrome class with a nonconstant decision label.

Phase noise on the incoming flags

In a three-site repetition example, weak independent phase flips on the incoming flags make three qubits necessary to match the exact waiting optimum. The original one-qubit circuit still stays within the phase-flip probability of that optimum. At a phase-flip probability of 1/8, every decoder that keeps at most two qubits loses more than 0.000013 in absolute logical-error probability. The lower bound covers arbitrary joint processing before the syndrome and unlimited classical storage. Mixed incoming flags

Sister result on exact erasure recovery

In Quantum-Erasure-Flag-Compression, a monitor designs the flag message and the decoder must recover an unknown logical state exactly. For three blocks of the fixed CSS code, the monitor sends six qubits. The decoder keeps five qubits and a three-symbol classical record while it waits for the syndrome. The sister result gives the exact storage costs for any number of blocks.

Run the streaming decoder

  1. Keep one flag. Use the first supplied flag as the accumulator and record its site. For each new flag, initialize one auxiliary qubit to zero and apply the calibrated three-qubit fusion. Measure both meter qubits in the computational basis and release them. If their two-bit record selects the incoming flag's sign, update the retained site index. Every outcome supplies a valid accumulator.
  2. Use the syndrome. When the adjacent-check syndrome arrives, compute its two candidate error patterns and their conditional probabilities. Use the retained site to match the accumulator's two candidate states to those patterns. Rotate to the known binary decision basis, measure the accumulator and return the selected Pauli correction for the recovery endpoint to apply to the code block.

One supplied flag is consumed per site. The persistent record is one qubit and a classical site index. The circuit also requires auxiliary preparation and release, two meter bits per fusion, calibrated overlaps and controls, and the final basis rotation. The full-record benchmark gives the ideal logical error. The noise analysis accounts for specified deviations.

Read the science

  • Model and exact recovery objective defines the flag channel, the syndrome cut and the full-record benchmark.
  • Streaming decoder gives the two-flag fusion instrument and its physical workspace.
  • Early readout proves the finite joint-measurement gap and the exponent for adaptive single-flag measurements.
  • Noise gives finite and asymptotic results for phase flips in the accumulator and a separate bound on arbitrary gate deviations.
  • Mixed incoming flags proves the exact memory requirement and the approximate-risk bounds at a fixed prior.
  • Linear syndromes extends the construction and proves the memory lower bound for all-prior sufficiency.

The pure- and mixed-flag results use calibrated flag states, a classical distribution of Pauli bit flips and an exact, delayed syndrome. The full zero-memory collective error exponent and the minimum memory for a single fixed prior with several logical labels remain open. The related work explains the connections to state discrimination, quantum belief propagation and decoder flags.

Learn the project

John Watrous’s The Theory of Quantum Information (2018) is the educational anchor. The Watrous bridge links the textbook measurements and channels to the decoder. The 30 milestones lead from the two-state test through the noise comparisons and the linear-syndrome construction. The LLM guide points to exact scientific and educational routes.

Reproduce the finite checks

From the repository root, run:

python3 verification/run_all.py

The checks use only the Python standard library. They verify the fusion probabilities and overlaps, reproduce the four-flag witness and certify the storage-noise tolerance, the mixed-flag memory gap and its limit at weak input dephasing. The verification guide gives the expected results and their scope.

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

Streaming decoding for delayed stabilizer syndromes, with exact memory bounds for pure and dephased quantum flags.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages