QEC Model Zoo: Democratizing AI-enhanced Quantum Error Correction

Yuandou Wang, Maxim de Groot, Aadi Patwardhan, Floris Geerts, Rihan HaiNeurIPS 2026 Evaluations and Datasets Track Poster 2026

TL;DR

AI-enhanced decoders for quantum error correction (QEC) have been notoriously hard to compare because every paper uses different datasets, input formats, and evaluation rules. The QEC Model Zoo solves this by introducing a standardized, data-centric benchmark spanning nine real-hardware datasets and three simulated settings. It reveals that how you represent quantum measurement data—and whether you need microsecond-level inference speed—matters just as much as the AI architecture you choose.

What Problem Does This Paper Address?

Quantum bits (qubits) are fragile and noisy. To protect them, QEC encodes a single "logical" qubit across many physical qubits and repeatedly measures parity checks called stabilizers. The binary outcomes of these checks—syndromes—act like a trail of breadcrumbs indicating where errors might have occurred. Decoding is the task of reading those breadcrumbs to figure out whether a logical error happened.

Figure 1: (A) Three-qubit repetition code. (B) Distance-three surface code. (C) Quantum memory experiment: a learned decoder predicts logical errors from stabilizer measurement histories.

Classical decoders, such as Minimum-Weight Perfect Matching (MWPM), are the workhorses of QEC, but they struggle with complex real-hardware noise and strict latency budgets (decoding must keep pace with the quantum hardware's coherence time). Machine learning offers a promising alternative by learning decoding rules directly from data.

However, AI-for-QEC research has been fragmented. Studies mix real and simulated data, use incompatible input formats, and conflate different roles—such as full decoders (which predict logical errors directly) and pre-decoders (which clean up local errors before handing off to a classical decoder). Without a shared benchmark, it is impossible to tell whether a reported gain comes from a better model, better data representation, or a friendlier evaluation setup.

Methods

The QEC Model Zoo standardizes heterogeneous QEC data into a unified, reproducible pipeline using the Croissant metadata format.

Figure 2: The QEC model zoo architecture and benchmark pipeline.

Key methodological contributions include:

  • Two Separate Benchmark Tasks: The zoo evaluates full decoders (MLPs, LSTMs, TabM, TabR, gradient-boosted decision trees like LightGBM/CatBoost/XGBoost, and tabular foundation models like TabPFNv2/TabICLv2) alongside learned pre-decoders (3D CNNs paired with classical PyMatching or Chromobius back-ends) and transformer-based decoders.
  • Shot-Level Feature Engineering: Sequence models like LSTMs can read raw, round-by-round measurement histories, but tree-based and tabular models need fixed-dimensional vectors. The authors design shot-level feature mappings that summarize detector activity rates, temporal episode lengths, spatial coincidences, and leakage flags—enabling fair, apples-to-apples comparisons across model families while supporting feature-group ablations.

Datasets

The benchmark curates nine real-hardware datasets and three simulated settings:

  • Real Hardware: Covers superconducting qubits (DiCarlo D3 repetition code; Google D25 repetition, D3/D5 surface, and D3/D5 color codes), neutral atoms (Lukin D3/D5 surface codes), and spin qubits (Vandersypen parity checks).
  • Simulated Settings: Uses Stim and cuStabilizer to generate large-scale synthetic data for surface codes, color codes, and bivariate bicycle (BB) codes, supporting NVIDIA's 3D CNN pre-decoders and NTU's transformer/neural-BP decoders.

Key Insights and Ideas

  • Representation is half the battle: On a 200,000-shot DiCarlo repetition-code dataset, feeding raw minimal features to TabM yields just 57.4% accuracy. Adding hand-crafted features and LSTM encodings boosts it to 79.2%.
  • The 1 µs/shot speed limit changes the leaderboard: While classical decoders (MWPM, Chromobius) and LSTMs often top the accuracy charts, both classical baselines average more than 1 µs per shot in batched inference. Under a strict < 1 µs/shot budget, TabM and tree ensembles (LightGBM, CatBoost) achieve the best accuracy on eight of the nine real datasets.
Accuracy vs. inference time trade-off on real QEC datasets
  • Hybrid pre-decoding pays off: Pairing a learned 3D CNN pre-decoder with a classical Chromobius back-end on simulated color codes simultaneously reduces the logical error rate and speeds up total decoding time.

Key Results

  • Beating classical baselines on real data: On the Google D3 surface code, an LSTM full decoder outperforms MWPM (0.7507 vs. 0.7156 accuracy, a 19.53% reduction in logical error rate per round). On the Google D3 color code, LSTM beats Chromobius (0.8069 vs. 0.7908 accuracy).
  • Where classical still rules: On the larger-distance Google D25 repetition code, MWPM achieves ~1.000 accuracy, whereas all evaluated learned full decoders hover near chance (~0.50).
  • Pre-decoder speedups: On simulated color codes, NVIDIA's ColorCode-1-Fast pre-decoder delivers a 1.455× logical error rate improvement and a 3.406× runtime speedup over Chromobius. On surface codes, SurfaceCode-1-Fast provides a 2.222× speedup over PyMatching.
  • Simulated BB codes: NTU-Transformer achieves 0.9191 block accuracy (0.0809 block logical error probability), outperforming NTU-Neural-BP (0.8573).

Limitations and Future Work

The authors note that learned full decoders still struggle at larger code distances (like Google D25), likely due to limited training data and optimization difficulties. Moving forward, they highlight transfer learning—adapting models from smaller to larger code distances, or from simulations to real hardware—and jointly optimizing modular learned and classical decoder stacks as promising next steps.

Summary updated

BibTeX
@inproceedings{wang2026qec,
  author = {Yuandou Wang and Maxim de Groot and Aadi Patwardhan and Floris Geerts and Rihan Hai},
  title = {{QEC Model Zoo: Democratizing AI-enhanced Quantum Error Correction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=3hB3hPXBgx},
}
Figure