Skip to content
TUM-DSEPublic

About

Tool for realistic empirical evaluation of QEC codes

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

ECCentric

Paper Tests Python License Website

ECCentric is a benchmark for quantum error correction codes under realistic hardware conditions. It compiles a code's syndrome-extraction circuit onto a device, applies the device's noise, and decodes it, so codes, devices, noise models and decoders can be compared end to end, and it comes with a large open dataset of results.

codes devices noise models decoders
results shots decoded CPU hours

📄 ECCentric: An Empirical Analysis of Quantum Error Correction Codes, ACM SIGMETRICS 2026 (doi:10.1145/3805635). The version evaluated in the paper is tagged v1.0.0-sigmetrics26; main keeps growing and refining the benchmark, so its numbers can differ (CHANGELOG).

What it covers

ECCentric pipeline

Stage What ECCentric includes
Codes (list) Surface, color, heavy-hex, Bacon-Shor, concatenated Steane · bivariate, trivariate, coprime and generalized bicycle · balanced, lifted and hypergraph product · lift-connected surface, quantum Tanner, many-hypercube, Mitten, Golay, Reed-Muller · honeycomb and hyperbolic Floquet · XZZX, toric, repetition
Operations Memory in the Z and X basis · lattice surgery (tqec) · fault-tolerant measurements, joint measurements and transversal CNOT on CSS codes
Devices (list) IBM Heron, Flamingo, Loon and the bicycle module · Google Willow · Quantinuum Apollo · Infleqtion · Harvard/MIT atoms · multi-QPU devices with remote gates · synthetic topologies · code-native layouts
Compilation Qiskit layout and routing · gate-set translation with Qiskit, BQSKit or TKET
Noise (list) Circuit-level models (SD6, SI1000, ...) · hardware models with gate, readout, idle, leakage and atom-loss errors · erasure · scaling of any hardware model
Decoders (list) MWPM and correlated MWPM · BP-OSD, BP-LSD, BeliefFind, Relay-BP · Tesseract · MWPF · Chromobius · union-find · GARI and GARI++ · level-by-level BP-OSD · GPU versions of the BP-based decoders
Tools QEC Matchmaker: predicts a circuit's logical error rate and decoding times and picks a decoder, without decoding
Extensible (plugins) Codes, decoders, devices, noise models and tools from other packages, without changing ECCentric

Results at a glance

Best logical error per round of each code family on each device at today's noise

  • Trapped ions protect the most code families: at today's noise, 19 families get below 10⁻³ per round on Quantinuum Apollo, none on IBM Heron.
  • Routing, not the code, sinks qLDPC codes on IBM devices: bivariate bicycle codes are 42× to 228,000× worse routed than on their native layout (figure).
  • The surface code is below threshold on 6 of 8 device models today, the color code on 3 (figure).
  • Z-basis memory flatters codes: 72% of configurations are worse in the X basis (figure).
  • BP-OSD, the go-to qLDPC decoder, matches the best decoder on only 39% of configurations (figure).

All findings, with their data: on the website and in analysis/.

QEC Matchmaker: pick a decoder before you decode

Decoder choice on held-out circuits: Matchmaker's accurate choice is good enough on 95% at 1.9 times the cheapest good decoder's time, its cheapest choice on 92% at 1.3 times, always Tesseract on 100% at 55 times, always BP-OSD on 53% at 20 times

Matchmaker is trained on ECCentric's dataset. Given a noisy circuit, it predicts in seconds, without decoding a single shot, whether the circuit is above threshold, its logical error rate, each decoder's time per shot, and which decoder to use:

pip install -e tools/matchmaker
eccentric matchmaker advise circuit.stim --distance 5      # or: qec-matchmaker advise ...

On codes it never saw in training, it gets the threshold regime right for 97% of circuits, and its decoder choice is good enough for 95% at 1.9× the time of the cheapest good decoder, where always running the most accurate one (Tesseract) costs 55×. Replaying ECCentric's whole sweep, it reaches the quality of always running Tesseract at 54% of its CPU time. With --gpu, it also plans for ECCentric's GPU decoders.

Installation

Linux, Python 3.11:

git clone --recurse-submodules https://github.com/TUM-DSE/eccentric.git && cd eccentric
python3.11 -m venv venv && source venv/bin/activate
pip install -e .
(cd external/qiskit_qec && python setup.py build_ext --inplace)   # with CMake 4: CMAKE_POLICY_VERSION_MINIMUM=3.5 python setup.py ...

Optional: the GARI decoders need a C compiler with OpenMP; the GPU decoders an NVIDIA GPU and pip install --no-deps -r requirements-gpu.txt.

Quick start

eccentric configs/example.yaml        # writes experiment_results/Example/results.csv

An experiment is a YAML file; every list is swept, in parallel:

experiments:
  - name: "Example"
    num_samples: 1000
    backends: ["custom_grid"]
    backends_sizes: [300]
    codes: ["surface", "color"]
    error_types: ["modsi1000"]
    error_probabilities: [0.002]
    decoders: ["bposd"]

More in the documentation: configuration and command line, the dataset, plugins, reproducing the paper (including Docker), and the repository layout.

Citation

@inproceedings{swierkowska2026eccentric,
  title     = {ECCentric: An Empirical Analysis of Quantum Error Correction Codes},
  author    = {{\'S}wierkowska, Aleksandra and Pflieger, Jannik and Giortamis, Emmanouil and Bhatotia, Pramod},
  booktitle = {Proceedings of the ACM SIGMETRICS Conference (SIGMETRICS'26)},
  year      = {2026},
  doi       = {10.1145/3805635}
}

License

Apache License 2.0. Vendored and submodule code keeps its own license.

About

Tool for realistic empirical evaluation of QEC codes

Resources

Stars

3 stars

Watchers

0 watching

Forks

Contributors

Languages