# Evolving Decoding Algorithms for Quantum Error Correction

arXiv: https://arxiv.org/abs/2611.25880 · HTML: https://mlsanity.com/paper/2611.25880/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 5 of its 30 references that are in the map.
- Submitted 19 Nov 2026, announced 20 Nov 2026.

## Builds on (most cited first, 5 of 5)

- [AlphaEvolve: A coding agent for scientific and algorithmic discovery](https://mlsanity.com/paper/2506.13131/) (2025)
- [Illuminating search spaces by mapping elites](https://mlsanity.com/paper/1504.04909/) (2015)
- [Learning to Decode the Surface Code with a Recurrent, Transformer-Based Neural Network](https://mlsanity.com/paper/2310.05900/) (2023)
- [Evolutionary BP+OSD Decoding for Low-Latency Quantum Error Correction](https://mlsanity.com/paper/2512.18273/) (2025)
- [A Sim-to-Real Study of Surface-Code Decoder Benchmarking](https://mlsanity.com/paper/2609.04557/) (2026)

## Abstract (arXiv)

Quantum computation entails robustness engineering: a noisy quantum state is measured continuously, and a classical algorithm (the decoder) must infer corrections that reliably remove the noise, fast enough to keep up. We write several published belief-propagation (BP) decoders for quantum low-density parity-check (qLDPC) codes in a Domain-Specific Language (DSL), and search over it with grammatical evolution. Written in the language, the published decoders show their parameters in plain view, allowing us to re-parameterise BP+OSD (ordered statistics decoding) and BP+LSD (localized statistics decoding) decoders with damping, before any search, making each 17.1--41.0× faster at a higher error rate, and BP+OSD-0 about 103 faster than the ldpc package's version tuned on the [[72,12,6]] bivariate-bicycle code. Evolution over the language finds decoders that improve the time-error front. One makes 23% fewer logical errors than BP+OSD-0 with damping at 0.64× its time, and decoders evolved from random code are more accurate than ldpc's tuned BP+OSD-0 at 1/31 of its time or less. Frozen at one operating point, the two fastest evolved decoders generalize well across noise levels, code sizes and round counts, staying at the time-error front. Ultimately, we demonstrate that capturing expert knowledge within a DSL creates a powerful intermediate layer---one that effectively bridges human intuition and machine-driven optimization to unlock highly efficient quantum error correction.
