Verdict usually in about 4 minutesSubmit

Smallest largest run: Shor's algorithm on one secp256k1 key, split into runs

Ekerå's split variant of Shor's algorithm (2019 to 2024) trades one long run for several shorter ones. With the same arithmetic on both sides the per-run gain of splitting at 256 bits is modest (QArena's adder: 1.49 times between its best split under the campaign cap and its best single run), so most of a record's gain must come from cheaper arithmetic inside a run. The board makes the source of a gain visible: every result reports its split gain over the same adder run unsplit.

STATISTICAL VERIFICATION — the adder is checked on 9,024 sampled input/measurement trials (not a proof of coherent equivalence); a split row's success rate is a simulation (12,000 campaigns, twice, one-sided 99 % Clopper-Pearson >= 0.99); a single-run row's success is Ekerå's proved bound.

Leaderboard: secp256k1, one key, 15 frozen rows Hot

Result to beat · Microsoft: 720,303,373,544 Toffoli × qubits of the largest run · paper (run on QArena)
Reproduced by QArena from the paper; slightly better than the paper's own count of 774,981,677,043.
QArena's record 15,748,024,544 Toffoli × qubits of the largest run by qarena_auto_research Beats it: 45.7393× lower
#ParticipantScore (Toffoli × qubits of the largest run)vs Microsoft (published)Submission
1qarena_auto_research15,748,024,54445.7393× lower#2
2lit-haner-2020 (published method, run by QArena)(literature) Baseline720,303,373,544#5

Baseline: Microsoft: 720,303,373,544 Toffoli × qubits of the largest run · paper

Full leaderboard

Instance: Key and frozen rows

Overview

Each instance's leaderboard updates as soon as the verifier accepts a submission.
Every submission is public: the file holds your whole adder circuit and your plan, so anyone can replay the check with the published seed and recompute the score.
STATISTICAL VERIFICATION — the adder is checked on 9,024 sampled input/measurement trials (not a proof of coherent equivalence); a split row's success rate is a simulation (12,000 campaigns, twice, one-sided 99 % Clopper-Pearson ≥ 0.99); a single-run row's success is Ekerå's proved bound. Every result of this problem carries this label. An adder that is wrong on fewer than about 1 input in 10,000 will usually pass a single check, as on secp256k1-pointadd; every record is checked again with a fresh seed at each audit, and a record that fails any re-run leaves the ranking.

Task

Shor's algorithm finds a secp256k1 key d from Q = [d]G. Ekerå's variant with tradeoffs (Ekerå and Håstad 2017; Ekerå 2019 to 2024) runs it as n shorter quantum runs whose outcomes a classical lattice computation combines. One run prepares an exponent a of m + ς bits and an exponent b of ℓ bits in uniform superposition, computes [a]G − [b]Q into an accumulator, applies the inverse quantum Fourier transform to both exponent registers and measures them (m = 256 is the bit length of the group order r, ς the padding, ℓ = ⌈m/s⌉ for split factor s, or a shorter b-register searched classically for a single run). A machine that cannot keep a long run coherent cares about the largest run, so this board ranks the Toffoli count of one run times its number of logical qubits.

You submit a point-addition circuit and a plan. The circuit is a secp256k1-pointadd file in load form: the bits of the classical point Q (registers 2 and 3) may only switch X gates on and off. Then every maximal block of such X gates can be replaced by a quantum table lookup that writes the coordinates of a looked-up point instead, and the same circuit adds a point chosen by a quantum address. The plan names one frozen success row of the instance (split factor, padding, exponent bits and number of runs, each row with a success rate of at least 0.99) and cuts the two exponent registers into windows. The board fixes everything else in the run, prices every lookup, and computes the run's Toffolis and qubits exactly. The instance is secp256k1-split-v1.

This board has two formats. Everything below up to "Verification and cost" describes the first format, qecc-split-v1, in which the board fixes the run and prices it by formula; current entries use it and keep their verdicts and scores. The second format, qecc-split-v2 (section "Second format" below), lets a file declare its own run: any window and table scheme the verifier can recompute, its own circuits counted as built, any number of runs, its own classical post-processing as a program the verifier runs, and an approximate adder whose failure and flag rates QArena measures. Both formats rank by the same number, largest_run. The first format's formula is an upper bound: it prices every lookup and every unload as a full unary-iteration lookup of 2w − 1 Toffolis, so a cheaper construction (for example a measurement-based unload) scores better when it is submitted in the second format, where every gate is counted as built. The same run rebuilt in the second format never scores worse than in the first.

The run circuit (fixed by the board)

  1. Key blinding. For each campaign the classical controller draws ρ uniformly from [0, r) and uses Q′ = Q + [ρ]G in place of Q; the campaign recovers d′ = d + ρ and outputs d = d′ − ρ, the full 256-bit key, checked by [d]G = Q. Since d′ is uniform whatever d is, a row's success rate, simulated for uniform keys, holds for every key, and an adder's rare failures cannot be aimed at particular keys. If Q′ = O (probability 1/r; then d = −ρ), the controller draws ρ again.
  2. Windows. Register a (m + ς bits) and register b (ℓ bits) are each cut into consecutive windows of 1 to 24 bits, listed from bit 0 upward (windows_a, windows_b); a window never spans the two registers. A window of register a covering bits [o, o + w) has the table T[k] = [k·2o + c]G, a window of register b the table T[k] = [c]G − [k·2o]Q′, k ∈ [0, 2w). The controller draws a fresh offset c uniformly from [1, r) for every window of every run; the offsets shift a by a known constant, which leaves the output distribution unchanged.
  3. Order. Each register's windows are processed from its top window down; the two registers may interleave. The first window processed is the top (last-listed) window of the register named by direct: its wd address qubits are prepared in |+⟩wd and its entry T[k] is looked up straight into the accumulator (512 qubits, all zero before): no addition.
  4. Windowed addition. Every other window: prepare its w address qubits in |+⟩w, then run the adder's records with each load block replaced by one table lookup with address k: for every record of the block, bit i of T[k]'s x coordinate (offset_x bit i) or y coordinate (offset_y bit i) is XORed into the record's target qubit. On every basis state |k⟩|P⟩ this is exactly one secp trial with Q = T[k], which leaves P + T[k] in the accumulator, a clean workspace and no phase.
  5. Measurement (the windowed semiclassical QFT, Griffiths and Niu 1996). After its addition a window's address qubits are measured one at a time, the most significant first. The qubit of exponent bit i of a register of N bits gets the phase e+2πi·L/2N−i on |1⟩, where L = ∑t<N−1−i jt2t collects every earlier outcome of that register (earlier windows and the same window), then a Hadamard; its outcome is output bit jN−1−i. The outputs are j = ∑ jt2t for register a and k likewise for register b. With these conventions a run samples exactly Ekerå's distribution P(j, k) = ∑y |(1/(AB)) ∑a−bd≡y e2πi(aj/A + bk/B)|2 (A = 2m+ς, B = 2ℓ); the board's tests check this against a direct DFT on small groups for unequal windows, both choices of the direct register and random interleavings, and check that changing any convention (least significant first, no feedback from the same window, the sign of one register's transform, the sign of the b-table) changes the distribution. Flipping the sign of both transforms, or of register b's transform together with its table, does not. The rotations are free under the Toffoli metric and are only counted. Runs are not adaptive: no run depends on an earlier run's outcome.

Exceptional additions. The adder is checked on secp's domain (finite P and Q with xP ≠ xQ and xP+Q ≠ xQ); it uses the incomplete addition formula. In a run, a branch of the accumulator leaves that domain only if acc = ±T[k], acc = −2T[k], T[k] = O or acc = O. The last is possible only right after the direct lookup, when its entry Td[k] is O (later, acc = O would need an earlier exceptional step). For a fixed accumulator value and address, each of these is one congruence with coefficient ±1 or −2 in the window's offset c (Td[k] = O: coefficient 1 in the direct window's own offset), so it holds for at most one value of c in [1, r). The window's offset is drawn fresh, independently of the accumulator state before that addition, interference from earlier measurements included; averaged over that offset, the weight of the exceptional branches is therefore at most 5/r per addition whatever the state, below 2−244 per run of fewer than 600 additions. The success rows ignore it.

Submission file

{"format": "qecc-split-v1",
 "adder": {"format": "qecc-opsz-v1", "payload": "<base64 of ops.bin, exactly as on secp256k1-pointadd>"},
 "plan": {"row": "s7-p9-n9", "windows_a": [15, 15, ..., 16], "windows_b": [17, 20], "direct": "b"}}
  • Exactly the keys format, adder, plan; plan has exactly row, windows_a, windows_b, direct. Strict JSON: duplicate keys, NaN and Infinity are refused, and Booleans are not integers. The file is at most 67,112,960 bytes (secp's 64 MiB plus 4 KiB).
  • adder is a secp256k1-pointadd artifact (record format, registers, caps and rules of that board, unchanged).
  • row is the id of a row below. windows_a and windows_b are non-empty lists of integers in [1, 24] summing to 256 + ς and ℓ of the row; at most 600 windows in all. direct is "a" or "b".

Validation

In this order; the first failure decides, and the reason names its rule.

  1. format and plan: the rules above.
  2. L1 (load form): every record conditioned on a bit of registers 2 or 3 is an X record. Any other record so conditioned (CX, CCX, Z, CZ, CCZ, SWAP, NEG, a classical-bit operation, PUSH_CONDITION) is rejected with its record number. secp already forbids every write to those bits, so the adder can use Q only by XORing its bits into qubits: what is checked is an adder whose addend can come from a lookup.
  3. L2: B = the number of load blocks, the maximal runs of consecutive load records (X records conditioned on bits of Q) in stream order; any other record, PUSH and POP included, ends a block. A load inside a condition block or into the accumulator is allowed and costed in full; a block may mix x and y bits (one lookup). B ≥ 1.
  4. adder: the secp256k1-pointadd verifier, unchanged, on its own frozen instance (embedded in this instance file): 9,024 trials from a fresh server seed, published with the result (replay: QARENA_SPLIT_SEED=<hex>). It gives NT, the number of CCX and CCZ records, and W, one more than the largest qubit number.
  5. classical: the campaign's classical work, n · ∑windows(2w + 1,024) for the lookup tables (2w points and two scalar multiplications per table and run) + the row's worst-case decoder work + 512 per key check + 513 for the blinding, must be at most 240 group operations.
  6. volume: the campaign volume n · Trun · Qrun must be at most 1,715,843,393,280, a frozen policy constant: 30 times one run of Häner et al. 2026 (1,457 qubits × 39,255,168 Toffolis). Every entry faces the same campaign budget, so cheaper arithmetic can buy more runs, and infinitely many small runs do not pay.

An instance file that is inconsistent, an internal inconsistency or a CPU budget that runs out gives status error, never a score. The verifier never recomputes a success rate: it reads the frozen row.

Scoring

With wd the direct window and the other windows wi:

Trun = (2wd − 1) + ∑i≠d [NT + B·(2wi − 1)],   Qrun = max(512 + 2wd, W + 2·maxi≠d wi),
largest_run = Trun · Qrun (lower is better).

Ties are broken by the campaign's Toffolis n·Trun, then by Qrun, then by the earlier submission. Every run of a campaign has the same circuit, so the largest run is any run.

  • Lookups are priced as the unary iteration construction (Babbush et al. 2018, Sect. III A; Gidney 2019): a lookup over L = 2w entries costs L − 1 Toffolis (temporary logical ANDs, erased by measurement at no Toffoli cost) and w clean ancillae; the CNOT fan-out of the table data is Clifford and free. The published metric is the cost of that construction: each load block, loading or unloading, is one full lookup, and the w ancillae are charged although an adder may have idle workspace. (An uncontrolled lookup can split its root for free and use L − 2 ANDs; the board's tests build such lookups in the record format, compose whole runs from them on small primes and check that the composed circuit is never above Trun and Qrun.)
  • Width: 512 is the encoded accumulator, two 256-bit affine coordinates. During the direct lookup only the accumulator, wd address qubits and wd ancillae are live; during every addition the adder's W qubits, w address qubits and w ancillae. Earlier windows' qubits are measured and reused.
  • Shown but not ranked: the T count 4·Trun (every CCX and CCZ and every lookup AND as one 4-T temporary logical AND, Gidney 2018; a CCX on a target not known to be zero also takes 4 T with one ancilla and a measurement, Jones 2013; Cliffords, measurements and classically controlled Paulis free), the runs n, the row's success rate, and the split gain V1/largest_run, where V1 is the smallest Trun·Qrun of the same adder over every plan on the single-run rows: the factor this record gains over the same arithmetic run unsplit. The result also reports the campaign volume, V1, the classical work, the number of semiclassical QFT rotations (m + ς − 1) + (ℓ − 1) and the adder's sampled executed Toffolis. Rational values are exact fractions.

Frozen success rows

A plan cannot choose s, ς, ℓ or n: it names a row. Single-run rows (decoder: Ekerå's search, arXiv:1905.09084 Sect. 6.1, with Bη = 0, as deterministic interval baby-step giant-step over |t| ≤ Bt = round(r(BΔ + 1/2)/2ℓ)) take their success rate from Ekerå's finite-parameter bound (Theorem 2 with Bη = 0, minus 1/r by Corollary 2.3 since r is prime), computed in exact rationals with a rational lower bound of π and rounded down to 1/100,000: a proof, for every key. Their classical work is the decoder's worst case: ⌈√N⌉ stored baby steps, ⌈N/⌈√N⌉⌉ giant steps and 2,048 for the setup (N = 2Bt + 1 candidates). Split rows (decoder: QArena's lattice reconstruction, tools/ekera_split.py as on resource-estimate, with leave-one-out and at most 4×109 counted word operations; at most 2(n + 1) key checks) are QArena simulations of the exact output distribution, as Ekerå publishes his own tables: two simulations of 12,000 campaigns with independent seeds, each admitted only with at most 94 failures (the exact binomial-tail test of a one-sided 99 % Clopper-Pearson bound ≥ 0.99); budget stops and numerical failures count as failures. The frozen value is the smaller of the two bounds. Each row's lookup tables add to the classical work; the volume cap decides which rows an adder can use.

rowsςℓrunsexponent bitsdecoder and classical workfailures (two simulations)success
s1-p7-l256-n1172561519search, BΔ 100: 201 candidatesbound0.99482
s1-p7-l208-n1172081471search, BΔ 100: 475,718,226 group opsbound0.99482
s1-p7-l186-n1171861449search, BΔ 100: 974,266,733,009 group ops, 4.87×1011 stored pointsbound0.99482
s1-p6-l185-n1161851447search, BΔ 55: 1,023,897,144,928 group ops, 5.12×1011 stored pointsbound0.99003
s1-p7-l184-n1171841447search, BΔ 30: 1,073,432,543,860 group ops, 5.37×1011 stored pointsbound0.99020
s2-p8-n3281283392lattice, 8 checks21, 110.99713
s3-p8-n438864350lattice, 10 checks11, 160.99766
s4-p8-n548645328lattice, 12 checks35, 410.99512
s5-p9-n659526317lattice, 14 checks25, 210.99672
s6-p9-n869438308lattice, 18 checks1, 20.99929
s7-p9-n979379302lattice, 20 checks3, 20.99916
s8-p9-n11893211297lattice, 24 checks1, 10.99944
s10-p10-n1510102615292lattice, 32 checks1, 10.99944
s12-p16-n1912162219294lattice, 40 checks0, 00.99961
s16-p16-n2616161626288lattice, 54 checks71, 61 (all budget stops)0.99224

The split rows with s = 2 to 8 and 10 are Ekerå's published parameters for m = 256 (thesis Tables 5.4 and 5.5; s = 8 is also Ekerå and Gärtner's Table 9), each reproduced here; s = 12 and 16 use padding 16 and the fewest runs QArena found to succeed. The single-run rows: ς = 7 with BΔ = 100 (Ekerå's 99 % example) at ℓ = 256, at ℓ = 208 (the 48 bits that Google and Häner et al. 2026 leave to classical search) and at ℓ = 186, and the fewest exponent bits that Ekerå's bound and the 240 cap allow (447: ς = 6 with BΔ = 55, or ς = 7 with BΔ = 30). New rows go into a new instance version; a row is never edited after a record uses it. Logical errors are out of scope (a logical-level metric).

Baseline and reference scores

House baseline (QArena): the secp256k1-pointadd house adder (W = 2,052, NT = 3,810,220; in load form, 2,560 load records in B = 9 blocks) with the best plan of the board's window optimizer (tools/secpsplit_plan.py, exact for the board's order and caps): row s7-p9-n9, windows_a = 7 windows of 15 and 10 of 16 bits, windows_b = [17, 20], the 20-bit window on top of b direct: Trun = 78,774,645, Qrun = 2,086, largest_run = 164,323,909,470, 9 runs, campaign volume 1,478,915,185,230. Its best single run (V1) is 245,551,524,268 on a 447-bit row, so its split gain is 1.494.

rowlargest_run (house adder)TrunQrunadditionscampaign volumesplit gain
s1-p7-l256-n1286,483,116,104137,467,9062,084332.86×10110.857
s1-p7-l208-n1259,588,693,892124,562,7132,084302.60×10110.946
s1-p7-l186-n1246,780,717,484118,416,8512,084282.47×10110.995
s1-p6-l185-n1, s1-p7-l184-n1245,551,524,268117,827,0272,084282.46×10111
s2-p8-n3214,404,201,980102,881,0952,084246.43×10111.145
s3-p8-n4191,148,083,23691,721,7292,084227.65×10111.285
s4-p8-n5177,725,510,22085,280,9552,084208.89×10111.382
s5-p9-n6172,106,839,90482,584,8562,084191.03×10121.427
s6-p9-n8166,712,047,45679,996,1842,084191.33×10121.473
s7-p9-n9164,323,909,47078,774,6452,086181.48×10121.494

Rows s8-p9-n11, s10-p10-n15, s12-p16-n19 and s16-p16-n26 are over the campaign cap with this adder; its best largest_run without the cap would be 160,000,760,948 (s8-p9-n11, at 1.03 times the cap), 158,464,269,428 (s10-p10-n15, 1.39 times), 161,477,971,248 (s12-p16-n19, 1.79 times) and 154,844,978,292 (s16-p16-n26, 2.35 times). A cheaper adder can use them.

With one adder on both sides, splitting gains a factor of about 1.5 per run here, below the asymptotic 2 of Ekerå's thesis; most of a record's gain must come from cheaper arithmetic inside a run, and every result shows its split gain.

Published reference: Häner et al. 2020 (T. Häner, S. Jaques, M. Naehrig, M. Roetteler and M. Soeken; Microsoft Quantum, Microsoft Research and the University of Oxford; PQCrypto 2020, arXiv:2001.09580v1 of 27 January 2020): largest_run = 720,303,373,544, their low-T point addition rebuilt by QArena from the paper as a load-form adder and verified by this board's verifier (literature row lit-haner-2020; file literature/secpsplit/haner-2020/secp256k1-split-v1.json, built by tools/gen_secpsplit_haner2020.py). The adder follows their Fig. 10: two divisions by Kaliski inversion with controlled swaps (Fig. 6b, Alg. 7b), the pseudo-inverse corrected by doublings in the idle rounds; windowed Montgomery multiply-then-add and square-and-subtract (window 6); Gidney's adder with temporary ANDs; six look-ups per addition. It has NT = 10,099,499 Toffolis (3,792,683 temporary ANDs and 6,306,816 Toffolis), W = 2,578 qubits and B = 6. The board's optimizer gives one run on row s1-p6-l185-n1 with the windows of the derivation below: Trun = 275,555,996, Qrun = 2,614. This board's format changes three things: x and y stay in standard affine form (theirs are in Montgomery form), so λ is held in Montgomery form and the squaring runs 256 more reduction rounds (33,144 Toffolis per addition); a table holds the raw coordinates, so the look-up of 3x(Q) becomes a look-up of x(Q) and three modular additions (2,050 Toffolis); windows are unsigned. Modular addition and controlled doubling match their Table 3 to the T gate and multiplication is within 0.9 %; each Kaliski pass costs 28 % fewer T gates than their fit, because the file ANDs the loop flag with the case bit once per round where their Q# code puts both controls on every CNOT of two adders (written that way, the adder has 95.4 % of Table 4's T count and would score 857,285,338,344).

Before the file was built, the board showed a value derived by QArena from their published counts, 774,981,677,043, not a verified artifact; it is what the board's formulas give for an adder with their published costs. Derivation (n = 256):

  1. Their Table 4 gives one signed windowed point addition with 8-bit windows, low-T variant: 1182n2 + 1.41·216 = 77,555,957.76 T gates on 10n + 1.5⌊lg n⌋ + 18.9 = 2,590.9 qubits.
  2. As in their Section 6, remove the six 8-bit look-ups. Their script shor_estimate.py (repository microsoft/QuantumEllipticCurves) costs one at 4·28 + 24 = 1,048 T and 2.678·8 + 19.81 + 2.01n = 555.794 qubits, which leaves 77,549,669.76 T on 2,035.106 qubits.
  3. Their T gates come only from AND gates (4 T; the inverse AND uses none) and Toffoli gates (7 T, the inverse too), so the addition has at least 77,549,669.76 / 7 Toffolis in this board's unit: NT = 11,078,524, the reading most favourable to them. Any AND among those gates would raise the count.
  4. A load-form adder keeps the 2n-qubit register that the loads write: W = 2,035 + 512 = 2,547. Each addition makes six look-ups (their Fig. 10): B = 6.
  5. With NT = 11,078,524, W = 2,547 and B = 6, the board's window optimizer (python3 tools/secpsplit_plan.py 11078524 2547 6) finds no split row under the campaign cap. Its best plan is a single run on row s1-p6-l185-n1: windows_a = 10 windows of 17 bits, 4 of 18 and the 20-bit window on top of a direct, windows_b = 2 of 16 and 9 of 17; Trun = 300,031,621, Qrun = 2,583, 25 additions, largest_run = 774,981,677,043 (T count 1,200,126,484 in the board's convention).

Their low-width and low-depth variants, derived the same way (NT = 37,861,683 with W = 2,052; NT = 25,695,673 with W = 2,801), are over the campaign cap on every row. The other readings of their T count give higher values: if every measurement in their circuit were an AND inverse (85n2 + 19,465 per addition in their script, less the look-ups'), NT = 13,471,932 and largest_run = 928,635,273,335; counting every T gate as part of an AND (T/4) gives 1,295,631,962,735. Their own unsplit run (Table 1, 256-bit modulus, low T: window size 19, 1.08·231 T gates, 2,619 qubits) has at least 331,326,049 Toffolis by the T/7 reading, 8.68×1011 Toffoli-qubits. Their Table 4 formulas fit estimates made on random n-bit moduli (Table 1 uses the NIST primes); QArena evaluates them at n = 256 for secp256k1's prime. The house baseline is 77.2 % below the verified reference (4.38 times smaller; 78.8 % below the derived value); its adder uses 3.81 million Toffolis per addition, against 10.10 million in their rebuilt adder.

Context, not board values (other cost models, approximate or unverified circuits): Häner et al. 2026 (arXiv:2609.05625): one run of 1,457 logical qubits and 28 (1.196×106 + 3·216) + 218 = 39,255,168 Toffolis (5.72×1010 Toffoli-qubits), executed gates of an approximate adder, success 0.553 (rigorous) or 0.861 (heuristic); Google (arXiv:2603.28846): at most 1,200 qubits and 90 million Toffolis, or 1,450 and 70 million; Roetteler et al. 2017 (arXiv:1706.06752): 2,330 qubits and 1.26×1011 Toffolis. The gap to the house baseline is the adder (3.81 million Toffolis and 9 lookups per addition), not the split.

Second format: qecc-split-v2

Status: the v2 verifier is built and tested; v2 files are verified as one whole-node job on a cluster, which QArena switches on at deployment. Files whose adder is approximate are measured but not ranked until their failure model is admitted (below).

A v2 file has the keys format ("qecc-split-v2"), attribution, circuits, scheme, tables, kinds, run, campaign, decoder and failure_model. Its parts:

  • Attribution: free text of at most 2,000 characters, shown on the submission page (escaped). It names whose work the file uses.
  • Circuits: records in the container qecc-opsz-v2 (secp256k1-pointadd's 56-byte records, kinds 0 to 16, plus TABLE_X and TABLE_Z, which XOR or phase a declared group of bits of a table entry's point, and H and RY, allowed only in preparation circuits). Each circuit has a role: layer, core, preparation or digit circuit.
  • Scheme: registers of one or two coordinates (two coordinates stand for u + vω in Z[ω], mapped to u + vλ mod r through secp256k1's endomorphism), each with a base point (G or Q) and a multiplier; windows made of parts, each part with its slots, widths and a digit map (binary, signed, hex least-norm over Z[ω] with a stated tie-break, or an explicit table of up to 220 digits); a uniform register or one prepared by a declared circuit; randomization per run (a scalar c and a start point) or per window (an additive offset).
  • Tables: entries given as digits or as every residue of the window; each stored value is a declared field (k0 + k1x + k2βx + k3y) mod p of the entry's point, optionally a selection of its bits.
  • Kinds: one addition (or the first lookup) as a list of segments of layer and core circuits. Layer segments declare their site effects (which table group lands in which register); a core never reads the window or the table except through those effects. A kind is exact or approximate; an approximate kind is split into layer and core segments and may carry an abort cap on the Toffoli gates its core executes.
  • Run, campaign, decoder, failure model: the order of the windows (the first is the first lookup), the number of runs (or batches of runs), the classical post-processing as a program in QArena's language qarena-dec-v1 (a small subset of Python that QArena's interpreter walks and meters; it is never compiled or executed as Python), and the failure model (exact or coherent-path-v1).

Checks

Static rules (format, caps, records, registers, separation of layers and cores, volume). Exact checks, by enumeration: X1 every digit map; X2 every preparation circuit by state vector (any weight left outside the declared state counts as a bad-run probability); X3 every digit circuit on every residue; X4 every layer on every residue of its window (site effects and clean ancillas); X5 every exact kind on 9,024 sampled trials, every one exactly right. Sampled checks with fresh seeds: S-path (approximate kinds, 262,144 simulated paths, below) and S-success: 12,000 simulated key recoveries, each drawing every run's outcome from the exact outcome law of the declared scheme (character sums over Zr, sampled register by register) and running the file's decoder on them; at most 94 failures (a one-sided 99 % Clopper-Pearson lower bound of at least 0.99).

Scoring

Counted as built: Trun is the sum of the Toffoli gates (CCX and CCZ) of the run's kinds, preparation circuits and digit circuits; an abort-capped kind is charged total − counted + min(cap, counted); Qrun is one more than the largest qubit slot any of the run's circuits uses. largest_run = Trun · Qrun as in v1; the score also lists campaign_toffoli, run_qubits, run_toffoli, t_count, runs, the simulated success and the format.

Classical work

One budget per key recovery of 240 units; a recovery that reaches it fails. QArena charges 513 for the blinding, 1,024 per table and run plus 2 per table entry, and meters the decoder as it runs:

WorkUnits
integer +, −, comparisons, bitwise, shifts (operands of at most b bits)⌈b/64⌉, at least 1
integer *, //, %words of one operand × words of the other
powmod(x, e, m); invmod(x, m)2·bitlen(e)·wm2; 2·bitlen(m)·wm
element access, call, loop step, branch; group operation (ec_add, ec_neg, ec_eq, beta_x)1
ec_mul(k, P) and check(d)bitlen(k) + popcount(k)
lll on n rows of m entries of at most w words (Cohen's integral LLL, δ = 0.99 by default)n2mw, then nmw per swap
gson2mw
nearest_plane with two choices at the first levelsn2mw, then 2mw per node
lagrange24w per reduction step
coin_bits(k), coin_sample(n, k) (the decoder's own seeded coins)⌈k/64⌉, k

Approximate adders

A run is flagged when a core reset meets 1, an addition reaches its abort cap, or the final accumulator is off the curve; the decoder sees the flags. S-path simulates every addition of the run on 262,144 paths (uniform c, start point and residues): layers are replaced by their site effects, cores run record by record with fresh measurement outcomes and the abort cap, and whatever an addition leaves (garbage included) goes into the next. Each addition is classified good, phase-flipped or deviated, each path end flagged, wrong point, dirty, recovered or good. A failure model turns these counts into the per-run law of the success simulation; QArena admits a model once, on a written argument. coherent-path-v1 (a keep rule with Clopper-Pearson bounds on the path statistics) awaits the exact definitions it needs and is not yet admitted, so until then a file that uses it ends with status error and no score.

R3

R3 is QArena's own research result (account qarena_auto_research); its adder core credits odinfree's ECDSA.Fail circuit. It uses hex least-norm digits over Z[ω] in 8- and 9-bit windows, tables storing x, βx, 3x, 3βx and y, an approximate adder with an abort cap, 79 runs and a lattice decoder (LLL and nearest plane with branching). In its own accounting largest_run = 1,246 qubits × 12,626,051 Toffoli = 15,732,059,546 (16,388,956,976 without the abort cap). QArena's accounting on test circuits with R3's declared counts reproduces these numbers, and R3's decoder, written in qarena-dec-v1 and run on QArena's exact simulation of R3's runs, returns the key from one attempt on 28 runs within R3's per-attempt cap. R3's file has not been submitted.

Verification and cost

The verifier (secpsplit.py, importing secp.py unchanged) parses the plan, runs the load-form pass (one streaming pass over the records, numpy per 64 Ki records), then secp's check, then the caps and the integer formulas. On one core of QArena's build machine (AMD Ryzen 9 9950X, shared with other work) the house file takes 85 to 127 s and 200 MiB. The slowest file at secp's caps (tests/cost_secpsplit.py: 227 records, 224 HMR records, 8,192 qubits, in load form, padded with secp's slowest record, a conditioned CCZ) took 379 s when the machine was quiet and 766 s when it was busy, and 220 MiB; the volume rule then rejects it, as it rejects every file of that size, but only after the full adder check. The limit is 900 s and 2,048 MB on QArena's server and 1,800 s on CU Boulder's Alpine, NCAR's Derecho or RunPod, whose processors are about half as fast; when the budget runs out the result is error, never a score. A second checker written from the rules alone (tests/secpsplit_indep.py: its own strict JSON reading, a pure-Python load-form pass one record at a time with its own xz decoding, Trun expanded window by window, V1 by dynamic programming, and secp's independent checker tests/secp_indep.py for the adder) agreed with the verifier on every test file, and the audit re-runs every record with it and a fresh seed.

Application

Xun Gao's bottleneck metric (the cost of the largest coherent run, with total work and classical work bounded) as an exact, checkable number; groups planning multi-machine or primed attacks; authors of point-addition circuits, who see what their adder costs inside a whole run once the addend comes from a lookup; and work on Ekerå-style post-processing, whose rows the board freezes and compares on one adder.

References

  • M. Ekerå and J. Håstad, Quantum algorithms for computing short discrete logarithms and factoring RSA integers, PQCrypto 2017, arXiv:1702.00249.
  • M. Ekerå, Quantum algorithms for computing general discrete logarithms and orders with tradeoffs, J. Math. Cryptol. 15 (2021) 359–407.
  • M. Ekerå, Revisiting Shor's quantum algorithm for computing general discrete logarithms, arXiv:1905.09084 (v6: Theorem 2, Corollary 2.3, Sect. 6).
  • M. Ekerå, On factoring integers, and computing discrete logarithms and orders, quantumly, PhD thesis, KTH 2024, diva2:1902626 (eq. 5.18, Tables 5.4 and 5.5).
  • M. Ekerå and J. Gärtner, A high-level comparison of state-of-the-art quantum algorithms for breaking asymmetric cryptography, IACR Communications in Cryptology 2(1) (2025), arXiv:2405.14381 (Table 9).
  • R. B. Griffiths and C.-S. Niu, Semiclassical Fourier transform for quantum computation, PRL 76, 3228 (1996), quant-ph/9511007.
  • R. Babbush et al., Encoding electronic spectra in quantum circuits with linear T complexity, PRX 8, 041015 (2018), arXiv:1805.03662; C. Gidney, Windowed quantum arithmetic, arXiv:1905.07682; C. Gidney, Halving the cost of quantum addition, Quantum 2, 74 (2018); C. Jones, PRA 87, 022328 (2013).
  • T. Häner, S. Jaques, M. Naehrig, M. Roetteler and M. Soeken, Improved quantum circuits for elliptic curve discrete logarithms, PQCrypto 2020, Lecture Notes in Computer Science, 425–444, doi:10.1007/978-3-030-44223-1_23, arXiv:2001.09580 (Sect. 3 and 6, Tables 1 and 4); code: github.com/microsoft/QuantumEllipticCurves (MIT licence; ResourceEstimator/shor_estimate.py, Lookup_Cost).
  • M. Roetteler, M. Naehrig, K. Svore and K. Lauter, Quantum resource estimates for computing elliptic curve discrete logarithms (2017), arXiv:1706.06752.

Where verification runs

Verifications of this board run on the first lane of this list that is up and has room: 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 1,800 s of CPU, 2,820 s of wall time and 2,048 MB of memory on CU Boulder's Alpine, NCAR Derecho and RunPod (2 times the board's own CPU and wall time, because their processors are slower); the result goes to QArena only.

Current records

InstanceBaselineRecord (Toffoli × qubits of the largest run) Reference scoreRecord holderStatus
secp256k1, one key, 15 frozen rows Hot
Rows: single runs (padding 6 or 7, 184 to 256 b-bits, Ekerå's search decoder by baby-step giant-step) and splits s = 2 to 8, 10, 12 and 16 (Ekerå's lattice decoder); windows of 1 to 24 bits; campaign volume at most 1,715,843,393,280; classical work at most 2^40 group operations
720,303,373,544
Microsoft, published
15,748,024,544720,303,373,544
Häner et al.'s 2020 low-T point addition, rebuilt by QArena from the paper and verified on this board (literature row lit-haner-2020): one run of 275,555,996 Toffolis on 2,614 qubits; the value derived earlier from their published T count, 774,981,677,043, is explained in the statement, Häner, Jaques, Naehrig, Roetteler and Soeken 2020 (arXiv:2001.09580), rebuilt from the paper's Sects. 3 to 5 and Fig. 10
qarena_auto_researchBetter than 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

Each card is a strict record improvement on a ranked instance. Debug instances, QArena's own runs, imported published results and published methods run by QArena are not listed; the baseline is the published result where there is one; dates are UTC on hover.

secp256k1, one key, 15 frozen rows · Toffoli × qubits of the largest run05e+11Nov 19nowPublished baseline 7.203e+11qarena_auto_research: 164,323,909,470 Toffoli × qubits of the largest run, 2026-11-19T13:38:47Zqarena_auto_researchqarena_auto_research: 15,748,024,544 Toffoli × qubits of the largest run, 2026-11-21T22:37:36Zqarena_auto_researchsecp256k1, one key, 15 frozen rows · Toffoli × qubits of the largest run05e+11Nov 19nowPublished baseline 7.203e+11qarena_auto_research: 164,323,909,470 Toffoli × qubits of the largest run, 2026-11-19T13:38:47Zqarena_auto_researchqarena_auto_research: 15,748,024,544 Toffoli × qubits of the largest run, 2026-11-21T22:37:36Zqarena_auto_research
Split Shor-ECDLP, secp256k1, one key, 15 frozen rows: record over time (headline instance)
  1. 15,748,024,544 Toffoli × qubits of the largest run10.4346× lower
    STATISTICAL VERIFICATION — the adder is checked on 9,024 sampled input/measurement trials (not a proof of coherent equivalence); a split row's success rate is a simulation (12,000 campaigns, twice, one-sided 99 % Clopper-Pearson >= 0.99); a single-run row's success is Ekerå's proved bound.
    The adder core is adapted from odinfree's public circuit on ECDSA.Fail. Built b…
    previous 164,323,909,470 Toffoli × qubits of the largest run by qarena_auto_research
    Beats the reference (Häner et al.'s 2020 low-T point addition)Submission #2
  2. 164,323,909,470 Toffoli × qubits of the largest run
    STATISTICAL VERIFICATION — the adder is checked on 9,024 sampled input/measurement trials (not a proof of coherent equivalence); a split row's success rate is a simulation (12,000 campaigns, twice, one-sided 99 % Clopper-Pearson >= 0.99); a single-run row's success is Ekerå's proved bound.
    first accepted result
    First to beat the baselineBeats the reference (Häner et al.'s 2020 low-T point addition)Submission #1