# Discovering highly efficient low-weight quantum error-correcting codes with reinforcement learning

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

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- Placed in Quantum reinforcement learning, one of 15 directions in Deep reinforcement learning methods.
- Builds on 8 of its 71 references that are in the map.
- First posted on arXiv 20 Feb 2025.

## Placed in

- Deep reinforcement learning methods / [Quantum reinforcement learning](https://mlsanity.com/deeprl/quantum-reinforcement-learning/)

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

- [Proximal Policy Optimization Algorithms](https://mlsanity.com/paper/1707.06347/) (2017)
- [Deep Reinforcement Learning that Matters](https://mlsanity.com/paper/1709.06560/) (2017)
- [A Closer Look at Invalid Action Masking in Policy Gradient Algorithms](https://mlsanity.com/paper/2006.14171/) (2020)
- [Scaling laws for single-agent reinforcement learning](https://mlsanity.com/paper/2301.13442/) (2023)
- [Optimizing Quantum Error Correction Codes with Reinforcement Learning](https://mlsanity.com/paper/1812.08451/) (2018)
- [Reinforcement Learning Decoders for Fault-Tolerant Quantum Computation](https://mlsanity.com/paper/1810.07207/) (2018)
- [Discovery of Optimal Quantum Error Correcting Codes via Reinforcement Learning](https://mlsanity.com/paper/2305.06378/) (2023)
- [Finite-rate sparse quantum codes aplenty](https://mlsanity.com/paper/2207.03562/) (2022)

## Built on by (most cited first, 5 of 5)

- [Large-Language-Model Discovery of Quantum LDPC Codes through Structured Concept Evolution](https://mlsanity.com/paper/2606.24808/) (2026)
- [OmniQEC: discovering practical quantum error-correcting codes by an AI scientist](https://mlsanity.com/paper/2607.25865/) (2026)
- [Multi-agent discovery of practical quantum LDPC codes](https://mlsanity.com/paper/2608.08996/) (2026)
- [Learning Encodings by Maximizing State Distinguishability: Variational Quantum Error Correction](https://mlsanity.com/paper/2506.11552/) (2025)
- [Large Language Model-Guided Discovery of Weight-Five Bivariate Bicycle Codes](https://mlsanity.com/paper/2610.06623/) (2026)

## Abstract (arXiv)

The realization of scalable fault-tolerant quantum computing is expected to hinge on quantum error-correcting codes. In the quest for more efficient quantum fault tolerance, a critical code parameter is the weight of measurements that extract information about errors to enable error correction: as higher measurement weights require higher implementation costs and introduce more errors, it is important in code design to optimize measurement weight. This underlies the surging interest in quantum low-density parity-check (qLDPC) codes, the study of which has primarily focused on the asymptotic (large-code-limit) properties. In this work, we introduce a versatile and computationally efficient approach to stabilizer code weight reduction based on reinforcement learning (RL), which produces new low-weight codes that substantially outperform the state of the art in practically relevant parameter regimes, extending significantly beyond previously accessible small distances. For example, our approach demonstrates savings in physical qubit overhead compared to existing results by 1 to 2 orders of magnitude for weight 6 codes and brings the overhead into a feasible range for near-future experiments. We also investigate the interplay between code parameters using our RL framework, offering new insights into the potential efficiency and power of practically viable coding strategies. Overall, our results demonstrate how RL can effectively advance the crucial yet challenging problem of quantum code discovery and thereby facilitate a faster path to the practical implementation of fault-tolerant quantum technologies.
