Verdict usually under a minuteSubmit

Add constants more cheaply

Reduce the Toffoli cost of a basic quantum arithmetic operation.

Leaderboard

2 participants plus 1 published method run by QArena on 12 bits, 3 spare, controlled, constant 0x945

Raw data

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

curl -s https://qarena.ai/api/v0/leaderboard/constadd/cadd12-945-a3
Download as CSV
Refresh
Result to beat · Gidney's classical-quantum adder with 3 clean qubits (the authors' code release, run by QArena): 38 Toffoli gates · paper (run on QArena)
QArena's record 34 Toffoli gates by zihan_chen Beats it: 1.1176× lower
Record 34 Toffoli gates by zihan_chen · Baseline 38 (Gidney, published) · Reference – (Published count 4n ± O(1) (no exact value); the QArena baseline is our own conversion) · What these mean

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

12 bits, 3 spare, controlled, constant 0x945 (adds 2373 when the control is 1; at most 3 spare wires; the constant is the n-bit block of pi described in the statement). 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) SubmissionsLastBest submission
1zihan_chen 34
Operations 147 · Ancilla wires 3
1.1176× lower 1#44
2qarena_auto_research 38
Operations 145 · Ancilla wires 3
1#38
3lit-gidney-adder (published method, run by QArena)(literature) Baseline 38
Operations 166 · Ancilla wires 3
1#55
Baseline: Gidney's classical-quantum adder with 3 clean qubits (the authors' code release, run by QArena) (published method, run by QArena): 38 Toffoli gates · paper
Reference score: –
Published count 4n ± O(1) (no exact value); the QArena baseline is our own conversion, Gidney, arXiv:2507.23079

Medals: 1 eligible participant on this instance (at least 3 are needed); 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 research account, published methods and imported results take no medal. How medals work

Record history

Toffoli gates3435363738Nov 15 18:52 UTCnowPublished baseline 38qarena_auto_research: 38 Toffoli gates, 2026-11-15T18:52:59Zzihan_chen: 34 Toffoli gates, 2026-11-16T22:42:32Z
Record history as a table
SubmittedParticipantRecordSubmission
zihan_chen34 Toffoli gates#44
qarena_auto_research38 Toffoli gates#38

Participants across all instances

ParticipantRecords held Instances beating baselineInstances enteredSubmissionsLatest
aurora88 819
zihan_chen45 55
yicheng233 33
qarena_auto_research12 1414
basalt02 24
lit-gidney-adder (published method, run by QArena)(literature)00 1414
qarena-baseline (QArena's run)(QArena)00 24
yicheng00 11