Research
Single-shot magic state factories for quantum LDPC codes
Overview Research area: Quantum error correction and fault-tolerant quantum computing — specifically magic state generation for quantum low-density parity-check (qLDPC) codes. Technical level: Advance

- arXiv
- 2610.10731
- Published
- 2026-10-07
- Authors
- Varun Menon, Rohan Mehta, Andi Gu, Andrei C. Diaconu, Daniel Bochen Tan, Xiao Xiao, Michael J. Gullans, Qian Xu, Hengyun Zhou, Mikhail D. Lukin, J. Pablo Bonilla Ataides
AI summary
Overview
Research area: Quantum error correction and fault-tolerant quantum computing — specifically magic state generation for quantum low-density parity-check (qLDPC) codes.
Technical level: Advanced. The paper combines algebraic code constructions (group-algebra, balanced-product and lifted-product codes), circuit-level noise simulations, and hardware compilation for neutral-atom arrays. The conceptual message is accessible, but the code definitions and decoding details require a background in quantum error correction.
Scope (one sentence): The paper proposes, simulates, and compiles an end-to-end magic state factory that teleports magic states out of three-dimensional "tricycle" codes into four-dimensional "quadcycle" codes, producing |CCZ̄⟩ states at low logical error rate and reduced space-time cost.
What This Paper Is About
High-rate qLDPC codes can shrink the number of physical qubits needed for a fault-tolerant quantum computer, but they lack a native, efficient way to produce the non-Clifford resource states ("magic states") that algorithms require. Existing magic state distillation and cultivation protocols are expensive in both qubits and time, and they do not preserve the rate advantage of a qLDPC architecture. The authors build a factory that generates magic states transversally in tricycle codes, then moves them — in constant depth, with postselection — into larger-distance quadcycle codes where they can be stored and used.
Key Contributions
-
A dimension-jump "escape" mechanism. The authors show that every tricycle code can be embedded into a corresponding quadcycle code, enabling a depth-1 transversal homomorphic CNOT that teleports logical magic states from the (asymmetric-distance) tricycle block into the (larger, balanced-distance) quadcycle block.
-
A single-shot, constant-depth factory. Three tricycle blocks prepared in
|+̄⟩with fan-out gadgets are acted on by a depth-1 transversal CCZ circuit, producing the nine-qubit hypergraph state|det̄⟩; the state is teleported into three paired quadcycle blocks prepared in|0̄⟩, and transversal X measurements of the tricycle blocks provide both teleportation outcomes and postselection information. The whole sequence uses a constant number of syndrome-extraction rounds. -
AI-assisted discovery of quadcycle codes. An AI-assisted search identified finite-size quadcycle codes with favourable rates, thresholds, and circuit-level logical error rates, including codes with parameters that improve on prior quadcycle constructions. The codes are single-shot in both the X and Z bases because their checks are redundant, giving
n_Gmetachecks per basis. -
A complete downstream and hardware pipeline. The paper supplies constant-depth gadgets for post-processing
|det̄⟩into two disjoint|CCZ̄⟩states, for Clifford fix-ups, and for injection via code surgery, plus explicit planar layouts and atom-rearrangement schedules for reconfigurable neutral-atom arrays.
Main Findings
-
Low logical error at low space-time cost: Under a standard circuit-level noise model at physical error rate
p = 10⁻³, the factories produce|CCZ̄⟩states at logical error rates as low as10⁻⁹, with 10–40 times lower space-time cost than state-of-the-art magic state generation methods. -
Direct comparison with cultivation (Table 1): For nominal fault distance
f = 3, this work reaches a CCZ-converted error rate of1.2 × 10⁻⁵at an expected space-time volume of4.3 × 10³per|CCZ̄⟩, versus80.4 × 10³for surface code cultivation and162.8 × 10³for color code cultivation at the same error rate. Forf = 4, this work reaches1.2 × 10⁻⁶at8.6 × 10³, versus83.8 × 10³for surface code cultivation atf = 5. Forf = 5, this work reaches1.6 × 10⁻⁸at6.7 × 10⁴, versus228.6 × 10⁴for color code cultivation. -
Postselection behaves like full error detection: Rescaling all noise rates by a common factor gives a fitted error exponent of
n_eff = 3.11 ± 0.04for thed_3D = 3factory and3.91 ± 0.07ford_3D = 4, matching the code distance rather than the~d/2expected of a decoder without error detection. -
Quadcycle codes are good single-shot memories: Using sliding-window most-likely-error decoding with a window of
W = 3rounds advancingS = 1round per step, the[[54,6,6]],[[72,6,8]], and[[162,6,14]]quadcycle codes show per-cycle logical error rates comparable to or below the error rate of the states the factory delivers, so the code holds the fidelity rather than degrading it. The[[162,6,14]]curve is extrapolated top = 10⁻³assumingP_L ∝ p^{d/2}withd = 12. -
Magic yield of the output state: The
|det̄⟩state (the determinant of a3 × 3matrix over𝔽₂) can be converted into two disjoint|CCZ̄⟩states, which the authors describe as optimal; at least four|T̄⟩states are needed to synthesize a CCZ. -
Fan-out gadget improves fault tolerance: The gadget converts the depth-2 CCZ circuit into a strictly transversal depth-1 circuit, preserving circuit distance at the cost of doubling the data register (but not the peak qubit count, since the ancilla patch reuses Z-syndrome ancillae).
-
Teleportation beats direct code growth: The authors note that the shared algebraic structure also permits growing the tricycle code directly into a quadcycle code, but find that the 3D–4D state-teleportation scheme has lower space-time cost and slightly better logical error rates.
-
Hardware compilation is constant-depth: Because the codes share the factors
A,B, andC, the tricycle cell is identified with the lower row of the quadcycle cell, so routing schedules coincide and the homomorphic CNOT reduces to one layer of site-matched gates; all operations admit explicit routing schedules of constant duration in array traversal times.
Methodology in Plain English
The authors split the two jobs a magic state factory must do — making magic and keeping it — between two code families, each good at one job.
First, they use tricycle codes, which support a transversal (i.e., qubit-by-qubit, no communication needed) non-Clifford CCZ gate. Three such blocks are prepared in |+̄⟩, each paired with an ancilla copy of the same code through a "fan-out gadget," and a single layer of physical CCZ gates creates an entangled nine-qubit magic state across them.
Second, they use quadcycle codes, four-dimensional generalizations of bicycle and tricycle codes built from four commuting sparse circulant matrices A, B, C, D. Because the first three matrices match those of the paired tricycle code, the tricycle code sits inside the quadcycle code, and a single layer of physical CNOTs between matched qubits implements a logical CNOT that moves the magic state across. The quadcycle code has larger, balanced distances and redundant checks in both Pauli bases, so it can be initialized and corrected in a constant number of rounds ("single-shot").
Then they measure the tricycle blocks transversally in the X basis. Any run with a nontrivial detector outcome is thrown away; accepted runs give the logical corrections to apply. Because the discarded region is small and shallow, the rejection probability stays manageable.
Finally, they simulate each tricycle–quadcycle pair under circuit-level depolarizing noise at p = 10⁻³, with a CCZ error channel of strength p and 2p, and separately simulate the quadcycle codes as memories. They compare against cultivation protocols using consistent resource accounting (normalizing by CCZ yield, since cultivation produces |T̄⟩ while this factory natively produces |det̄⟩), and work out atom-by-atom routing for a neutral-atom implementation.
Why This Matters
Impact on research: The work addresses the two missing pieces that have kept high-rate qLDPC codes out of complete architectures: a native high-throughput source of non-Clifford states that preserves the rate advantage, and single-shot error correction with strong finite-size performance. It also introduces quadcycle codes as single-shot state-preparable LDPC memories in their own right, with parameters improving on prior quadcycle constructions.
Potential applications (as framed in the paper):
- Resource states for Shor's algorithm, which the authors name as an end-to-end benchmark for future study.
- Simulations of the Fermi–Hubbard model, likewise proposed as a target workload.
- Arithmetic operations for cryptographic applications, which compile naturally to CCZ gates.
- Multiplexed rotations in quantum simulation, another CCZ-native primitive.
Industry relevance: The explicit compilation onto reconfigurable neutral-atom arrays — including planar layouts, parallel atom rearrangement, and single-Rydberg-pulse CCZ layers — connects the protocol to a concrete hardware platform, and co-authors from QuEra Computing indicate direct commercial interest. The short circuit depth is also noted as advantageous because atoms are initialized, used, and measured over few layers, limiting time for loss or leakage to accumulate.
Future Directions
-
Replace full error detection with sliding-scale postselection. Accepting a carefully chosen subset of nontrivial syndromes could raise acceptance substantially at little cost in fidelity; the current protocol rejects every nontrivial detector outcome.
-
Simulate the factories with exact CCZ gate effects. The authors suggest this can now be done efficiently with recent methods, and note that their current treatment uses a simple effective channel.
-
Deploy practical decoders. The numerical results use a most-likely-error decoder, which is a strong benchmark but too computationally expensive for real-time use; the authors point to recent machine-learning and hierarchical decoders, and to feeding atom-loss locations into the decoder if final measurements can distinguish loss from ordinary outcomes.
-
Explore higher-rate tricycle codes. Variants introduced in prior work could raise
|CCZ̄⟩throughput when paired with matched quadcycle codes, but produce more complex hypergraph states, deeper transversal CCZ circuits, and a harder extraction problem. -
Evaluate the factory inside full fault-tolerant computations. End-to-end estimates including production, storage, consumption, and scheduling of magic states alongside the Clifford portion would show how the reduced factory overhead translates into total qubit count and runtime.
Target Audience
Quantum error correction researchers and fault-tolerance architects, particularly those working on qLDPC codes, magic state distillation and cultivation, and code surgery. It is also relevant to experimentalists building reconfigurable neutral-atom arrays, and to compiler and resource-estimation teams who need concrete space-time numbers for magic state factories. Readers without a background in CSS codes, group algebras, and circuit-level noise simulation will find the code constructions and decoding sections demanding, though the introduction and comparison tables are readable at an intermediate level.
Authors’ abstract
Quantum low-density parity-check (qLDPC) codes can substantially reduce the qubit overhead of fault-tolerant quantum computation, but any useful architecture based on such codes also requires an efficient mechanism to implement non-Clifford gates in a fault-tolerant manner. We introduce a space-time-efficient magic state factory for high-rate qLDPC codes by combining the transversal non-Clifford gates of recently developed tricycle codes with single-shot four-dimensional balanced product quadcycle codes. The key ingredient is an efficient "escape" mechanism that teleports postselected logical magic states from tricycle codes to larger distance quadcycle codes. Under a standard circuit-level noise model at physical error rate $10^{-3}$, our factories produce $\mathrm{CCZ}$ states at logical error rates as low as $10^{-9}$ with 10-40 times lower space-time cost than state-of-the-art magic state generation methods. The resulting states are directly encoded in high-rate blocks suitable for computation. We identify the quadcycle codes by an AI-assisted search and show that they can serve as excellent memories capable of single-shot error correction. Finally, we present a concrete implementation of the entire factory with highly efficient atom transport on reconfigurable neutral-atom quantum computers. Together, these results provide an end-to-end, practical protocol for producing and utilizing high-fidelity magic states within a high-rate qLDPC architecture, with the lowest space-time cost to date.