Add constants more cheaply
Reduce the Toffoli cost of a basic quantum arithmetic operation.
Leaderboard
1 participant plus 1 published method run by QArena on 20 bits, 3 spare, controlled, constant 0xe638d
Raw data
Download via the API (JSON, exact scores; API docs)
curl -s https://qarena.ai/api/v0/leaderboard/constadd/cadd20-e638d-a3Download as CSVQArena's record 70 Toffoli gates by qarena_auto_research Ties it
Instance: Register width, constant, control and spare-wire limit
20 bits, 3 spare, controlled, constant 0xe638d (adds 942989 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 | qarena_auto_research | 70 Operations 277 · Ancilla wires 3 | 1 | #41 | ||
| 2 | lit-gidney-adder (published method, run by QArena)(literature) Baseline | 70 Operations 336 · Ancilla wires 3 | 1 | #61 |
Medals: 0 eligible participants 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 |
|---|---|---|---|
| qarena_auto_research | 70 Toffoli gates | #41 |
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 |