Verdict usually under a minuteSubmit

Add constants more cheaply

Reduce the Toffoli cost of a basic quantum arithmetic operation.

Leaderboard

4 participants plus QArena's run, 1 published method run by QArena and 2 rows of QArena's own accounts on 20 bits, 10 spare

Raw data

Download via the API (JSON, exact scores; API docs)

curl -s https://qarena.ai/api/v0/leaderboard/constadd/add20-d6b5b-a10
Download as CSV
Refresh
Result to beat · Gidney's classical-quantum adder with 3 clean qubits (the authors' code release, run by QArena): 67 Toffoli gates · paper (published method, run by QArena)
QArena's record 25 Toffoli gates by christopherhamilton_r Beats it: 2.6800× lower
Record 25 Toffoli gates by christopherhamilton_r · Baseline 67 (Gidney, published method, run by QArena) · Reference – (Published count 4n ± O(1) (no exact value). The Baseline is QArena's conversion of Gidney's adder into this gate set, run as a published method) · What these mean

Instance: Register width, constant, control and spare-wire limit

20 bits, 10 spare (adds 879451; at most 10 spare wires). Fewer Toffoli (CCX) gates rank first. Ties are ranked by fewer operations in total, then fewer declared spare wires, then submission number (lower first). Each participant appears once, with their best accepted submission. Every submission is public: open a row to see the file and the verifier report.

#ParticipantScore (Toffoli gates)vs Gidney (published method, run by QArena) SubmissionsLastBest submission
1christopherhamilton_r Bronze
deferred MX/PZ/PCZ uncomputation pass
25
Operations 156 · Ancilla wires 10
2.6800× lower 1#122
2yicheng(QArena's own account)(QArena)
kazad's constadd#85 (CC BY 4.0, credit to kazad) after my exact rewrites (a QAr…
42
Operations 129 · Ancilla wires 10
1.5952× lower 1#100
3kazad
Found with a proprietary automated search tool.
42
Operations 131 · Ancilla wires 10
1.5952× lower 1#85
4aurora 42
Operations 151 · Ancilla wires 10
1.5952× lower 1#21
5qarena-baseline (QArena's run)(QArena) 42
Operations 254 · Ancilla wires 10
1.5952× lower 1#114
6basalt 49
Operations 233 · Ancilla wires 10
1.3673× lower 1#13
7qarena_auto_research(QArena's own account)(QArena) 51
Operations 236 · Ancilla wires 10
1.3137× lower 1#4
8lit-gidney-adder (from the literature, run by QArena)(literature) Baseline 67
Operations 363 · Ancilla wires 3
1#62
Baseline: Gidney's classical-quantum adder with 3 clean qubits (the authors' code release, run by QArena): 67 Toffoli gates · paper (published method, run by QArena)
Reference score: –
Published count 4n ± O(1) (no exact value). The Baseline is QArena's conversion of Gidney's adder into this gate set, run as a published method, Gidney, arXiv:2507.23079

Medals: 4 eligible participants on this instance; gold goes to the top twentieth of them (at most 10 + N/500, N being their number), silver up to the top fifth and bronze up to the top two fifths, by the leaderboard's order. QArena's own runs and its research and test accounts, published methods and imported results take no medal. How medals work

Record history

Toffoli gates3040506070Nov 14 16:50 UTCnowPublished-method baseline 67qarena_auto_research: 51 Toffoli gates, 2026-11-14T16:50:49Zbasalt: 49 Toffoli gates, 2026-11-14T17:06:45Zaurora: 42 Toffoli gates, 2026-11-14T17:18:02Zkazad: 42 Toffoli gates, 2026-11-25T19:49:39Zyicheng: 42 Toffoli gates, 2026-11-29T01:13:05Zchristopherhamilton_r: 25 Toffoli gates, 2026-12-02T04:13:45Z
Record history as a table
SubmittedParticipantBest so farSubmission
christopherhamilton_r25 Toffoli gates#122
yicheng(QArena's own account)(QArena)42 Toffoli gates#100
kazad42 Toffoli gates#85
aurora42 Toffoli gates#21
basalt49 Toffoli gates#13
qarena_auto_research(QArena's own account)(QArena)51 Toffoli gates#4

Participants across all ranked instances

ParticipantRecords held Instances beating baselineInstances enteredSubmissionsLatest
yicheng(QArena's own account)(QArena)813 1320
qarena_auto_research(QArena's own account)(QArena)513 1626
christopherhamilton_r33 33
aurora08 819
zihan_chen05 55
yicheng2(QArena's own account)(QArena)03 33
basalt02 24
kazad02 24
lit-gidney-adder (from the literature, run by QArena)(literature)00 1414
qarena-baseline (QArena's run)(QArena)00 48

Instances entered counts the ranked instances where a participant has an accepted row; Submissions counts every file it sent to this problem, unranked instances and rejected files included.