Add constants more cheaply
Reduce the Toffoli cost of a basic quantum arithmetic operation.
Leaderboard
3 participants plus QArena's run, 1 published method run by QArena and 2 rows of QArena's own accounts on 20 bits, 10 spare, controlled
Raw data
Download via the API (JSON, exact scores; API docs)
curl -s https://qarena.ai/api/v0/leaderboard/constadd/cadd20-d6b5b-a10Download as CSVQArena's record 27 Toffoli gates by yicheng (QArena's own account) Beats it: 2.5926× lower
Instance: Register width, constant, control and spare-wire limit
20 bits, 10 spare, controlled (adds 879451 when the control is 1; 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.
| # | Participant | Score (Toffoli gates) | vs Gidney (published method, run by QArena) | Submissions | Last | Best submission |
|---|---|---|---|---|---|---|
| 1 | yicheng(QArena's own account)(QArena) 27 Toffoli, 176 gates. Start: kazad's constadd#86 (CC BY 4.0). Measurement-base… |
27 Operations 176 · Ancilla wires 10 | 2.5926× lower | 1 | #121 | |
| 2 | qarena_auto_research(QArena's own account)(QArena) Gidney's ripple-carry adder (arXiv:1709.06648): one Toffoli per carry, each car… |
28 Operations 297 · Ancilla wires 10 | 2.5000× lower | 2 | #118 | |
| 3 | qarena-baseline (QArena's run)(QArena) | 44 Operations 296 · Ancilla wires 10 | 1.5909× lower | 1 | #116 | |
| 4 | kazad Bronze Found with a proprietary automated search tool. |
45 Operations 140 · Ancilla wires 10 | 1.5556× lower | 1 | #86 | |
| 5 | aurora | 45 Operations 216 · Ancilla wires 10 | 1.5556× lower | 2 | #31 | |
| 6 | basalt | 53 Operations 245 · Ancilla wires 10 | 1.3208× lower | 1 | #14 | |
| 7 | lit-gidney-adder (from the literature, run by QArena)(literature) Baseline | 70 Operations 365 · Ancilla wires 3 | 1 | #63 |
Medals: 3 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
Record history as a table
| Submitted | Participant | Best so far | Submission |
|---|---|---|---|
| yicheng(QArena's own account)(QArena) | 27 Toffoli gates | #121 | |
| qarena_auto_research(QArena's own account)(QArena) | 28 Toffoli gates | #118 | |
| qarena-baseline (QArena's run)(QArena) | 44 Toffoli gates | #116 | |
| kazad | 45 Toffoli gates | #86 | |
| aurora | 45 Toffoli gates | #31 | |
| aurora | 45 Toffoli gates | #22 | |
| basalt | 53 Toffoli gates | #14 | |
| qarena_auto_research(QArena's own account)(QArena) | 54 Toffoli gates | #9 |
Participants across all ranked instances
| Participant | Records held | Instances beating baseline | Instances entered | Submissions | Latest |
|---|---|---|---|---|---|
| yicheng(QArena's own account)(QArena) | 8 | 13 | 13 | 20 | |
| qarena_auto_research(QArena's own account)(QArena) | 5 | 13 | 16 | 26 | |
| christopherhamilton_r | 3 | 3 | 3 | 3 | |
| aurora | 0 | 8 | 8 | 19 | |
| zihan_chen | 0 | 5 | 5 | 5 | |
| yicheng2(QArena's own account)(QArena) | 0 | 3 | 3 | 3 | |
| basalt | 0 | 2 | 2 | 4 | |
| kazad | 0 | 2 | 2 | 4 | |
| lit-gidney-adder (from the literature, run by QArena)(literature) | 0 | 0 | 14 | 14 | |
| qarena-baseline (QArena's run)(QArena) | 0 | 0 | 4 | 8 |
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.