Distance Prediction for Quantum Codes

Nadav Schneider, Eliya Nachmani
10/13/2026
quant-phcs.LG

Official code: NadavSc/BBNet (1 star, Python, last commit 2026-10-14).

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.

Show full abstract

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 $10^{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

View on arXivView PDF

Code Implementations(1)

NadavSc/BBNetOfficial100%
10PythonOct 14, 20261 months ago

Similar Papers

Cite this paper

@article{schneider2026distance,
  title  = {Distance Prediction for Quantum Codes},
  author = {Nadav Schneider and Eliya Nachmani},
  year   = {2026},
  eprint = {2610.18130},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.18130v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.18130.svg)](https://codeofpaper.com/paper/2610.18130)

Discussion