Shrink the cubic T-state factory
Can fewer than fifteen noisy T states give one T state with cubic error suppression?
Leaderboard: Cubic suppression, at most 15 inputs Hot
QArena's record 15 noisy T states by qarena_auto_research Ties it
| # | Participant | Score (noisy T states) | vs Caltech (published) | Submission |
|---|---|---|---|---|
| 1 | lit-bravyi-kitaev-15 (published method, run by QArena)(literature) Baseline | 15 | #4 | |
| 2 | qarena_auto_research | 15 | #5 |
Baseline: Caltech: 15 noisy T states · paper
Instance: Suppression order and input limit
Overview
Task
Build one good T state, |T〉 = (|0〉 + eiπ/4|1〉)/√2, from n noisy ones, and use as few of them as possible. Each input is, independently,
ρp = (1 − p)|T〉〈T| + p Z|T〉〈T|Z,
so it is faulty with probability p. Clifford gates and stabilizer measurements are ideal. The factory measures n − 1 commuting Pauli operators (the stabilizers) on the n inputs, keeps the run only when every outcome is +1, and decodes the one logical qubit that is left. A factory has cubic error suppression when its output error is c·p3 + O(p4): no pattern of one or two faulty inputs may get through with a wrong output.
The 15-to-1 factory of Bravyi and Kitaev (arXiv:quant-ph/0403025) does this with fifteen inputs and error 35p3. Whether fifteen are needed is open. Balada Gaggioli and Mareček, “The limits of magic-state distillation” (arXiv:2610.31115, October 2026), prove that for tolerating input faults every stabilizer protocol, however adaptive, postselected or multistage, is matched by a projection onto a single stabilizer code, which is exactly the kind of factory this board takes. They prove that cubic suppression of one T state needs at least ten inputs, and they name the range from ten to fifteen as an open gap. A file with fourteen or fewer inputs on the ranked instance would be a new result.
| Instance | Inputs allowed | Required | Diagnostics at | Kind |
|---|---|---|---|---|
t-cubic-p1000 | n ≤ 15 | every pattern of 0, 1 or 2 faulty inputs harmless | p = 1/1000 | ranked |
t-nine-debug | n ≤ 9 | every pattern of 0 or 1 faulty inputs harmless | p = 1/1000 | debug |
t-identity-debug | n = 1 | a correct fault-free output | p = 1/1000 | debug |
The board asks one question: how many noisy inputs does one accepted run consume. It does not rank the acceptance probability, the number of inputs per accepted output, or the space-time cost of a factory; those are shown or left to later accounting.
Submission file
The complete QArena baseline of t-cubic-p1000, the 15-to-1 factory:
{"n": 15,
"stabilizers": ["+XIXIXIXIXIXIXIX", "+IXXIIXXIIXXIIXX", "+IIIXXXXIIIIXXXX", "+IIIIIIIXXXXXXXX",
"+IZZZZIIIIIIIIII", "+ZIZZIZIIIIIIIII", "+ZZIZIIZIIIIIIII", "+IZZIIIIZZIIIIII",
"+ZIZIIIIZIZIIIII", "+ZZIIIIIZIIZIIII", "+ZZZZIIIZIIIZIII", "+ZIIZIIIZIIIIZII",
"+IZIZIIIZIIIIIZI", "+IIZZIIIZIIIIIIZ"],
"logical_x": "+XXXXXXXXXXXXXXX",
"logical_z": "-ZZZZZZZZZZZZZZZ"}
- Exactly four fields.
nis an integer with 1 ≤ n ≤ the instance's limit (15 on the ranked instance). stabilizerslists exactly n − 1 signed Pauli strings;logical_xandlogical_zare two more. A string is one sign character,+or-, followed by exactly n letters fromIXYZ; letter j + 1 acts on input j, and the string means the sign times the tensor product of its letters.- Nothing else is submitted: no circuit, decoder, acceptance rate, noise polynomial or claimed score. A file may have at most 65,536 bytes, 128 JSON arrays and objects, 512 quotation marks and 512 commas (a legal file needs 2, 40 and 16). Duplicate keys, unknown fields, booleans or floats in place of integers, other letters, other signs and strings of the wrong length are rejected.
Validation
The verifier (site/verifiers/cubict.py, standard-library Python) accepts a file exactly when all of the following hold.
- The stabilizers S1, …, Sn−1 commute pairwise.
- They are independent: their unsigned symplectic vectors have rank n − 1 over GF(2), so no product of them is +I or −I.
- X̄ =
logical_xand Z̄ =logical_zcommute with every stabilizer and anticommute with each other. The verifier sets Ȳ = i X̄ Z̄, the exact operator product with its sign. - Let Π = 2−(n−1) ∏j (I + Sj), the projector onto the accepted outcome (it has rank two), and
A(p) = Tr(Π ρp⊗n), U(p) = [Tr(Π X̄ ρp⊗n) + Tr(Π Ȳ ρp⊗n)] / √2, B(p) = (A(p) − U(p)) / 2.
A is the probability that a run is accepted, and B is the probability that it is accepted with a wrong output: the logical state is compared with the T state of the submitted frame, the +1 eigenstate of (X̄ + Ȳ)/√2. The file is accepted when A(0) > 0 and the coefficients of p0, …, pd−1 in B(p) are zero, with d = 3 on the ranked instance (d = 2 and d = 1 on the two debug instances).
Why the coefficients decide every fault pattern. A pattern e of faulty inputs has an accepted-and-wrong weight be ≥ 0, and B(p) = ∑e p|e|(1 − p)n−|e| be. The coefficient of p0 is b0; once it is zero the coefficient of p1 is the sum of be over the single faults, and so on. Zero coefficients below pd therefore force be = 0 for every individual pattern of fewer than d faults: a harmful pattern cannot hide behind a cancellation, because nothing in the sum is negative.
How it is computed. A Pauli operator is kept as irXxZz with two bit masks and r modulo 4. The verifier walks through the 2n−1 elements g of the stabilizer group in Gray-code order and looks at the three words g, X̄g and Ȳg. A word that contains a letter Z has expectation zero on the inputs; a word with w letters X or Y and sign σ has expectation σ·2−w/2(1 − 2p)w. Three signed integer histograms over w give A, U and B as polynomials with coefficients in Z[√2], and every decision is the sign of a number a + b√2 with integers a and b, taken from the signs of a and b and a comparison of a2 with 2b2. No sampling and no floating-point number enters a decision. At fifteen inputs the walk visits 3 × 214 = 49,152 words.
Diagnostics. Every accepted result also reports, as exact values (a + b√2)/den in hexadecimal and as decimals: A(0); A(p*) and the output error q = B(p*)/A(p*) at p* = 1/1000, with all fault orders included; the leading coefficient c of the error c·pd; the derived Ȳ; and whether q is within the instance's reference ceiling (10−7 on the ranked instance). The ceiling is a diagnostic and never rejects a file: it would cap the leading coefficient near 100, and a correct factory with fewer inputs and a larger coefficient still answers the board's question. A factory with a very small acceptance probability can be a mathematical record without being practical, so the acceptance probability is shown beside every entry.
Limits. The limits are 30 s of CPU time and 128 MiB. On one core of an AMD Ryzen 9 9950X the largest legal file takes
0.04 s and 13 MiB, Python's start included. A verification that runs out of time returns error and no score; the clock is
read every 256 group elements and immediately before acceptance.
Independent check. A second program (site/tests/cubict_indep.py), written from the specification by a helper that
never saw the verifier, works with states instead of Pauli expectations: it builds the two encoded basis states as exact vectors of
Gaussian integers, obtains the overlaps with all 2n fault patterns by a Walsh–Hadamard transform over
Z[eiπ/4], and tests each pattern of fewer than d faults by itself, the definition rather than the polynomial test. The two
programs were run on the same 98,303 files: every possible file with one or two inputs, random stabilizer codes with random
logical frames up to fifteen inputs, the baselines under every symmetry of the input state, every one-letter change and sign flip of
the nine-input and fifteen-input factories, and malformed files. They agreed on every verdict, on every exact value of the accepted
files and on the complete polynomials A and B of every valid code (0 disagreements).
Scoring
The score is n, the number of noisy T states; fewer rank first. There is no tie-break: factories with the same n are tied and are listed by submission number. The acceptance probability A(0) and the output error at p = 1/1000 are displayed and do not rank. Do not expect the objective to change after a record.
Baseline and reference values
| Instance | QArena baseline | A(0) | Error | Error at p = 1/1000 | What is known |
|---|---|---|---|---|---|
t-cubic-p1000 | 15 inputs, the 15-to-1 factory | 1/1024 | 35p3 + … | 3.5105 × 10−8 | at least 10 inputs are needed; 10 to 14 are open |
t-nine-debug | 9 inputs, the factory below | 1/128 | (27/2)p2 + … | 1.3531 × 10−5 | 9 is the proved minimum for quadratic suppression |
t-identity-debug | 1 input, no stabilizer | 1 | p | 10−3 | 1 is the minimum |
The 15-to-1 baseline. The inputs are the fifteen nonzero points of GF(2)4. The four X stabilizers are the coordinate functions, the ten Z stabilizers span the dual of the punctured Reed–Muller code they generate with the all-ones word, and X̄ = +X⊗15, Z̄ = −Z⊗15, so Ȳ = +Y⊗15. With s = 1 − 2p,
A(p) = (1 + 15s8) / 214, B(p)/A(p) = (1 + 15s8 − 15s7 − s15) / (2(1 + 15s8)).
The acceptance 1/1024 belongs to the one selected outcome of the fourteen measurements; a factory that also accepts and corrects other outcomes has a higher rate, which this board does not count.
The nine-input debug factory is Proposition 7 of Balada Gaggioli and Mareček, with its eight signed stabilizers as printed there:
{"n": 9,
"stabilizers": ["-XZIIZIIIX", "+XIZIZIIXI", "+ZXZZIIXZI", "+ZZXIZXIIZ",
"-YXYIXIIZZ", "-YYXXIIIII", "+IZIZZIZII", "+IIZZZZIII"],
"logical_x": "-XXXXXXXXX",
"logical_z": "-ZXXIIXXXX"}
The verifier reproduces the paper's polynomials exactly: A(p) = D(p)/256 and error N(p)/D(p) with D = 2 − 15p + 87p2 − 256p3 + 408p4 − 336p5 + 112p6 and N = 27p2 − 141p3 + 324p4 − 384p5 + 224p6 − 48p7, and the independent checker reproduces its counts of harmful patterns, 36, 45, 90, 75, 76, 15, 6 and 1 at two to nine faults. The paper's own frame (X̄ = −IIIIZIZXI, Z̄ = −IIIXZXXXI) gives the same values. The factory is quadratic, so the ranked instance rejects it.
What is known about the gap (checked on 2026-11-17).
- Lower bound 10: no stabilizer protocol with eight or fewer inputs has quadratic suppression (an exhaustive computer search over signed stabilizer codes), and one more order of suppression costs at least one more input (Balada Gaggioli and Mareček, Proposition 5 and Lemma 13; their Table 1 lists the cubic T state with lower bound 10 and upper bound 15, and their discussion names “cubic and quartic distillation of one T state (10 to 15 and 11 to 48 inputs)” as the main gaps).
- The known families stop at fifteen. The smallest stabilizer code of distance 3 with a transversal gate outside the Clifford group is the 15-qubit Reed–Muller code, a theorem of Koutsioumpas, Banfield and Kay (arXiv:2210.14066); Nezami and Haah classified the small triorthogonal codes (arXiv:2107.09684); and in a SAT search with time limits over circuits of Z-diagonal Pauli rotations, Jacinto, Valcarce, Barizien, Gouzien and Sangouard report that “for d = 3, the 15-to-1 protocol is the minimum T-count we found” (arXiv:2606.07734). None of these results covers every stabilizer code: the nine-input quadratic factory lies outside all of these families, and whether a cubic factory with fewer than fifteen inputs exists outside them is the open question.
- No published proof shows that fifteen is optimal over all stabilizer protocols, and no published factory uses fewer. If a proof appears, the ranked instance is closed and will be marked so.
What a record means
An accepted file is a proof, checked in exact arithmetic, that the submitted code turns n noisy T states into one T state with no harmful pattern of fewer than three faults under the stated noise model. It does not include faults in the Clifford operations, the rate of accepted runs, the measurement circuit or its space-time volume, and it says nothing about factories for other states. The usual twirling argument makes the Z-fault model general for T-state inputs; the reductions to one code projection are those of the paper cited above.
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 30 s of CPU, 165 s of wall time and 128 MB of memory on the Mac mini, and 60 s of CPU, 210 s of wall time and 128 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 (noisy T states) | Reference score | Record holder | Status |
|---|---|---|---|---|---|
| Cubic suppression, at most 15 inputs Hot
n ≤ 15; every pattern of one or two faulty inputs must be harmless; diagnostics at p = 1/1000 |
15 Caltech, published | 15 | 15 Best published factory: the 15-to-1 of Bravyi and Kitaev, error 35p³ (also the QArena baseline). At least 10 inputs are needed; 10 to 14 are open, Balada Gaggioli and Mareček, The limits of magic-state distillation (2026), Table 1 |
lit-bravyi-kitaev-15 (published method, run by QArena)(literature) | Matches reference |
| One input, no suppression (debug)
debug instance, n = 1: the fault-free output must be correct; the identity factory has A = 1 and error p |
1 QArena's run | 1 | 1 One input is the minimum; the baseline is the identity factory |
qarena-baseline (QArena's run)(QArena) | Matches proved optimum |
| Quadratic suppression, at most 9 inputs (debug)
debug instance, n ≤ 9; every single faulty input must be harmless; diagnostics at p = 1/1000 |
9 QArena's run | 9 | 9 Proved minimum for quadratic suppression (computer-assisted); the baseline is the published nine-input factory, error (27/2)p², Balada Gaggioli and Mareček (2026), Propositions 5 and 7 |
qarena-baseline (QArena's run)(QArena) | Matches proved optimum |
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:
- Cubic T factory, Cubic suppression, at most 15 inputs: 15 noisy T states (exact) by lit-bravyi-kitaev-15