quant-phOct 13, 2026

Distance Prediction for Quantum Codes

Authors: Nadav Schneider, Eliya Nachmani

Organizations: School of Electrical and Computer Engineering, Ben-Gurion University of the Negev, Israel

Abstract

The distance of a quantum code is a fundamental metric that dictates its error-correction capability. While quantum low-density parity-check (qLDPC) families such as Bivariate Bicycle (BB) codes offer a promising pathway to low-overhead fault-tolerant quantum computing, computing their distance is challenging. Current exact solvers and even search heuristics that provide a distance upper bound suffer from severe computational bottlenecks, restricting the discovery of optimal codes. In this paper, we construct a dataset of BB codes with corresponding distance upper bounds obtained through high-budget heuristic searches. We introduce BB-Net, an attention-based neural network architecture for predicting the distance of BB codes. It achieves 96.39% accuracy on the reference distances in the test set, compared with 94.86% for state-of-the-art heuristics with a budget of up to 10410^{4} times more computational runtime. On a subset with certified exact distances, BB-Net achieves 98.94%. By relieving the distance-calculation bottleneck, BB-Net enables faster screening of large code spaces, particularly in ML-driven search pipelines, and thereby can accelerate the discovery of novel quantum error-correcting codes, an important capability for advancing scalable fault-tolerant quantum computing. Our code is publicly available: https://github.com/NadavSc/BBNet

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Scalable Neural Decoders for Practical Fault-Tolerant Quantum Computation

    Apr 9, 2026Andi Gu, J. Pablo Bonilla Ataides, Mikhail D. Lukin +1Quantum LDPC CodesQuantum Error Correction

  2. Evolutionary Discovery of Bivariate Bicycle Codes with LLM-Guided Search

    Jun 1, 2026Juan Cruz-Benito, Andrew W. Cross, David Kremer +1Automated Algorithm DiscoveryQuantum LDPC Codes

  3. OmniQEC: discovering practical quantum error-correcting codes by an AI scientist

    Jul 28, 2026Ge Yan, Shanchuan Li, Pengyue Ma +5AI Agents for Scientific DiscoveryQuantum LDPC Codes