01 / 06
The question
Can a small neural network, trained only on simulated noise, decode the surface code as well as the standard decoders?
02 / 06
What was built
One plain fully connected network per distance and noise model, written in NumPy and trained on a CPU, with 18,180 to 1,699,330 parameters. It reads the measured syndrome and predicts the logical correction. The baselines are no correction, minimum-weight matching (PyMatching) and, at distance 3 only, exact maximum likelihood. Two noise models are used: simple depolarizing noise with perfect measurement, and full noisy circuits generated by Stim.
03 / 06
What it shows
At distance 3 the network is within 0.04 percentage points of the exact decoder at every error rate evaluated.
Measured. Distance 3: within 0.04 percentage points of exact maximum likelihood.
Measured, against a simple baseline. Under simple noise at an error rate of 0.08 the network's logical error is 3.85% against 5.64% for matching at distance 5, and 2.59% against 4.01% at distance 7. That matching decodes the two error types independently and ignores their correlation.
Measured. Under circuit noise at distance 3 the network makes 7% to 15% fewer errors than matching.
Measured. Under circuit noise at distance 5 the network ties matching at an error rate of 0.002 and makes 14% to 21% more errors above that.
04 / 06
What it does not show
Each network was trained once, with one seed, so there is no estimate of how much results vary between training runs. The work is not pre-registered.
For distances 5 and 7 no stronger baseline was run: no correlated matching, no BP-OSD, no tensor-network decoder and no published neural decoder. The comparison shows that the network learns this noise model, not that it beats strong decoders.
05 / 06
Corrections and negative results
An earlier claim of 13% fewer errors than matching under circuit noise at distance 5 and an error rate of 0.002 did not reproduce: on 400,000 fresh shots the network failed 420 times and matching 411 times. The two are tied at that point.
The baseline is now described as what it is: matching that decodes the two error types independently.
06 / 06
The next question
Does the advantage at distances 5 and 7 survive against correlated matching and published neural decoders, across several training seeds?
Evidence & sources
An editorial summary of the project's own write-ups, which carry the detail, the numbers and the commands. Code and result files are in the repository under research/neural-qec/.
- Overview, results and the re-evaluation on fresh shots ↗
research/neural-qec/README.md· the write-up as it stands in the repository on 29 Nov 2026