Recognition: unknown
GreenPeas: Unlocking Adaptive Quantum Error Correction with Just-in-Time Decoding Hypergraphs
Pith reviewed 2026-05-10 08:37 UTC · model grok-4.3
The pith
GreenPeas delivers a just-in-time GPU compiler for decoding hypergraphs that achieves >10x speedup on surface and bivariate bicycle codes, unlocking circuit-level decoding for adaptive quantum error correction.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Our implementation achieves a greater than 10x average speedup over the Stim baseline across two of the leading fault-tolerant architectures: the surface and bivariate bicycle codes. As a key use case, we demonstrate that this speedup enables circuit-level decoding of adaptive syndrome measurement circuits, unlocking a regime previously restricted to less accurate phenomenological decoders.
Load-bearing premise
That the just-in-time GPU mapping of Stim's backtracking algorithm preserves numerical correctness and that the compilation latency remains small enough not to dominate the overall decoding time in realistic adaptive workloads.
Figures
read the original abstract
Circuit-level decoders are essential for the realisation of low-overhead fault-tolerant quantum computing. However, they rely on complex hypergraphs that are traditionally compiled ahead-of-time. This static approach introduces a significant bottleneck for an emerging class of adaptive circuits, where the structure is modified during execution based on mid-circuit measurement outcomes. Pre-compiling hypergraphs for all possible circuit branches would incur an exponential memory cost, rendering current tools impractical for these workloads. Hence, we introduce GreenPeas, a C++/CUDA toolchain for the high-speed, just-in-time compilation of decoding hypergraphs. By lowering the circuit to a space-time error propagation graph, we show how Stim's backtracking algorithm can be mapped efficiently onto massively parallel GPU architectures, decomposing the O(nl) workload for a circuit with n qubits and l gate layers across thousands of concurrent threads. Our implementation achieves a greater than 10x average speedup over the Stim baseline across two of the leading fault-tolerant architectures: the surface and bivariate bicycle codes. As a key use case, we demonstrate that this speedup enables circuit-level decoding of adaptive syndrome measurement circuits, unlocking a regime previously restricted to less accurate phenomenological decoders. We aim to open-source GreenPeas to support the research of future adaptive circuit protocols.
Editorial analysis
A structured set of objections, weighed in public.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption Stim's backtracking algorithm can be mapped efficiently to massively parallel GPU threads without loss of correctness
- domain assumption The space-time error propagation graph accurately captures error behavior for the surface and bivariate bicycle codes under the models considered
invented entities (1)
-
GreenPeas C++/CUDA toolchain
no independent evidence
Reference graph
Works this paper leans on
-
[1]
Dutoi, Peter J
Alán Aspuru-Guzik, Anthony D. Dutoi, Peter J. Love, and Martin Head-Gordon. 2005. Simulated Quantum Computation of Molecular Energies.Science309, 5741 (Sept. 2005), 1704–1707. doi:10.1126/ science.1113479
2005
-
[2]
Ryan Babbush, Adam Zalcman, Craig Gidney, Michael Broughton, Tanuj Khattar, Hartmut Neven, Thiago Bergamaschi, Justin Drake, and Dan Boneh. 2026. Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations. doi:10. 48550/arXiv.2603.28846arXiv:2603.28846
work page internal anchor Pith review Pith/arXiv arXiv 2026
- [3]
-
[4]
Noah Berthusen, Shi Jie Samuel Tan, Eric Huang, and Daniel Gottes- man. 2025. Adaptive Syndrome Extraction.PRX Quantum6, 3 (July 2025), 030307. doi:10.1103/ps3r-wf84
-
[5]
Dolev Bluvstein, Simon J. Evered, Alexandra A. Geim, Sophie H. Li, Hengyun Zhou, Tom Manovitz, Sepehr Ebadi, Madelyn Cain, Marcin Kalinowski, Dominik Hangleiter, J. Pablo Bonilla Ataides, Nishad Maskara, Iris Cong, Xun Gao, Pedro Sales Rodriguez, Thomas Karolyshyn, Giulia Semeghini, Michael J. Gullans, Markus Greiner, Vladan Vuletić, and Mikhail D. Lukin....
-
[6]
Sergey Bravyi, Andrew W. Cross, Jay M. Gambetta, Dmitri Maslov, Patrick Rall, and Theodore J. Yoder. 2024. High-threshold and low- overhead fault-tolerant quantum memory.Nature627, 8005 (March 2024), 778–782. doi:10.1038/s41586-024-07107-7
-
[7]
Madelyn Cain, Qian Xu, Robbie King, Lewis R. B. Picard, Harry Levine, Manuel Endres, John Preskill, Hsin-Yuan Huang, and Dolev Bluvstein
-
[8]
Shor’s algorithm is possible with as few as 10,000 reconfigurable atomic qubits (2026)
Shor’s algorithm is possible with as few as 10,000 reconfigurable atomic qubits. doi:10.48550/arXiv.2603.28627arXiv:2603.28627
-
[9]
Peter-Jan H. S. Derks, Alex Townsend-Teague, Ansgar G. Burchards, and Jens Eisert. 2025. Designing fault-tolerant circuits using detector error models.Quantum9 (Nov. 2025), 1905. doi:10.22331/q-2025-11- 06-1905
-
[10]
César Estébanez, Yago Saez, Gustavo Recio, and Pedro Isasi. 2014. Performance of the most common non-cryptographic hash functions. Software: Practice and Experience44, 6 (June 2014), 681–698. doi:10. 1002/spe.2179
2014
-
[11]
Craig Gidney. 2021. Stim: a fast stabilizer circuit simulator.Quantum 5 (July 2021), 497. doi:10.22331/q-2021-07-06-497
-
[12]
Google Quantum AI and Collaborators. 2025. Quantum error correc- tion below the surface code threshold.Nature638, 8052 (Feb. 2025), 920–926. doi:10.1038/s41586-024-08449-y
-
[13]
Daniel Gottesman. 1997. Stabilizer Codes and Quantum Error Correc- tion. doi:10.48550/arXiv.quant-ph/9705052arXiv:quant-ph/9705052
work page internal anchor Pith review doi:10.48550/arxiv.quant-ph/9705052arxiv:quant-ph/9705052 1997
-
[14]
Quintavalle, Jens Eisert, Robert Wille, and Joschka Roffe
Timo Hillmann, Lucas Berent, Armanda O. Quintavalle, Jens Eisert, Robert Wille, and Joschka Roffe. 2025. Localized statistics decoding for quantum low-density parity-check codes.Nature Communications 16, 1 (Sept. 2025), 8214. doi:10.1038/s41467-025-63214-7
-
[15]
A. Yu. Kitaev. 2003. Fault-tolerant quantum computation by anyons. Annals of Physics303, 1 (Jan. 2003), 2–30. doi:10.1016/S0003-4916(02) 00018-0
-
[16]
Daniel Litinski. 2019. A Game of Surface Codes: Large-Scale Quantum Computing with Lattice Surgery.Quantum3 (March 2019), 128. doi:10. 22331/q-2019-03-05-128
2019
-
[17]
Seth Lloyd. 1996. Universal Quantum Simulators.Science273, 5278 (Aug. 1996), 1073–1078. doi:10.1126/science.273.5278.1073
-
[18]
Mundada, Aleksei Khindanov, Yulun Wang, Claire L
Pranav S. Mundada, Aleksei Khindanov, Yulun Wang, Claire L. Ed- munds, Paul Coote, Michael J. Biercuk, Yuval Baum, and Michael Hush
-
[19]
Heterogeneous architectures enable a 138x reduction in physi- cal qubit requirements for fault-tolerant quantum computing under detailed accounting. doi:10.48550/arXiv.2604.06319arXiv:2604.06319
work page internal anchor Pith review Pith/arXiv arXiv doi:10.48550/arxiv.2604.06319arxiv:2604.06319
-
[20]
NVIDIA Corporation. 2026. CCCL: CUDA Core Compute Libraries. https://github.com/NVIDIA/ccclGitHub repository; original release Sept 2020
2026
-
[21]
White, Simon Burton, and Earl Campbell
Joschka Roffe, David R. White, Simon Burton, and Earl Campbell
-
[22]
2020), 043423
Decoding across the quantum low-density parity-check code landscape.Physical Review Research2, 4 (Dec. 2020), 043423. doi:10. 1103/PhysRevResearch.2.043423
2020
-
[23]
Self, Marcello Benedetti, and David Amaro
Chris N. Self, Marcello Benedetti, and David Amaro. 2024. Protecting expressive circuits with a quantum error detection code.Nature Physics 20, 2 (Feb. 2024), 219–224. doi:10.1038/s41567-023-02282-2
-
[24]
Peter W. Shor. 1997. Polynomial-Time Algorithms for Prime Factor- ization and Discrete Logarithms on a Quantum Computer.SIAM J. Comput.26, 5 (Oct. 1997), 1484–1509. doi:10.1137/S0097539795293172
-
[25]
Theerapat Tansuwannont, Balint Pato, and Kenneth R. Brown. 2023. Adaptive syndrome measurements for Shor-style error correction. Quantum7 (Aug. 2023), 1075. doi:10.22331/q-2023-08-08-1075
-
[26]
Barbara M. Terhal. 2015. Quantum error correction for quantum memories.Reviews of Modern Physics87, 2 (April 2015), 307–346. doi:10.1103/RevModPhys.87.307
- [27]
-
[28]
Joshua Viszlai, Satvik Maurya, Swamit Tannu, Margaret Martonosi, and Frederic T. Chong. 2026. PropHunt: Automated Optimization of Quantum Syndrome Measurement Circuits. InProceedings of the 31st ACM International Conference on Architectural Support for Program- ming Languages and Operating Systems, Volume 2. ACM, Pittsburgh PA USA, 1476–1491. doi:10.1145/...
-
[29]
Paul Webster, Lucas Berent, Omprakash Chandra, Evan T. Hockings, Nouédyn Baspin, Felix Thomsen, Samuel C. Smith, and Lawrence Z. Cohen. 2026. The Pinnacle Architecture: Reducing the cost of breaking RSA-2048 to 100 000 physical qubits using quantum LDPC codes. doi:10.48550/arXiv.2602.11457arXiv:2602.11457
work page internal anchor Pith review Pith/arXiv arXiv doi:10.48550/arxiv.2602.11457arxiv:2602.11457 2026
-
[30]
Ziad, Ankit Zalawadiya, Canberk Topal, Joan Camps, György P
Abbas B. Ziad, Ankit Zalawadiya, Canberk Topal, Joan Camps, György P. Gehér, Matthew P. Stafford, and Mark L. Turner. 2025. Local clustering decoder as a fast and adaptive hardware decoder for the surface code.Nature Communications16, 1 (Dec. 2025), 11048. doi:10.1038/s41467-025-66773-x 12
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.