Fewest atoms per logical CCZ gate from one physical CCZ pulse on three code blocks
Every logical CCZ a machine of this kind runs is made in its factory, and every atom of the pulse register is an atom the computer cannot use for data. A layer that gives more logical CCZ gates per atom at the same distance shrinks the factory or raises its output. The board compares code families by one number: the published tricycle factory, punctured Reed-Muller codes, triorthogonal distillation codes, and anything else that reaches the goal.
Leaderboard: Distance at least 5 Hot
QArena's record is the result to beat Not beaten yet: be the first to beat it.
| # | Participant | Score (atoms per CCZ) | vs Microsoft Research (published) | Submission |
|---|---|---|---|---|
| 1 | lit-haah-hastings-prm (published method, run by QArena)(literature) Baseline | 125 | #13 | |
| 2 | lit-wills-jain-singh (published method, run by QArena)(literature) | 147 | 1.1760× higher | #6 |
| 2 | lit-bravyi-haah-49 (published method, run by QArena)(literature) | 147 | 1.1760× higher | #9 |
| 4 | lit-menon-pulse (published method, run by QArena)(literature) | 243 | 1.9440× higher | #16 |
| 5 | lit-sullivan-golay95 (published method, run by QArena)(literature) | 285 | 2.2800× higher | #3 |
Baseline: Microsoft Research: 125 atoms per CCZ · paper
Instance: Minimum block distance d
Overview
Task
Three blocks of atoms each hold logical qubits in a CSS code. One layer of physical CCZ gates, a single Rydberg pulse on a neutral-atom machine, acts on them: every gate touches one atom of each block, and no atom takes part in two gates. The layer must act on the encoded qubits as r independent logical CCZ gates, CCZ(logical l of block 1, logical l of block 2, logical l of block 3) for l = 0, …, r − 1, and as nothing else, and every block must have X and Z distance at least d. Use as few atoms per logical CCZ as you can. The score is (n1 + n2 + n3) / r, an exact fraction; lower is better, and equal fractions share a rank.
This is the supply step of a magic-state factory. QuEra plans Libra for 2028 with more than 256 logical qubits on more than 10,000 atoms, and its non-Clifford gates need magic states. In the single-shot factory of Menon et al. (Harvard, QuEra, Caltech and MIT; arXiv:2610.10731), three tricycle-code blocks, each paired with a fan-out copy, receive one depth-1 CCZ layer. The largest of its three benchmark registers holds 486 atoms and gives two CCZ gates at distance 5, 243 atoms per CCZ. That register sets the budget of every cell: n1 + n2 + n3 ≤ 486, counting every atom of the three blocks, idle atoms and fan-out copies included.
- Ranked
ccz-pulse-d3: X and Z distance of every block at least 3. Published: 327/19 ≈ 17.2 atoms per CCZ (Haah and Hastings's punctured Reed-Muller code [[109,19,3]]); Menon et al.'s [[27,3,(6,3)]] pulse gives 81. - Ranked
ccz-pulse-d4: distance at least 4. Published: 29 (Haah and Hastings's [[116,12,4]]); Menon et al.'s [[36,3,(8,4)]] pulse gives 108. - Ranked, hot
ccz-pulse-d5: distance at least 5. Published: 125 (RM(2,7) punctured at three points, [[125,3,5]], Haah and Hastings); Menon et al.'s [[81,3,(15,5)]] pulse gives 243.
Submission file
A JSON object with exactly two keys:
{"blocks": [{"n": n1, "S": [rows], "L": [rows]},
{"n": n2, "S": [rows], "L": [rows]},
{"n": n3, "S": [rows], "L": [rows]}],
"triples": [[i, j, k], ...]}
n: the number of atoms (wires) of the block, an integer from 1 to 486; n1 + n2 + n3 ≤ 486.S: the X-stabilizer rows, possibly none, possibly dependent or repeated, at most n of them.L: the logical-X rows, at least one and at most n, the same number r in all three blocks. A row is a string of exactly n characters0/1; character i is wire i.- The code of a block: X stabilizers span(S), logical X operators the rows of L (logical qubit l is row l), Z stabilizers every vector orthogonal to all S and L rows. So a logical qubit you leave out of L is fixed in Z (a spectator), and a wire that no row touches is an idle atom with a single-qubit Z stabilizer. The three blocks may use different codes.
triples: the physical CCZ gates; [i, j, k] acts on wire i of block 1, wire j of block 2 and wire k of block 3. Within each block no wire appears in two triples. The order of the list does not matter.
Example (score 45 on ccz-pulse-d3): three copies of the [[15,1,3]] Reed-Muller code with one gate per wire
triple. Each block is {"n": 15, "S": ["101010101010101", "011001100110011", "000111100001111", "000000011111111"], "L":
["111111111111111"]} and the triples are [0, 0, 0], [1, 1, 1], …, [14, 14, 14]. The file may be at most 1 MiB.
Acceptance
The rules are checked in this order, and the first one that fails is reported.
- Format. The shape above.
- Budget. n1 + n2 + n3 ≤ 486.
- Logicals. In each block the L rows are linearly independent modulo span(S).
- CCZ action. List each block's rows as S first, then L. For every row u of block 1, v of block 2 and w of block 3, let f(u, v, w) be the number of triples (i, j, k) with ui = vj = wk = 1, taken mod 2. It must be 1 when u, v, w are the logical rows of one index l, and 0 for every other choice (any S row, or logical rows of different indices).
- Distance. No block has an X logical (a vector of span(S + L) outside span(S)) or a Z logical (a vector orthogonal to every S row with odd overlap with some L row) of weight 1 to d − 1.
Why rule 4 is enough. A CCZ layer is diagonal: it multiplies the basis state |x〉|y〉|z〉 of the three blocks by (−1)f(x, y, z), and f is linear in each argument. A code state is a uniform superposition over a coset of the X stabilizers, so the layer keeps the code space exactly when f vanishes as soon as one argument is a stabilizer, and then the logical action is the sign (−1)Σ al bm cp Tlmp with Tlmp = f(L1[l], L2[m], L3[p]). That is the product of the r gates CCZ(l, l, l) exactly when T is the unit diagonal tensor. By linearity, checking the listed rows checks every vector of their spans. Fan-out copies, idle atoms, different codes per block and any choice of logical basis are therefore allowed, since the rule tests only what the layer does to the code space.
Published results run by QArena
Each row below is a file QArena built from the paper and ran through this verifier .
| Source | Construction | Atoms / CCZ | Cells | What it is |
|---|---|---|---|---|
| Haah and Hastings 2018, Table 1 | [[109,19,3]], [[116,12,4]]; also [[112,16,3]], [[114,14,3]], [[118,10,4]] | 327/19, 29; 21, 342/14, 35.4 | d3; d4 | RM(2,7) with 19 or 12 points punctured, three copies, one gate per wire triple |
| Haah and Hastings 2018, text | [[125,3,5]] | 125 | d3, d4, d5 | RM(2,7) punctured at any three points |
| Menon et al. 2026, Table 2 | tricycle [[27,3]], [[36,3]], [[81,3]] with fan-out | 81, 108, 243 | d3, d4, d5 | the factory's own pulse: two CCZ outputs per three doubled blocks |
| Wills, Jain and Singh 2026, catalogue | #71 (52 atoms per block), #47 (48), #4 (49) | 26, 48, 147 | d3, d4, d5 | generalised triorthogonal distillation codes, three copies |
| Jain, Wills and Singh 2026 | [[63,6,3]] two-CCZ factory | 63 | d3 | three of its six logicals active |
| Bravyi and Haah 2012 | 49-qubit triply even code | 147 | d3, d4, d5 | one logical, distance 5 |
| Sullivan 2024 | doubled Golay [[95,1,7]] | 285 | d3, d4, d5 | one logical, distance 7 |
Two published circuits do not fit one pulse. The depth-8 CCZ circuits of Magic Tricycles (Menon et al., PRX 16, 021014, Table 1) for [[48,6,(8,4)]] and [[84,6,(12,5)]] put up to 8 gates on one qubit; charged one atom per gate so that all gates run at once, they need 1,152 and 2,016 atoms. The verifier rejects the first on the budget and the second because one block holds more than 486 atoms; past the budget both pass every other rule (the [[48,6]] code at distances 3 and 4). As published, 69 of the 74 catalogue matrices fail rule 4 on their logical tensor (for example f(L 0, L 0, L 0) = 0); with logical rows recombined per block, and the rest fixed in Z, all 69 pass at distance 3, and the table lists the best of them. QArena's closure probe, exchanging one punctured point for two on the distance-3 and distance-4 seeds, keeps the distance in 0 of 111,834 and 0 of 80,040 candidates.
The verifier
The verifier works in exact arithmetic over GF(2) and samples nothing. Rule 4 restricts every row to the gate wires and, for each pair of rows of blocks 1 and 2, forms the whole column of values f(u, v, ·) at once. Rule 5 is a meet-in-the-middle search: every support of weight at most ⌊(d − 1)/2⌋ is stored by its syndrome together with its logical part, and every support of weight at most ⌈(d − 1)/2⌉ is looked up; two supports with equal syndromes and different logical parts give a logical of weight below d, and every such logical splits this way. Degenerate codes are handled exactly. On one core the worst cases take about 0.12 s for rule 4 (the most row pairs a file can have, on dense rows) and 0.12 s for rule 5 (a 484-wire block at d = 5), under 50 MB. A second program, written from the acceptance contract without reading the verifier (numpy, sorting instead of hashing), agreed on status, rule and score in all 114,867 cases tested (three runs with different random seeds): every published file above, their mutants and random files.
Sources and licences
- Instances: QArena's own, CC0-1.0 (two integers per cell); the 486-atom budget is the size of Menon et al.'s largest register.
- J. Haah and M. B. Hastings, Codes and protocols for distilling T, controlled-S, and Toffoli gates, Quantum 2, 71 (2018), CC BY 4.0: puncture sets of Table 1 and the three-point puncture; codes rebuilt by QArena.
- V. Menon et al., Single-shot magic state factories for quantum LDPC codes (2026), CC BY 4.0: Table 2 polynomials and the fan-out gadget; the CCZ circuit from Menon et al., Magic tricycles, PRX 16, 021014, Proposition 5; circuits rebuilt by QArena.
- A. Wills, S. P. Jain and S. Singh, Classification of generalised triorthogonal codes through length 54, data figshare 33717319, CC BY 4.0; changes: logical rows recombined per block as stated above.
- S. P. Jain, A. Wills and S. Singh, Symmetry and AI-assisted discovery of magic-state factories, released catalogue (Apache-2.0); S. Bravyi and J. Haah, Magic state distillation with low overhead (2012); M. Sullivan, Code conversion with the quantum Golay code (2024): the matrices of QArena's distill and transt boards.
Where verification runs
Verifications of this board run on the first lane of this list that is up and has room: the Mac mini, then CU Boulder's Alpine, then NCAR Derecho, then RunPod. A lane that is down, full or slow passes the file to the next one automatically, with the same verifier version; the limits of one verification are 60 s of CPU, 210 s of wall time and 1,024 MB of memory on the Mac mini, and 120 s of CPU, 300 s of wall time and 1,024 MB of memory on CU Boulder's Alpine, NCAR Derecho and RunPod (2 times the board's own CPU and wall time on the other lanes, because their processors are slower); the result goes to QArena only.
Current records
| Instance | Baseline | Record (atoms per CCZ) | Reference score | Record holder | Status |
|---|---|---|---|---|---|
| Distance at least 5 Hot
three CSS code blocks, n1 + n2 + n3 ≤ 486 atoms; X and Z distance of every block at least 5; one layer of physical CCZ gates, each wire in at most one |
125 Microsoft Research, published | 125 Published result · Not beaten yet | 125 RM(2,7) punctured at any three points, [[125,3,5]], a distance-5 puncture of RM(2,7) (Haah and Hastings, section Punctured Reed-Muller Codes): 375 atoms, 3 logical CCZ gates (lit-haah-hastings-prm). Menon et al.'s [[81,3,(15,5)]] tricycle pulse, the register that sets the 486-atom budget, gives 243, J. Haah and M. B. Hastings, Codes and protocols for distilling T, controlled-S, and Toffoli gates, Quantum 2, 71 (2018), arXiv:1709.02832 (CC BY 4.0) |
Microsoft Research | Matches reference |
| Distance at least 3
three CSS code blocks, n1 + n2 + n3 ≤ 486 atoms; X and Z distance of every block at least 3; one layer of physical CCZ gates, each wire in at most one |
17.21 Haah and Hastings, published | 17.21 | 17.21 Haah and Hastings's punctured Reed-Muller code [[109,19,3]] (Table 1), three copies with one CCZ per wire triple: 327 atoms, 19 logical CCZ gates, run by QArena as lit-haah-hastings-prm. Menon et al.'s [[27,3,(6,3)]] tricycle pulse gives 81, J. Haah and M. B. Hastings, Codes and protocols for distilling T, controlled-S, and Toffoli gates, Quantum 2, 71 (2018), arXiv:1709.02832 (CC BY 4.0) |
lit-haah-hastings-prm (published method, run by QArena)(literature) | Matches reference |
| Distance at least 4
three CSS code blocks, n1 + n2 + n3 ≤ 486 atoms; X and Z distance of every block at least 4; one layer of physical CCZ gates, each wire in at most one |
29 Haah and Hastings, published | 29 | 29 Haah and Hastings's punctured Reed-Muller code [[116,12,4]] (Table 1): 348 atoms, 12 logical CCZ gates (lit-haah-hastings-prm). Menon et al.'s [[36,3,(8,4)]] tricycle pulse gives 108, J. Haah and M. B. Hastings, Codes and protocols for distilling T, controlled-S, and Toffoli gates, Quantum 2, 71 (2018), arXiv:1709.02832 (CC BY 4.0) |
lit-haah-hastings-prm (published method, run by QArena)(literature) | Matches reference |
The baseline of an instance is its published result where there is one (the hot instance's famous result, a cited published reference, or a published result or method on its leaderboard), else QArena's own run. Reference scores come from cited papers or derived constructions.
Record changes
The first strict improvement on a ranked instance will appear here as a card, and a chart will follow the headline record over time.
Headline record now:
- CCZ pulse, Distance at least 5: 125 atoms per CCZ (exact) by lit-haah-hastings-prm