# TCBP-JOBS: GPU-Accelerated Quantum Error Correction Decoding and Noise Learning with Near-Optimal Accuracy

Quantum.world

> GPU decoder TCBP-JOBS reports Tesseract-level accuracy with speedups up to 7,400x and 4.5x lower logical error on large codes, targeting real-time qLDPC decoding.

**arXiv**: 2611.21321 · Preprint · not peer-reviewed

**Published**: 2026-11-16

**Authors**: Ben Howe, Satvik Maurya, Jan Olle, Ivan Basov, Muyuan Li, Justin G. Lietz, Kevin Young, Krysta M. Svore

## In plain words

Decoders for quantum codes have historically been either fast or accurate, not both: belief propagation plus ordered statistics decoding (BP+OSD) is fast but loses accuracy on high-rate qLDPC codes, while most-likely-error decoders such as Tesseract are accurate but slow (milliseconds to seconds per round).

## Key results

- **Accuracy parity with Tesseract at 0.1%–0.4% physical error rates.** Logical error rates comparable to Tesseract's, and up to 4.5× lower on the largest codes.
- **Speedups.** Serial speedups over Tesseract's sparsified presets range from 10× to 7,400×, and reach 13,000× against unsparsified long-beam Tesseract on the bivariate-bicycle codes, at logical error rate ratios of 0.97 to 1.57.
- **A regime where Tesseract wins.** Rare-event splitting on the gross code shows Tesseract is more accurate at low physical error rates (10⁻⁴ to 5×10⁻⁴).

## AI summary

## Overview

**Research area:** Quantum error correction (QEC) — classical decoding algorithms and noise learning for fault-tolerant quantum computing, implemented on GPUs. **Technical level:** Advanced (assumes familiarity with stabilizer codes, detector error models, belief propagation and ordered statistics decoding). **Scope:** The paper introduces two coupled techniques — trajectory-calibrated belief propagation (TCBP) and jittered OSD beam search (JOBS) — and evaluates them across 72 surface, color and bivariate-bicycle code circuits for accuracy, latency, noise learning, post-selection and rare-event sampling.

## What This Paper Is About

Decoders for quantum codes have historically been either fast or accurate, not both: belief propagation plus ordered statistics decoding (BP+OSD) is fast but loses accuracy on high-rate qLDPC codes, while most-likely-error decoders such as Tesseract are accurate but slow (milliseconds to seconds per round). The paper's goal is to close that gap — to reach logical error rates comparable to Tesseract at physical error rates of 0.1% to 0.4% while running as a parallel GPU decoder with millisecond-scale latency. The authors also use the same machinery for label-free noise learning, per-shot confidence scores for post-selection, and rare-event importance sampling.

## Key Contributions

1. **Trajectory-Calibrated BP (TCBP):** A small multilayer perceptron (two hidden layers of 16 units, only 529 weights at T=10 iterations) that reads each fault's full BP marginal-LLR trajectory plus four appended features and maps it to a calibrated probability, replacing BP's discarded final beliefs. It is fitted once per code family in about 10 s on simulated shots, with no experimental data.
2. **Jittered OSD Beam Search (JOBS):** A GPU-parallel search that forms 16 draws per shot (a tunable parameter) by adding Gumbel noise to the TCBP scores, solves OSD-0 in each ordering, and refines every solution with a bounded beam search over syndrome-preserving moves — all on the GPU.
3. **Accuracy and speed benchmarking against Tesseract** across 72 surface, color and bivariate-bicycle code memory and surgery circuits, including a 24.2-million-shot benchmark that costs 130,257 CPU thread-hours under Tesseract but decodes in 45 minutes on one GB200 GPU.
4. **Downstream uses of the calibrated outputs:** label-free noise learning, complementary-gap post-selection in memory and magic-state cultivation, and rare-event importance sampling down to logical error rates of 10⁻¹².

## Main Findings

- **Accuracy parity with Tesseract at 0.1%–0.4% physical error rates:** Logical error rates comparable to Tesseract's, and up to 4.5× lower on the largest codes. The largest reduction, 4.5×, is on the gross code at p=0.2% under SI1000 noise.
- **Per-setting comparison against sparsified short-beam Tesseract:** Significantly lower LER in 17 of 36 code/noise settings, significantly higher in one, and no statistically significant difference in the rest. Against sparsified long-beam Tesseract, LER is comparable or lower at p=0.2% and 0.4% SI1000 noise, with a maximum reduction of 2.7×.
- **Speedups:** Serial speedups over Tesseract's sparsified presets range from 10× to 7,400×, and reach 13,000× against unsparsified long-beam Tesseract on the bivariate-bicycle codes, at logical error rate ratios of 0.97 to 1.57.
- **Better rankings drive the gain:** BP fails to converge on 92.5% of shots of a distance-11 surface code at p=0.2% and on every shot of the gross code at p=0.3%. With only the ordering changed, TCBP reduces the median K* (shortest prefix explaining the syndrome) from 112 (final LLR) and 75 (minimum LLR) to 51 on the surface code, and from 886 and 750 to 528 on the gross code.
- **Fewer OSD-0 failures:** 136 surface code shots fail with the TCBP ordering versus 285 for final LLR and 248 for minimum LLR; on the gross code, 8.2% fail versus 30.8% and 12.9% — reductions of 2.1× and 3.7× respectively. On the gross code, 7,832 shots fail only with the final-LLR ordering while 427 fail only with TCBP. The cost is 5–8% added to batched OSD-0 decode time.
- **Calibrated probabilities:** TCBP outputs track the diagonal (y=x) across the range where nearly all faults occur, with mild overconfidence at the high end and drift below 10⁻⁴ (outside its training range, where well under 1% of sampled faults lie). Raw BP posteriors are calibrated only above 10⁻¹ and overstate confidence by one to two orders of magnitude below that.
- **Millisecond-scale latency:** Twelve rounds of gross-code memory at p=0.2% decode in 4.08 ms; gross-code logical-surgery measurement takes 13.5 ms per shot and results in 27 failures versus 41 and 10.2 s for multi-pass Tesseract.
- **Noise learning from unlabeled data:** On the gross code, 15 minutes of learning on one GPU yields a decoder within 2–3% of the LER obtained with true rates; about 10 s of learning comes within 1.4–1.8×, versus 9–27× for a uniform prior.
- **Post-selection:** JOBS reports a complementary gap at almost no extra cost, giving per-shot confidence up to ~2^k× faster than decoders that must decode once per observable class. Discarding 1% of shots improves the gross code LER by ~28× at p=0.2%. In magic-state cultivation, the binary-Y diagnostic error drops by 2.1 to 4.7×, and end-to-end color code cultivation reaches up to 2.8× higher modeled throughput per installed qubit.
- **A regime where Tesseract wins:** Rare-event splitting on the gross code shows Tesseract is more accurate at low physical error rates (10⁻⁴ to 5×10⁻⁴). The gap is visible at p=5×10⁻⁴, 2×10⁻⁴ and 10⁻⁴, and TCBP-JOBS fails on some four-fault configurations that Tesseract corrects.
- **Context on decoder accuracy for qLDPC codes:** On the 288-qubit circuit of the [[144,12,12]] gross code, Tesseract matches distance-13 to distance-15 surface codes at SI1000 noise and p=0.1% (14–19× physical-qubit savings), while BP+OSD and correlated matching match only the distance-11 surface code (10× savings).

## Methodology in Plain English

The starting observation is that belief propagation computes a belief about every fault at every iteration, and OSD throws nearly all of it away, keeping one final value per fault and one ordering. The authors instead record each fault's whole trajectory of beliefs across BP iterations and train one tiny shared neural network — fitted on simulated shots with known labels, sampled at error rates drawn log-uniformly between 10⁻⁴ and 10⁻² — to convert that trajectory into a probability that the fault actually fired. A single model per code family transfers across error rates and distances.

Because that ordering is still just one ordering, JOBS takes it and generates 16 perturbed versions per shot by adding Gumbel noise, so that faults the model cannot distinguish swap places while clearly likely faults keep their position. Each perturbed ordering is solved for its own OSD-0 correction; draws whose column window cannot span the syndrome are discarded. From each solution a beam search explores syndrome-preserving moves (flipping a free column and compensating in the basis), keeping the cheapest unvisited candidates, with the whole population running in parallel on the GPU. Work is scoped per shot to a window of αK* columns with α=8 by default, so easy syndromes are cheap.

The calibrated probabilities and the multiple visited corrections are then reused: for noise learning, they update the fault rates fed back to the decoder as priors; for post-selection, the gap between the best competing logical class and the returned answer gives a confidence score; for rare events, fast decoding makes splitting-based importance sampling affordable. Experiments compare against Tesseract on surface, color and bivariate-bicycle memory and surgery circuits using identical BP settings (10 iterations of sum-product BP, clip value 15, FP32) so that only the ranking changes.

## Why This Matters

**Research impact:** Decoder accuracy changes how codes are judged — Tesseract's accuracy on the gross code gives 14–19× physical-qubit savings over surface codes, versus 10× under BP+OSD and correlated matching. Making near-MLE accuracy cheap enough to run at scale lets researchers evaluate more codes, circuits and layouts, and shrinks a benchmark that costs 130,257 CPU thread-hours to 45 minutes on one GPU. The TCBP model is fitted in 9.8 s for a 24,485-fault surface code DEM and 11.5 s for a 67,752-fault gross code DEM on one NVIDIA H100, reducing held-out cross-entropy from 0.0053 to 0.0034 and from 0.0107 to 0.0092.

**Applications implied by the paper:**

- Real-time decoding for QPUs with longer logical clock cycles, such as neutral atom and ion trap processors, where millisecond-scale latency is acceptable.
- Noise characterization of a device from recorded, unlabeled detector data alone, usable alongside calibration.
- Post-selection and confidence scoring in memory experiments and magic-state cultivation, including end-to-end color code cultivation.
- Estimating very low logical error rates (down to 10⁻¹²) for rare-event analysis at a fraction of direct-sampling cost.

**Industry relevance:** The work targets fault-tolerant roadmaps that expect machines within this decade, where high-rate qLDPC codes reduce qubit overhead but demand decoders that are both accurate and fast. It provides a GPU framework combining accurate decoding, noise estimation and confidence assessment — the three capabilities the authors argue QEC research and online operation both require.

## Future Directions

- Closing the accuracy gap at low physical error rates (10⁻⁴ to 5×10⁻⁴), where Tesseract remains more accurate and TCBP-JOBS fails on some four-fault configurations.
- Extending calibrated outputs to reweight downstream decoders beyond OSD, such as matching, and to per-shot fault reweighting in the style of belief matching.
- Scaling the approach to larger code families and design-space exploration, including joint XYZ decoding graphs and circuit/layout co-design.
- Pushing latency lower for QPUs with microsecond-scale logical clock cycles, where the current millisecond-scale serial latency is not yet sufficient.

## Target Audience

QEC researchers and decoder engineers evaluating codes and circuits; fault-tolerance architects choosing codes and real-time decoding strategies; GPU and classical-compute engineers building decoding infrastructure; and graduate students or specialists in quantum information who already know BP, OSD and detector error models and want a practical route to near-optimal accuracy at GPU speed.

## Authors’ abstract

Achieving near-optimal quantum error correction (QEC) decoding accuracy often requires computationally expensive searches that limit both large-scale simulation and real-time operation. We introduce trajectory-calibrated belief propagation (TCBP), which learns calibrated fault probabilities from BP trajectories, and jittered OSD beam search (JOBS), which uses these probabilities to guide parallel GPU searches. Across surface, color and bivariate-bicycle code memory and…

[The full abstract on arXiv](https://arxiv.org/abs/2611.21321)

[Read the original paper](https://arxiv.org/abs/2611.21321)

## Related papers

- [General Noise Channels and Mid-Circuit Measurements for Pre-Trajectory Sampling with Batched Execution](https://quantum.world/paper/general-noise-channels-and-mid-circuit-measurements-for-pre-trajectory-2611.23923) 2026-11-18 · quant-ph · Also by Justin G. Lietz, Krysta M. Svore
- [feedback-grape: A JAX-based Python Package for GPU-Accelerated GRAPE with Feedback](https://quantum.world/paper/feedback-grape-a-jax-based-python-package-for-gpu-accelerated-grape-2611.20222) 2026-11-15 · quant-ph · Key terms of the title in common
- [GARI++: A General-Purpose Decoder for Quantum Error Correction](https://quantum.world/paper/gari-a-general-purpose-decoder-for-quantum-error-correction-2611.12833) 2026-11-09 · quant-ph · Key terms of the title in common
- [Agentic Pipelines for Mapping Topological Codes to Quantum Hardware](https://quantum.world/paper/agentic-pipelines-for-mapping-topological-codes-to-quantum-hardware-2611.03329) 2026-11-02 · quant-ph · Also by Krysta M. Svore
- [A GPU-Accelerated and Geometry-Aware Quantum-Classical Framework for Optimized PES Scans with CUDA-Q](https://quantum.world/paper/a-gpu-accelerated-and-geometry-aware-quantum-classical-framework-for-2611.01389) 2026-11-01 · quant-ph · Key terms of the title in common

---

Canonical: https://quantum.world/paper/tcbp-jobs-gpu-accelerated-quantum-error-correction-decoding-and-noise-2611.21321
