QouratR&D centreContact

What bounds does the quantum point-addition ledger give?

The ledger reproduces Mahmoud514’s accepted upper bounds of 1,543 logical qubits and 2,011,335 Toffoli gates in Yukon’s ongoing point-addition challenge.

The product is 3,103,489,905. The organiser verified the certificate. Our local replay stopped during compilation.

On this page

The evidence cut-off is 3 December 2026. The organiser accepted this revision on 25 November after its benchmark succeeded. Acceptance commit · Organiser’s run · Ongoing Lean challenge

Question

How much workspace and how many Toffoli gates does the ledger charge for one controlled point addition on the curve secp256k1? A wire label identifies a logical qubit. A Toffoli gate flips a target bit when both controls are set. The organiser asks for bounds that hold for every public point being added, including the point at infinity, the identity for addition. Protected contract

Data

We used the seven charges in the 25 November audit of Mahmoud514’s accepted construction, the component checker’s receipt and the official submission record. The source revision is 43cd221192e841f50b3af543a8fb93d0e2f4ab82. The certificate covers the contract’s signed basis states for each fixed measurement record. Entrant declaration · Protected contract · Organiser’s benchmark rules

Method

Let Q be the width bound in logical qubits and T the upper bound on Toffoli gates. Here T counts Toffoli gates only. Charge each distinct wire label once across the circuit, including idle input and output wires. A row with zero additional qubits borrows wires already in that total. Add the gate charges separately, then multiply the column totals to obtain S = Q × T. Multiplying each row first would discard the cost of the gates on borrowed wires. Width definition · Scoring rule

Two three-wire gates use wires 1–3 and 2–4. Their combined inventory contains four labels.
Follow each wire across both gates. Dots mark controls and a circled plus marks the target. This four-wire example omits the benchmark’s fixed input and output registers.Open full-size figure

Worked example. The two coordinate registers contribute 512 wires, the control and finite-point flag contribute 2, and the remaining allowance is 1,029. That gives Q = 512 + 2 + 1,029 = 1,543. Division and multiplication contribute 979,489 + 979,985 = 1,959,474 gates. The other five charges add 51,861, giving T = 2,011,335 and S = 1,543 × 2,011,335 = 3,103,489,905.

Results

Seven allocations account for the full workspace and gate budget.CSV
AllocationQubits charged onceToffoli gates
Field division / inversion0979,489
Forward field multiplication0979,985
Modular square, product formation and remaining recombination043,698
Modular reduction, five direct square folds03,830
Coordinate additions, subtraction and comparison5123,318
Control, exceptional points and format conversion2526
Ancilla handling, shared workspace and marker1,029489
Total1,5432,011,335
Division uses 979,489 gate charges and multiplication 979,985, compared with 51,861 elsewhere.
Division and multiplication together account for 97.42% of the Toffoli budget.Open full-size figure
Of 1,543 charged wires, 512 belong to coordinate registers, 2 to control and the finite flag, and 1,029 to shared workspace.
The four arithmetic rows can have zero additional width because the wire allocation is shared.Open full-size figure
Summing the charges and reading the bound declaration separately give the same dimensions and product as the published entry.4 columnsCSV
EvidenceQubitsToffoli boundProduct
Ledger column sums1,5432,011,3353,103,489,905
Pinned Lean declaration1,5432,011,3353,103,489,905
Published submission1,5432,011,3353,103,489,905

Checks

Computed evidence. The component check reconstructs gate charges before normalization, when the circuit is simplified. Some charges are ceilings. The shared width of 1,029 is the declared width less the 514 input and output wires. Subtracting those wires explains the allocation. The guarantee that every input fits comes from the entrant’s certificate. As a boundary case, adding the point at infinity selects an empty program. It uses zero gates but the model still charges 514 input and output wires. Its gate count can therefore be far below the published ceiling. Entrant cases and bound · Empty-program width

Machine-checked by the organiser. The hosted job completed setup, benchmark and score reporting for candidate 5c8ab40b. Its entrant tree matches the accepted revision. The scorer checks protected files, replays compiled declarations and calls the kernel judge. Lean 4.28 includes the checker used for replay. Hosted job · Scorer · Lean checker documentation

Local replay. The protected setup passed on 25 November. On 2 December we verified 889 protected artifact hashes and replayed one contract module and one judge module. The first full build stopped after 30 min 23 s when the host ran out of memory compiling the entrant’s Prelude.lean. Its largest compiler sample was 11,329,748 KiB of resident memory (10.80 GiB).

On 3 December the capped retry completed NumericCarryTrace.lean and was still compiling Prelude.lean at the 25-minute deadline. The build’s memory peak was 7 GiB with zero swap use. The timeout wrapper returned 124. Neither attempt reached the kernel judge or produced a score file. Both measurements and the log fingerprints are in code/replay-receipt.json.

What it means in plain words

The score multiplies two budget limits for a single controlled addition. It gives no execution time, physical qubit requirement or minimum achievable score. The Rust benchmark averages executed gates per shot, so its gate column answers a different question. Garn and Kan’s published hardware estimates use explicit machine assumptions. Luo and colleagues’ 2026 preprint estimates that their circuit for the full secp256k1 discrete-logarithm computation uses 835 logical qubits. Neither supplies a local verdict for this entry. Rust scoring convention · Hardware study · Preprint

Machine-checked by the organiser. On 2 December Yukon accepted a lower score for Meganpark980320’s entry. Its bounds of 1,542 logical qubits and 2,003,727 Toffoli gates give a product of 3,089,747,034 under the same scoring rule. Accepted submission

Computed evidence. In a September 2026 preprint, Long and colleagues report that their repaired point-addition circuit with a 16-bit selection window used 1,419 qubits and averaged about 1.356 million executed Toffoli gates over 100,000 test inputs. The authors found no failures in that sample, but their four-bit window test gave wrong outputs on supported inputs. Their average describes the test sample, while Yukon requires a bound for every public addend. Long and colleagues’ preprint

How to use this

Open the allocation CSV in a spreadsheet and enter =SUM(B2:B8)*SUM(C2:C8) in an empty cell. It returns 3,103,489,905. Row 9 already contains the totals.

  • For a benchmark reviewer, a one-wire discrepancy has a recognizable size. Charging a shared wire twice changes Q to 1,544 with T unchanged, raising the product by exactly 2,011,335. Check the wire inventory first. A single duplicated gate at fixed width raises it by only 1,543.
  • For a circuit engineer, a missing cleanup stage can resemble a saving. Dropping the 244 marker-erase gates and 245 reload gates while retaining the width lowers the spreadsheet product by 489 × 1,543 = 754,527. Restore the missing charge before comparing implementations.
The first row gives the accepted score. Each of the next three rows shows the effect of a single bookkeeping error.CSV
Ledger caseProductChange from published
As recorded3,103,489,9050
One wire counted twice3,105,501,2402,011,335
Marker gates omitted3,102,735,378-754,527
One gate counted twice3,103,491,4481,543

What we built

The offline Python checker in code/check.py reads the supplied ledger CSV, reconstructs each stage from component identities and rejects a mismatch even when two row errors cancel. With a copy of the pinned entrant file it also verifies its SHA-256 and reads its declared bounds. The nine tests exercise the sample command and check missing or duplicated charges, mismatched totals, the source fingerprint and both output tables.

What we will try next

Proposal — Can a local replay certify the same entry? Try the pinned source and unmodified scorer on a machine with a documented larger resource allowance. Verify the protected setup before compiling the entrant. Require an accepted judge verdict, exit zero and a fresh score file matching both dimensions and their product. A rejection or mismatch contradicts agreement. Reaching the declared resource limit first means that replay failed to complete. It leaves the certificate’s local verification open.

Proposal — Would a claimed saving survive the same accounting? For a proposed revision with a public certificate, compare its complete width and gate bounds under the same contract. Discard the saving if the scorer rejects the revision or its product is at least 3,103,489,905. A smaller ledger alone would leave the saving unverified.

References

Download reference list

  1. Layr Labs, acceptance of Mahmoud514’s submission on 25 November 2026

    Accepted commit, submission ID, author credit and date. Repository code is Apache-2.0. Only derived research results are distributed here.

    Opened 2026-12-03
  2. Yukon, formally verified controlled point-addition benchmark

    The organiser defines the Lean track score as the product of uniform qubit and Toffoli upper bounds. Only derived counts are published here.

    Opened 2026-12-03
  3. Layr Labs, protected point-addition contract at the accepted revision

    Certificate scope, distinct-wire union including idle input/output, empty program and bound field order. Apache-2.0.

    Opened 2026-12-03
  4. Mahmoud514 and contributors, accepted entrant and bound declaration

    Finite and infinity cases, normalization, numeric bounds at line 5476, entry and certificate exports at the end of the file. Apache-2.0.

    Opened 2026-12-03
  5. Organiser’s GitHub Actions job 138950830645

    Candidate SHA, conclusion and status of setup, benchmark and score reporting. Public GitHub job metadata, results only.

    Opened 2026-12-03
  6. Layr Labs, scoring script at the accepted revision

    Clean entrant build, protected-file and replay checks, kernel verdict, integer product and final score receipt. Apache-2.0.

    Opened 2026-12-03
  7. Lean project, kernel replay in Lean 4.28

    The checker for compiled declarations is distributed with Lean from 4.28.0. The deprecated standalone project documents the transition.

    Opened 2026-12-03
  8. Layr Labs, Rust point-addition benchmark at the comparator revision

    The published Rust rule uses the average executed Toffoli count per shot. Only the definition is compared.

    Opened 2026-12-03
  9. Garn and Kan, Quantum resource estimates for computing binary elliptic curve discrete logarithms (2025)

    The authors distinguish logical counts from estimates for specified fault-tolerant hardware architectures. Published in IEEE Transactions on Quantum Engineering, DOI 10.1109/TQE.2025.3586541. Cited for scope.

    Opened 2026-12-03. arXiv 2503.02984
  10. Luo and colleagues, Quantum Algorithm for Elliptic Curve Discrete Logarithms with Space-Efficient Point Addition (2026 preprint)

    Version 3 describes a different construction. It illustrates why the audited bound applies only to the pinned entrant.

    Opened 2026-12-03. arXiv 2607.13816
  11. Yukon, ecdsa.fail Lean point-addition challenge

    The organiser continues to accept improvements to the product of the two uniform bounds. Public challenge description and leaderboard, cited for status.

    Opened 2026-12-03
  12. Yukon, Meganpark980320’s accepted point-addition submission of 2 December 2026

    Entrant, acceptance, promotion date, official metrics and score of the later Lean entry. Only the reported results are quoted.

    Opened 2026-12-03

Reproduce

From the study folder, run the checker and its tests with Python 3.

python3 code/check.py
python3 -m unittest discover -s code

The checker prints 7 allocations: 1,543 qubits × 2,011,335 Toffoli gates = 3,103,489,905. To reproduce both comparison tables, save the linked entrant declaration as Main.lean and run python3 code/check.py --source Main.lean --write-tables. Its expected SHA-256 is 4fb965b8c567d2b227c20097b4aff4a319ea4a39468be91198d9a16c3f80b221. Pinned source

Run python3 code/archive_check.py to redraw the figures from the archived allocation table. For the original receipt comparison, the five source fingerprints are in code/inputs.json. The original allocation, report and machine receipts are kept separately because the historical files also contain local run details. The pinned public declaration and official submission are cited in the protocol and bibliography. Request the matching historical files from Qourat R&D centre, place them in inputs/, and run python3 code/archive_check.py --inputs inputs to verify them and regenerate tables/cost.csv. The agreement and sensitivity tables preserve the published comparisons.

A new kernel run requires the organiser’s pinned Lean project, scorer and dependencies. The archive contains the local replay receipt and its log fingerprints. Neither historical local attempt reached a kernel verdict.

Change log

25 November 2026. We recorded the original work.

26 November 2026. Checked the cited sources.

2 December 2026. Distinguished uniform bounds from gate executions, checked the accepted source and the organiser’s job, and added the offline checker, allocation chart and bookkeeping comparisons.

3 December 2026. Recorded the first build’s out-of-memory termination and a fresh replay under a 7 GiB cap. The retry reached the 25-minute deadline during entrant compilation.

3 December 2026. Corrected the compiler memory conversion and identified the baseline in the sensitivity table. Added the later accepted bounds and the separate window-selected circuit tests.

3 December 2026. Published the revised study.

3 December 2026. Source files and reproduction notes were made portable for the archived copy. No result changed.

Our review

Rating 6.3 out of 10

  • Question 14 of 15
  • Evidence 14 of 25
  • Verification 10 of 15
  • Sources 12 of 15
  • Usefulness 10 of 20
  • Originality 3 of 10

Multiplying the two totals reconstructed from the seven ledger rows reproduces the pinned circuit score and agrees with the checker receipt, while the end-to-end build has no recorded verdict.

This is the centre's own review, not peer review by outside scholars; see Policies.

Cite this study

Titles are italic in Harvard, APA, MLA and Chicago.

First published .

Harvard

Qourat 2026, What bounds does the quantum point-addition ledger give?, Research 010, Qourat Research and Development Centre, https://qourat.com/research/circuit-cost-audit/

APA (7th edition)

Qourat. (2026). What bounds does the quantum point-addition ledger give? (Research 010). Qourat Research and Development Centre. https://qourat.com/research/circuit-cost-audit/

IEEE

[1] Qourat, “What bounds does the quantum point-addition ledger give?” Qourat Research and Development Centre, Research 010, Nov. 26, 2026. [Online]. Available: https://qourat.com/research/circuit-cost-audit/

MLA (9th edition)

Qourat. What Bounds Does the Quantum Point-Addition Ledger Give? Research 010, Qourat Research and Development Centre, 26 Nov. 2026, https://qourat.com/research/circuit-cost-audit/.

Chicago (author-date)

Qourat. 2026. What Bounds Does the Quantum Point-Addition Ledger Give? Research 010. Qourat Research and Development Centre. https://qourat.com/research/circuit-cost-audit/.

BibTeX

@techreport{qourat-010,
  author = {Qourat},
  title = {{What bounds does the quantum point-addition ledger give?}},
  institution = {Qourat Research and Development Centre},
  number = {Research 010},
  year = {2026},
  date = {2026-11-26},
  url = {https://qourat.com/research/circuit-cost-audit/}
}

Add the date you read the page if your style asks for one.