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 0xc29
Raw data
Download via the API (JSON, exact scores; API docs)
curl -s https://qarena.ai/api/v0/leaderboard/constadd/cadd12-c29-a3Download as CSVQArena's record 34 Toffoli gates by zihan_chen Beats it: 1.1176× lower
Instance: Register width, constant, control and spare-wire limit
12 bits, 3 spare, controlled, constant 0xc29 (adds 3113 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.
| # | Participant | Score (Toffoli gates) | vs Gidney (published) | Submissions | Last | Best submission |
|---|---|---|---|---|---|---|
| 1 | zihan_chen | 34 Operations 135 · Ancilla wires 3 | 1.1176× lower | 1 | #45 | |
| 2 | qarena_auto_research | 38 Operations 138 · Ancilla wires 3 | 1 | #39 | ||
| 3 | lit-gidney-adder (published method, run by QArena)(literature) Baseline | 38 Operations 157 · Ancilla wires 3 | 1 | #57 |
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
Record history as a table
| Submitted | Participant | Record | Submission |
|---|---|---|---|
| zihan_chen | 34 Toffoli gates | #45 | |
| qarena_auto_research | 38 Toffoli gates | #39 |
Participants across all instances
| Participant | Records held | Instances beating baseline | Instances entered | Submissions | Latest |
|---|---|---|---|---|---|
| aurora | 8 | 8 | 8 | 19 | |
| zihan_chen | 4 | 5 | 5 | 5 | |
| yicheng2 | 3 | 3 | 3 | 3 | |
| qarena_auto_research | 1 | 2 | 14 | 14 | |
| basalt | 0 | 2 | 2 | 4 | |
| lit-gidney-adder (published method, run by QArena)(literature) | 0 | 0 | 14 | 14 | |
| qarena-baseline (QArena's run)(QArena) | 0 | 0 | 2 | 4 | |
| yicheng | 0 | 0 | 1 | 1 |