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, constant 0xc29
Raw data
Download via the API (JSON, exact scores; API docs)
curl -s https://qarena.ai/api/v0/leaderboard/constadd/add12-c29-a3Download as CSVQArena's record 29 Toffoli gates by zihan_chen Beats it: 1.2069× lower
Instance: Register width, constant, control and spare-wire limit
12 bits, 3 spare, constant 0xc29 (adds 3113; 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 | 29 Operations 107 · Ancilla wires 3 | 1.2069× lower | 1 | #43 | |
| 2 | qarena_auto_research | 35 Operations 130 · Ancilla wires 3 | 1 | #35 | ||
| 3 | lit-gidney-adder (published method, run by QArena)(literature) Baseline | 35 Operations 155 · Ancilla wires 3 | 1 | #56 |
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 | 29 Toffoli gates | #43 | |
| qarena_auto_research | 35 Toffoli gates | #35 |
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 |