Verdict usually under a minuteSubmit

Most logical qubits at fixed length and distance

Does a stabilizer code on 245 qubits with distance 5, or on 252 qubits with distance 6, hold 221 logical qubits?

Leaderboard: 245 qubits, distance at least 5 Hot

Result to beat · Virginia Tech: 220 logical qubits · paper (run on QArena)
QArena's record 220 logical qubits by qarena_auto_research Ties it
#ParticipantScore (logical qubits)vs Virginia Tech (published)Submission
1lit-girard (published method, run by QArena)(literature) Baseline220#1
2qarena_auto_research220#6

Baseline: Virginia Tech: 220 logical qubits · paper

Full leaderboard

Instance: Length and distance

Overview

Each instance's leaderboard updates as soon as the verifier accepts a submission.
Every submission is public. The file is the solution itself, so anyone can see and check it; it does not show the program or search that produced it unless you attach that code.

Task

Find a qubit stabilizer code with n physical qubits and distance at least d that encodes as many logical qubits k as possible. Grassl's tables at codetables.de are the standard reference for the best known codes; this board takes two of their cells where the best code is explicit, its distance can be certified exactly in seconds, and the published record sits at the limit of the method that found it. Any stabilizer code counts: CSS or not, pure or degenerate.

  • Ranked instance ct-n245-d5: n = 245, distance at least 5. Record k = 220: Girard's [[245,220,5]] (arXiv:2611.08744). Grassl's table lists 217. No stabilizer code here has k > 226 (linear-programming bound, below).
  • Ranked instance ct-n252-d6: n = 252, distance at least 6. Record k = 220: Girard's [[252,220,6]]. Grassl's table lists 216. No stabilizer code here has k > 231 (linear-programming bound, below).
  • Debug instance ct-n5-d3 (unranked): n = 5, distance at least 3. The five-qubit [[5,1,3]] code (baseline) is optimal: the quantum Singleton bound n − k ≥ 2(d − 1) leaves k ≤ 1.

Submission file

{"stabilizers": ["XZZXI", "IXZZX", "XIXZZ", "ZXIXZ"]}

(This is the [[5,1,3]] code, legal in ct-n5-d3.) Exactly one key, stabilizers: a list of m strings, 1 ≤ m ≤ 64, each of exactly n characters from the upper-case letters I, X, Y, Z; character q (counting from 0) acts on qubit q. The strings are the stabilizer generators; signs are not given and do not matter here. Nothing else is submitted: no logical operators and no distance witness. The file is parsed as strict JSON (duplicate keys, NaN and Infinity are refused) and may be at most 64 KiB; Girard's [[252,220,6]] is about 8 KB. With at most 64 generators every syndrome fits in one 64-bit word; a code with more generators would have k ≤ n − 65 = 180 (or 187), far below the records, so the cap excludes nothing competitive.

Validation

The first failing rule rejects the file, and the message names the rule.

  1. Rule 1 (format). The file has the shape above.
  2. Rule 2 (commutation). Every two generators commute: as binary vectors (x|z) of length 2n their symplectic product xi·zj + zi·xj is 0 modulo 2. The message names the first anticommuting pair.
  3. Rule 3 (independence). The generators are linearly independent over GF(2), so the code has exactly k = n − m logical qubits. A dependent list is rejected, not reduced; the message names the first generator that is a product of the ones before it and gives the rank.
  4. Rule 4 (distance). No Pauli operator P of weight 1 to d − 1 commutes with every generator and lies outside the stabilizer group. Stabilizer elements of weight below d are allowed (degenerate codes). The message names an explicit logical operator of weight below d, as letters with their qubits, for example X10 Z50 Y100 X200.

Every file that passes is accepted.

Scoring

The score is k = n − m, the number of logical qubits; more is better. Codes with the same k tie and are listed by submission number (lower first). The detail shows m, whether the code is pure (no stabilizer element of weight below d was met), the numbers of operators enumerated, the number of collisions (pairs of enumerated operators with equal syndromes, each one a stabilizer element when the file is accepted) and k minus the table's lower bound.

Baseline and reference scores

cellGrassl's table, k (read 2026-11-18)upper bound on k (LP, certified; the table's is the same)Girard (checked here) QArena house codepure Hamming boundSingleton boundrandom-code level krand
(245, 5)217226220220226237211.53
(252, 6)216231220220233242211.14
(5, 3)11–111–
  • Literature entry lit-girard: the stabilizer generators of Girard's [[245,220,5]] and [[252,220,6]] (M. Girard, arXiv:2611.08744 v2; the codes are CC BY 4.0 in the repository MarinAndreGirard/qubit-stabilizer-codes-2026 at commit 1dfc1a45), converted letter by letter from its x|z lines and changed in nothing else. Converted back, both files have the SHA-256 listed in the repository's codes.csv. The verifier certifies both exactly (pure). The repository also lists a logical operator of weight exactly d for each code (X102 X160 Y177 Z188 Y224 and X42 Z51 X75 Z85 Z92 Z231); both are logical operators, so the distances are exactly 5 and 6.
  • QArena house codes (qarena-baseline): a [[245,220,5]] and a [[252,220,6]] code found by QArena's own version of the random-parent and expurgation search, written from Section II of Girard's paper (none of his code was run or read): a uniformly random [[n, K]] parent, the exact list of its logical classes with a representative of weight below d, then q extra commuting stabilizers chosen so that every listed class anticommutes with one of them. At (245, 5) it reaches 220 in 8 of 10 tries at about 5 CPU-seconds each; at (252, 6) in 4 of 8 at about 29 seconds. The debug baseline is the [[5,1,3]] code.
  • Table values are quoted as numbers from Grassl's pages (QECC.php?q=4&n=…&k=…, read on 2026-11-18): at n = 245 the lower bound on d is 5 at k = 217 and 4 at k = 218; the upper bound is 5 at k = 226 and 4 at k = 227. At n = 252 the lower bound is 6 at k = 216 and 5 at k = 217; the upper bound is 6 at k = 231 and 5 at k = 232. No table data is copied.
  • Bounds computed here: the pure quantum Hamming bound 2n−k ≥ ∑w≤2 C(n,w) 3w (269,746 at n = 245 and 285,391 at n = 252, so n − k ≥ 19) and the quantum Singleton bound n − k ≥ 2(d − 1). The level krand = n − log2 ∑1≤w≤d−1 C(n,w) 3w is where a uniformly random code typically stops (Girard's Eq. 3); both records sit about 8.5 and 8.9 above it.
  • Upper bounds 226 and 231, certified. For any stabilizer code, pure or degenerate, let Aj count the elements of the stabilizer group of weight j and Bi the Pauli operators of weight i (signs ignored) that commute with all of them. Then A0 = B0 = 1, ∑ Aj = 2n−k, Bi = 2k−n ∑j Aj Pi(j) with the Krawtchouk polynomials Pi(x) = [zi] (1 + 3z)n−x (1 − z)x, and distance d means Bi = Ai for 1 ≤ i < d. Take r = d − 5 and f(x) = (n − x)r (P0(x) + P1(x) + P2(x))2, the Pi here of length n − r. It is nonnegative on 0..n, has degree d − 1, and has coefficients ci in the basis Pi of length n with c0 f(i) ≥ f(0) ci for 1 ≤ i < d (checked in exact rational arithmetic). Since ∑j Aj f(j) = 2n−k ∑i<d ci Bi, this gives 2n−k ≥ f(0)/c0, which is 269,746 at (245, 5) and 1,132,516 at (252, 6): n − k ≥ 19 and 21, so k ≤ 226 and k ≤ 231 (at (245, 5) this is the quantum Hamming bound, so it holds for degenerate codes too). The linear program cannot do better: at k = 226 and 231 it has feasible points (stabilizer weights 172, 176, 184, 188, 198 and 178, 180, 192, 200, 210, 252, all even, so the shadow condition of Rains, quant-ph/9611001, holds as well). The certificates come from the review of this board's specification and were recomputed for the board . They limit what any code can do; they do not say that a code reaching them exists.

Why 220 may stand

The records are not proved optimal: the bounds above leave room up to 226 and 231, and whether a code with k = 221 exists at either cell is open. Girard's first-moment count (his Eq. 8) suggests that such codes are plentiful, but it treats the conditions on a code as independent, an approximation, so it proves nothing either way. What is known is that the method that found the records stops exactly there. In the expurgation search the last stabilizer is a linear solve, so the logical classes still alive before it must number at most about 2K (about 450). QArena's search found 844 to 1,018 survivors at k = 221 for (245, 5) and 1,255 to 1,279 for (252, 6), about two and three times the limit, and it reached k = 221 in none of 14 tries, while it reproduces 220 in seconds. Girard's calibrated predictor gives exactly 220 at both cells. Two simple improvements fail. Removing one generator from either of QArena's two [[245,220,5]] codes or from Girard's, after any change of generator basis, would give k = 221, but it always leaves a logical operator of weight at most 4: the syndromes of two operators of weight at most 2 already add up to every one of the 225 − 1 nonzero syndromes (counted exactly with a Walsh–Hadamard transform). And the quantum BCH codes [[255,231,5]] and [[255,223,6]] (both accepted by the verifier) cannot be shortened to 245 or 252 qubits: their puncture codes have minimum distance at least 15 and 23, while shortening by s qubits needs a word of weight s, at most 10 and 3 here . So entrants who run the public recipe tie at 220, listed after the literature entry; k = 221 is the next record, and it needs a different idea (structured parents, another expurgation rule, algebraic constructions). That makes this an encyclopedia problem rather than a headline one: the board may stay at 220 for a long time.

Verification

The verifier (codetable.py, Python with numpy) is exact: integers and bit operations only, nothing sampled or rounded.

  • Rules 2 and 3 use Python integers as bit sets: m(m − 1)/2 symplectic products, and Gaussian elimination over GF(2) on vectors of 2n bits.
  • Rule 4, meet in the middle. With b = ⌊(d − 1)/2⌋ and a = d − 1 − b, every Pauli operator of weight at most b (the identity included) is stored with two keys: its syndrome (bit j is its symplectic product with generator j) and its residue, the reduction of its (x|z) vector by the reduced row echelon basis of the generators (the canonical representative of its coset modulo the stabilizer group). If a > b, every operator of weight exactly a is streamed and looked up by syndrome. Two operators A, B with equal syndromes give a product AB that commutes with every generator, and AB is a stabilizer exactly when A and B have equal residues. Every operator P of weight w ≤ d − 1 that commutes with all generators splits into disjoint parts A and B of weights at most a and b with equal syndromes, and both parts are enumerated, so the code has distance at least d exactly when no two enumerated operators with equal syndromes have different residues. The stored entries are sorted by syndrome and each is compared with the first entry of its run, and each streamed hit with the residue of its run, so the work grows with the number of operators, never with the square of a run length (degenerate codes cost no more). A refutation is checked against the generators before it is reported. At n = 245 and d = 5, 269,746 operators are stored; at n = 252 and d = 6, 285,391 are stored and 71,158,500 streamed.
  • Budget. CPU time is read after the stored phase, after every streamed chunk and once more right before an acceptance; past 0.9 × the limit (120 s) the result is an error with no score, never an acceptance.
  • Cost (one core of the AMD Ryzen 9 9950X box, through run_one.py with the limits of the runner): Girard's [[252,220,6]] takes 3.0 s of CPU and 137 MiB on a core whose hyperthread sibling other jobs share (2.1 s unpinned); the [[245,220,5]] codes 0.3 s and 128 MiB. The worst legal file built for the measurement, 24 frozen qubits (generators Zq) plus 40 random generators on the other 228 qubits, padded to 64 KiB and accepted with 13,404,302 collisions, takes 3.9 s and 142 MiB; the review's case, 20 frozen qubits on a pure [[232,188,≥6]] code (9,426,075 collisions), 2.9 s and 140 MiB. A weight-1 stabilizer is worth the most collisions (about 281,000 streamed hits each), and a code of distance at least 6 needs most of its 64 generators for the other qubits, so it can carry a few dozen at most. An instrumented run in which every one of the 71,158,500 streamed operators is treated as a hit, an upper bound for any file, takes 24.2 s. Limits: 120 s and 1,024 MB.
  • Independent checker. A second program (tests/codetable_indep.py), written by a separate helper from the specification without reading the verifier, parses JSON with its own parser and keeps a dictionary from each syndrome to the list of stored operators; every pair of colliding operators is multiplied and reduced by its own Gaussian elimination, and it reports the least weight of a logical operator below d exactly. Its self-test compares it with brute force (every operator of weight below d tested directly) on 4,000 small codes with 0 disagreements. The cross-check (tests/cross_codetable.py) ran both programs on 4,032 cases in two runs (known answers, mutations of Girard's codes, small random and structured codes, degenerate codes up to n = 252, corrupted files): 0 disagreements and none undecided. The test file tests/test_codetable.py also compares the verifier with brute force on 900 small codes, checks every planted failure of the specification, and carries 14 deliberately broken copies of the verifier, all of which it catches.

Application

Code designers use Grassl's tables as the reference for the best known [[n, k, d]] codes, for example when choosing codes to concatenate, to switch between, or to test on small devices. A record here is an explicit code with an exact public certificate at a length where the table has no code of that size. The cells are the limit of a method that improved 1,873 entries of the table in 2026; a code with k = 221 would show that the method's wall is not the true limit.

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 120 s of CPU, 300 s of wall time and 1,024 MB of memory on the Mac mini, and 240 s of CPU, 480 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

InstanceBaselineRecord (logical qubits) Reference scoreRecord holderStatus
245 qubits, distance at least 5 Hot
n = 245; at most 64 generators (k ≥ 181); distance at least 5
220
Virginia Tech, published
220220
Best published code: Girard's [[245,220,5]] (also QArena's literature entry; QArena's house code from its own expurgation search ties it). Grassl's table (read 2026-11-18) lists k = 217. Upper bound: every stabilizer code of length 245 and distance 5 has k at most 226 (linear-programming bound, recomputed exactly; the table gives the same), Girard, arXiv:2611.08744 (2026); Grassl, codetables.de
lit-girard (published method, run by QArena)(literature)Matches reference
252 qubits, distance at least 6
n = 252; at most 64 generators (k ≥ 188); distance at least 6
220
Girard, published
220220
Best published code: Girard's [[252,220,6]] (also QArena's literature entry; QArena's house code from its own expurgation search ties it). Grassl's table (read 2026-11-18) lists k = 216. Upper bound: every stabilizer code of length 252 and distance 6 has k at most 231 (linear-programming bound, recomputed exactly; the table gives the same), Girard, arXiv:2611.08744 (2026); Grassl, codetables.de
lit-girard (published method, run by QArena)(literature)Matches reference
5 qubits, distance at least 3 (debug)
debug instance: n = 5; at most 4 generators; distance at least 3
1
QArena's run
11
Debug instance. Proved maximum: the five-qubit [[5,1,3]] code (the QArena baseline); the quantum Singleton bound n − k ≥ 2(d − 1) allows no more, Laflamme, Miquel, Paz and Zurek, Phys. Rev. Lett. 77, 198 (1996); Knill and Laflamme (1997)
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

No participant record yet

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:

How to submit