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-a10Download as CSVQArena's record 25 Toffoli gates by christopherhamilton_r Beats it: 2.6800× lower
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.
| # | Participant | Score (Toffoli gates) | vs Gidney (published method, run by QArena) | Submissions | Last | Best submission |
|---|---|---|---|---|---|---|
| 1 | christopherhamilton_r Bronze deferred MX/PZ/PCZ uncomputation pass |
25 Operations 156 · Ancilla wires 10 | 2.6800× lower | 1 | #122 | |
| 2 | yicheng(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 | |
| 3 | kazad Found with a proprietary automated search tool. |
42 Operations 131 · Ancilla wires 10 | 1.5952× lower | 1 | #85 | |
| 4 | aurora | 42 Operations 151 · Ancilla wires 10 | 1.5952× lower | 1 | #21 | |
| 5 | qarena-baseline (QArena's run)(QArena) | 42 Operations 254 · Ancilla wires 10 | 1.5952× lower | 1 | #114 | |
| 6 | basalt | 49 Operations 233 · Ancilla wires 10 | 1.3673× lower | 1 | #13 | |
| 7 | qarena_auto_research(QArena's own account)(QArena) | 51 Operations 236 · Ancilla wires 10 | 1.3137× lower | 1 | #4 | |
| 8 | lit-gidney-adder (from the literature, run by QArena)(literature) Baseline | 67 Operations 363 · Ancilla wires 3 | 1 | #62 |
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
Record history as a table
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.