ECDSA.fail point addition
ECDSA.fail's own score for one secp256k1 point addition, with a second test draw that the submitter cannot choose.
QArena reproduced — upstream Rust judge, statistical: the unchanged ECDSA.fail evaluator, 128 class tests on the file's own seed, and a second pass on tests from a QArena seed (9,024 random tests and 128 class tests); not a proof of coherent equivalence.
Leaderboard: secp256k1, ECDSA.fail evaluator at 9b27c63 Hot
Published, not yet run on QArena: Google Quantum AI: 2,992,500,000 Toffoli × qubits · paper
QArena's record 13,352,002,383 Toffoli × qubits by QArena's own run Ties it
| # | Participant | Score (Toffoli × qubits) | vs QArena baseline | Submission |
|---|---|---|---|---|
| 1 | qarena-baseline (QArena's run)(QArena) Baseline | 13,352,002,383 | #2 |
Baseline: QArena's own run: 13,352,002,383 Toffoli × qubits (nothing published fits this instance)
Instance: Evaluator version
Overview
Task
The task of the ECDSA.fail
point-addition competition, judged at commit 9b27c639bb9daf9a8ae90ee0f55e296071e27efa: a reversible circuit that adds a classical
point Q to a quantum point P on secp256k1 (p = 2256 − 232 − 977, y2 = x3 + 7). The circuit declares
four registers of 256 entries, little-endian: registers 0 and 1 are qubits and hold x and y of P; registers 2 and 3 are classical bits and hold x and
y of Q. After the last operation, registers 0 and 1 must hold P + Q, every qubit outside the registers must be back at 0, and no sign may be left on
the state. Each test draws P = k1G and Q = k2G for random 256-bit k1, k2 and skips pairs with
xP = xQ or a point at infinity.
QArena's own secp256k1 point addition board asks for the same addition under its own rules and file format; the two boards keep separate rankings.
Submission file
The file ops.bin that the competition's exporter writes, unchanged: the bytes QECCOPSZ, the record count as a
little-endian 64-bit integer, then the 56-byte records compressed with zstd. QArena never builds or runs source code: you run the exporter on your
own machine and send its output. In a checkout of the repository with your src/point_add/:
ZSTD_LEVEL=19 cargo run --release --bin build_circuit # writes ops.bin
python3 -c 'import base64, json; print(json.dumps({"format": "ecdsafail-opsz-v1", "payload": base64.b64encode(open("ops.bin", "rb").read()).decode()}))' > submission.json
Caps, checked before the evaluator starts: at most 48 MiB of ops.bin (the competition's initial circuit is 91 MB at the exporter's
default zstd level 3 and 29 MB with ZSTD_LEVEL=19; QArena's baseline is 34 MB with it), at most 227 = 134,217,728 records, qubit numbers below 8,192, classical
bit numbers below 225, zstd window at most 227 bytes. A file over a cap gets the status error with the words
“not checked within QArena's limits” and no score: it may be valid upstream, and QArena makes no verdict on it (a file just over the size cap
can be recompressed with a larger zstd window, which shrank the competition's 40.6 MB record to 22.3 MB:
{ head -c 16 ops.bin; tail -c +17 ops.bin | zstd -d -c --long=27 | zstd -19 --long=27 -c; } > ops_small.bin). The register layout
is the evaluator's own rule, checked first: exactly four registers (numbers 0 to 3), each with exactly 256 entries. A file with any other
layout is rejected, as the evaluator would reject it. Three files per problem per day, and at most three in any 7 days.
Validation
- QArena reads the 16-byte header itself and stops at more than 227 records before any program starts.
qarena_scan, QArena's own program, reads every record, enforces the other caps and checks the register layout, so that the evaluator, which stores every record before it looks at the layout, never runs on a file it would reject for its layout. The evaluator's memory then stays below 56 bytes per record, plus up to 12 bytes per record while a stack of conditions grows, plus 256 MiB of classical bits: at most 8.8 GiB at 227 records (8.25 GiB measured). It also counts the CCX and CCZ records.- The competition's evaluator,
src/bin/eval_circuit.rsat the pinned commit, unchanged, runs its 9,024 tests. It draws them with SHAKE256 from the file itself, simulates 64 tests at a time, and checks every test's result, the phase and the ancillas. Any failure rejects the file with the evaluator's own message. - The class tests of the first pass: QArena's modified copy of the same file,
eval_circuit_seeded.rs, run aseval_circuit_seeded --class-file, simulates 128 tests from the class described below, drawn from SHAKE256(“qarena-ecdfail-class-v1” || the first 32 bytes of the file's own Fiat-Shamir stream), so the draw is a function of the file, as the first pass's is. Any wrong result, phase garbage or dirty ancilla rejects the file. - A second pass runs the same copy as
eval_circuit_seeded <seed>. The 9,024 random tests, then 128 class tests, and the outcomes of R and HMR come from SHAKE256(“qarena-ecdfail-seeded-v1” || seed), where the 32-byte seed is drawn by the server after your file is stored. The loader, the simulator and the checks are the upstream code; the class draw is QArena's.
The class tests. The competition's initial circuit computes two modular inverses with the binary almost-inverse algorithm of Kaliski (each iteration halves one of two numbers) and gives the first inverse 404 iterations and the second 400. An inverse that needs more is not finished: the circuit then leaves garbage in a work register and frees it with R gates, which gives the state a random phase. The evaluator sees that as phase garbage in half of the draws; from 406 iterations on in the first inverse the result is wrong as well. Random inputs need 362 iterations on average (standard deviation 9.4). A count of at least 400 occurs in 5.8 × 10-5 of the inputs for the second inverse, and a count of at least 404 in 1.05 × 10-5 for the first (109 samples), so about 1 test in 29,000 of the initial circuit's runs ends with wrong phase. These are ordinary points (xP ≠ xQ) that the competition's statement does not exclude, and a point-addition circuit has to be right on them. The class is the set of pairs P, Q for which the almost-inverse of P.x − Q.x, or of (P+Q).x − Q.x, modulo p takes at least 400 iterations; the tests are drawn from it with equal weight on the two inverses (about 1 random input in 8,600 is in it).
Why the second pass: the first pass's tests are a function of the file, so a contestant can change a file in ways that do nothing (an added pair of X gates) and redraw its tests offline until a faulty circuit passes. Each pass accepts a circuit that is wrong on a fraction f of the random inputs with probability (1 − f)9,024: about 1 in 8,000 for f = 1/1,000, and 0.41 for f = 1/10,000. A file ground against the first draw still meets a fresh draw it cannot see in advance. The class tests do not remove that limit for faults elsewhere: a circuit wrong on some other rare set of inputs can still pass, and results are statistical.
Checks run on QArena's RunPod lane (the section Where verification runs says whether that lane is in use now): each check gets a fresh on-demand CPU pod, started from an image pinned by its digest that holds the verifier and static builds of the three programs from sources pinned by version and checksum (Rust 1.93.0 and the crates of Cargo.lock, each checked by its SHA-256), and the pod is terminated when the check ends. In the pod each program runs as a separate unprivileged user, confined to a folder that holds only ops.bin, with an empty environment, a system-call filter that leaves no network, no second process and no other program, nothing writable, and limits on CPU time (3,540 s for the three together: twice the board's 1,800 s of CPU less a 60 s margin, because a pod's processor is slower), memory (12 GiB), output (at most the board's file cap, 67,112,960 bytes) and wall time (5,520 s); before its check each pod tests exactly that with a probe run the same way. A check that no pod takes waits in the queue while that lane is off or has used its budget for the week: QArena's own server (a Mac mini) runs no check of this board (since 2026-11-19), and neither do CU Boulder's Alpine and NCAR's Derecho. In every pod one supervisor process per check owns its programs and the single evaluation slot: however a check ends, its programs end before the next evaluation starts. A program
stopped by a limit gives the status error, never a score. Every result, a rejection or an error included, carries the seed drawn for
it.
Scoring
The score is the evaluator's own (its score.json): round(T / n) × W, where T is the number of Toffoli gates (CCX and CCZ) executed
over the n tests of the first pass, the average is rounded half away from zero, and W is 1 + the largest qubit number used. Lower is better; ties
go to the earlier submission. Shown beside it, not ranked: the static count of CCX and CCZ records, the exact unrounded average T / n, and the
second pass's own average. The score is comparable with an ECDSA.fail figure only for the same file and the same evaluator commit.
Baseline and reference scores
QArena's baseline is the competition's initial circuit with the smallest change that makes it right on the class: src/point_add/ at commit
62ae3d00, the organizers' last commit before the first accepted submission, with its two iteration budgets raised from 404 and 400 to 512
(two constants in mod.rs; ecdfail/baseline_patch/kaliski_budget.patch in the verifier bundle), exported by the exporter of the pinned commit with
ZSTD_LEVEL=19. 512 is enough for every input: each iteration removes at least one bit from u or v, whose lengths add up to at most 512, so the
algorithm needs at most 511 iterations. The baseline has 34,292,166 records, 2,823 qubits and 4,729,721 Toffoli gates on every test, so its score is
4,729,721 × 2,823 = 13,352,002,383. That includes the organizers' DUMMY_TOFFOLIS block, 10,000 pairs of CCX gates that cancel (20,000
Toffolis, on by default).
The unpatched initial circuit has 28,697,222 records, 2,715 qubits and 3,962,753 Toffoli gates (score 10,758,874,395; the same figures are in the
four rows of the repository's results.tsv at 28,697,222 operations). QArena rejects it: the class tests catch it, and its fresh-seed second
pass alone rejects it about once in four tries. A contestant's file with the same flaw is rejected the same way. Upstream results are not
shown here: ECDSA.fail's leaderboard stays a link, and what it publishes is an Upstream-published result, not verified by QArena; not ranked.
Credits and licenses
The evaluator and the exporter are by the ECDSA.fail organizers (Layr-Labs); the repository has no LICENSE file, and the ECDSA.fail site terms
(effective October 7, 2026) place its original contents under MIT. src/circuit.rs, src/sim.rs and
src/weierstrass_elliptic_curve.rs come from the zkp_ecc project of Tanuj Khattar et al.
(DOI 10.5281/zenodo.19196956) under CC BY 4.0, unmodified. QArena
keeps the upstream NOTICE, an MIT text and its two own files (the seeded copy, marked line by line, and qarena_scan) in the ecdfail/ folder of the verifier bundle.
Replaying a result
Build the evaluator and the seeded copy from ecdfail/harness of the verifier bundle (Rust 1.93.0; cargo build --release --locked --bin
eval_circuit --bin eval_circuit_seeded). In a folder holding the ops.bin of a result, eval_circuit repeats the first
pass exactly, eval_circuit_seeded --class-file repeats its class tests, and eval_circuit_seeded <seed> with the published seed
repeats the second pass exactly. The verifier bundle runs
the whole check (QARENA_ECDFAIL_SEED=<seed> replays a result). On Linux its sandbox, bubblewrap, does not stop a program from
starting others, so the verifier there runs only a file you vouch for: add QARENA_ECDFAIL_TRUSTED=1 for your own files.
Where verification runs
Checks run on QArena's RunPod lane: one on-demand CPU pod per check, started from a pinned image and terminated when the check ends. Each judge program runs as an unprivileged sandbox user, confined to a folder that holds only your file, with no network, no other process, no file written, and limits on CPU time, memory and output. CPU 3,600 s, 12,288 MiB.
Current records
| Instance | Baseline | Record (Toffoli × qubits) | Reference score | Record holder | Status |
|---|---|---|---|---|---|
| secp256k1, ECDSA.fail evaluator at 9b27c63 Hot
Two passes of 9,024 random tests (the file's own draw, then a QArena seed), each with 128 class tests; 256-bit registers; caps 2^27 records, 8,192 qubits, 2^25 classical bits, 48 MiB file |
13,352,002,383 QArena's run | 13,352,002,383 | – ECDSA.fail's leaderboard is hosted by ECDSA.fail and only linked from QArena. Google Quantum AI's 2,992,500,000 (arXiv:2603.28846, low-gate variant: at most 2,100,000 Toffoli executed per test on average x at most 1,425 qubits, so an upper bound in this board's unit) is not run on QArena and cannot be: for responsible disclosure the circuit is withheld: the paper gives only its SHA-256 hash and a Groth16 zero-knowledge proof, the Zenodo dataset 10.5281/zenodo.19597130 (CC-BY-4.0) holds the prover, the verifier and example adders but not the circuit, and the paper names only the circuit class (classical reversible gates, X-basis measurement-based uncomputation with phase fix-ups, windowed arithmetic), which is no construction to rebuild. Its proof covers the file's own 9,024 tests only, not this board's 128 class tests or its second pass from a QArena seed, ECDSA.fail |
qarena-baseline (QArena's run)(QArena) | Baseline not beaten |
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:
- ECDSA.fail addition, secp256k1, ECDSA.fail evaluator at 9b27c63: 13,352,002,383 Toffoli × qubits (QArena reproduced — upstream Rust judge, statistical: the unchanged ECDSA.fail evaluator, 128 class tests on the file's own seed, and a second pass on tests from a QArena seed (9,024 random tests and 128 class tests); not a proof of coherent equivalence.) by QArena baseline
Outside competitions (links only)
Other groups run these three competitions on the same arithmetic. A point-addition record is not a claim to have implemented or costed a complete cryptographic attack. QArena does not host their entries and holds no copy of their circuits, proofs or leaderboards, and none of their results is a QArena result. The only code of theirs that QArena runs is the ECDSA.fail evaluator, on files submitted to QArena's own ECDSA.fail board; those results are QArena results, not ECDSA.fail's. Sources were read as text on 2026-11-17 (UTC). A figure below is the upstream repository's own, kept at its pinned commit and not checked by QArena.
| Competition | Pinned source and rights | Contract status and reported figures | Links |
|---|---|---|---|
| ECDSA.fail point addition (Rust) External record — link only Secp256k1 point addition, scored by average Toffolis per shot times peak qubits; lower is better. Contestants export a circuit file (ops.bin) that the competition's Rust evaluator samples. | Layr-Labs/ecdsafail-challenge commit 9b27c639bb9daf9a8ae90ee0f55e296071e27efacommitted 2026-11-13; read 2026-11-17 (UTC) No LICENSE file at this commit (a request for the root LICENSE returns 404). The repository has a NOTICE (CC BY 4.0, three files from the zkp_ecc project: src/circuit.rs, src/sim.rs, src/weierstrass_elliptic_curve.rs). MIT applies to the original files by the ECDSA.fail site terms only (effective October 7, 2026), not by a file in the repository. The terms reserve the hosted platform and leaderboard. | No status marking The README at this commit carries no draft or provisional marking. No result is shown here; what ECDSA.fail publishes is an Upstream-published result, not verified by QArena; not ranked. The repository contains no ops.bin, and its results.tsv has seven rows, all at 2,715 qubits. ECDSA.fail's leaderboard stays a link; exported files submitted to QArena are scored on QArena's own ECDSA.fail track. | |
| ECDSA.fail Lean: verified controlled point addition Upstream reported — not reproduced by QArena A Lean 4 proof that a circuit maps an input point R on secp256k1 to R + C when its control bit is set, for every public point C, every input point and every measurement record, with all other wires back at zero. QArena would rank by certified qubits times Toffolis; lower is better. The results hold in the repository's signed-basis, fixed-measurement-record model, not for quantum channels or hardware. | Layr-Labs/ecdsafail-lean commit 338d3a47e510447c4625649c56942c4d39fc0a61committed 2026-11-15; read 2026-11-17 (UTC) Apache-2.0 (LICENSE). Two more license files sit in ECDSAAdd/Math/Divsteps: LICENSE-safegcd-bounds (MIT, Blockstream 2021) and LICENSE-uncompute (Apache-2.0). Mathlib and other dependencies keep their own licenses. The NOTICE says the co-publication terms with Eigen Labs are to be finalized. | Draft The organizer limits are “Not yet fixed” in docs/CHALLENGE.md at this commit. Shipped baselines in the repository's own table (certified upper bounds, taken from docs/CHALLENGE.md, not run by QArena): Skywalk (normalized): 1,899 qubits × 2,217,386 Toffolis = 4,210,816,014 ValueWalk (normalized): 3,134 qubits × 6,286,806 Toffolis = 19,702,850,004 Qubits × Toffolis is the table's own Q×T column. The hosted leaderboard on Yukon is a link only. | |
| ShorECDLP: verified key recovery Upstream reported — not reproduced by QArena A Lean 4 proof that a program recovers the key d of a public point Q = d·G on secp256k1 with probability at least 99% for every nonzero Q, in the repository's abstract cost model. QArena would rank by certified qubits times T-model cost; the repository lists them as separate metrics; lower is better. The T-model charges seven for a CCX and one for each phase rotation; rotation synthesis and its error are not modelled, so it is not a QArena qubit-day. | Layr-Labs/shor-ecdlp-lean commit 0395f6e230b32e1856ce89d39894e44191c60f37committed 2026-11-10; read 2026-11-17 (UTC) Apache-2.0 (LICENSE). The NOTICE says the collaboration terms with Eigen Labs remain to be finalized. | Provisional The limits on gate slots (4·10^15) and measurements (47,471,340,504) are marked “(provisional)” in docs/CHALLENGE.md at this commit. The classical candidate-check allowance is 56·(2^49+2), and there are 983,040 coefficient rows. Shipped Naive baseline, certified through the judge according to the repository (not run by QArena). The repository lists the two factors; the product is QArena's multiplication: Naive: 206,624 qubits × 8,918,039,383,771,648 T-model = 1,842,680,969,632,432,996,352 The product is above 2^64. The record posted on the Yukon page is a link only; QArena does not copy it. |
Verification labels
These are the labels for results on secp256k1 point addition, on QArena and in the outside competitions above. Each says what was checked and by whom, and a label never moves to another board. A listing without a QArena label has no QArena result.
| Label | Meaning | Applies to |
|---|---|---|
| QArena verified — exact finite-domain check | A completed ecdlp verification. | ecdlp |
| QArena verified — statistical, 9,024 trials | A completed secp run; its seed and verifier version are available. | secp |
| QArena verified — frozen resource model | A completed resest calculation; the rigorous or heuristic qualification of the algorithm is shown separately. | resest |
| QArena reproduced — upstream Rust judge, statistical | A completed local ECDSA.fail evaluation: the competition's evaluator, unchanged, on the tests it draws from the file, 128 tests from a class of inputs the competition's initial circuit gets wrong, and a second pass of the same simulator on random and class tests drawn from a seed QArena picks after the file is stored. | ecdfail |
| QArena reproduced — upstream Lean judge | Completed protected kernel checking; the proof-model scope of the track is shown with it. | no result yet |
| Upstream reported — not reproduced by QArena | A licensed upstream result record kept without local verification. | ecdfaillean, shorecdlp |
| External record — link only | No licensed local record or artifact mirror. | ecdfail |
Upstream notices
The two Lean repositories ship these NOTICE files with their Apache-2.0 licenses; both leave publication terms open. They are reproduced here word for word.
Layr-Labs/ecdsafail-lean
ECDSAAdd Copyright 2026 Runzhou Tao, Anirudh and ECDSAAdd contributors The mathematical declarations in ECDSAAdd/Math are adapted from VerifiedQC/ShorECDLP, commit 15d2a336743304e069f8a8a468c6ab1da334577b. Original project: https://github.com/VerifiedQC/ShorECDLP See docs/PROVENANCE.md for the extraction scope and changes. Apache License 2.0 was selected for this repository, including this requested extraction, by Runzhou Tao on 2026-09-08 in the project channel. VerifiedQC/ShorECDLP has since added an Apache 2.0 LICENSE (main 334359d, 2026-10-26). The Framework and arithmetic circuit proofs were written for ECDSAAdd. Mathlib and other external dependencies retain their own licenses and are not redistributed here. The controlled point-addition challenge format is co-developed with Eigen Labs (co-publication terms to be finalized).
File NOTICE at commit 338d3a47e510447c4625649c56942c4d39fc0a61 (git blob 7567c4595738925a188e592bee468e84e1c96380).
Layr-Labs/shor-ecdlp-lean
ShorECDLP Copyright 2026 Runzhou Tao and Anirudh Licensed under the Apache License, Version 2.0 (see LICENSE). The 2607.13816 submission formalizes the construction of arXiv:2607.13816; please cite that paper when using it. Prepared for proposed publication with Eigen Labs; collaboration terms remain to be finalized.
File NOTICE at commit 0395f6e230b32e1856ce89d39894e44191c60f37 (git blob 86f2226c61bd8c80bcea1ad338a32b4d50cfeb7b).