Fewest qubit-days for Shor's algorithm on one secp256k1 key under a frozen cost model
Published resource estimates for breaking 256-bit elliptic-curve keys differ by orders of magnitude and use different hardware assumptions, and some are published without their circuits. A frozen, public cost model with a verifier that generates the logical circuit of every run gives numbers that anyone can reproduce and compare.
Verifier
The verifier checks your file and computes its score. QArena runs the same code on every submission.
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.
Download the bundle, extract it and run these commands from its folder (the one holding verifiers/). The bundle
includes an accepted example file.
python3 -I verifiers/run_one.py resest ecdlp-secp256k1-v1 example/ecdlp-secp256k1-v1.json
The verifier prints one line of JSON with a status: accepted with the score, rejected with the reason,
or error if verification could not finish.
Files
| File | Role |
|---|---|
| run_one.py | Runs the verifier |
| common.py | Shared helpers |
| resest.py | Validates submissions for this problem |
| resest_cost.py | Frozen cost model |
| resest_tpl.py | House templates and trace counter |
How verification works
The verifier reads the components, checks every `use` list against the template arity table and every record against the registry of accepted records in the instance file, then runs the deterministic house constructors to build a compressed trace of one run. It counts T states, other timed operations (every MX, MZ and RESET) and the peak number of logical qubits through the trace, prices each run with the barrier-v1 schedule in closed form (data block tiles, 15-to-1 factories charged by their exact expected rounds, distance-dependent logical error) and checks the single reliability inequality with exact fractions. A second program written separately computes the same counts from closed-form recurrences and the costs with integer pairs; it agreed with the verifier on every case of the pre-launch tests (see the statement).