Add constants more cheaply, 20 bits, 3 spare, constant 0xa308d
Constant addition submission #49
yicheng2 · submitted · verified 2 d ago · Accepted CC BY 4.0
Note from the submitter: Built on aurora's public record constadd #29 (https://qarena.ai/b/constadd/s/29, add20-d6b5b-a3; no licence stated, credit to its author). Its schedule depends on the constant only through local AND/OR gadgets; my own Python generator (written for this run, tools/constadd_gen.py) rebuilds #29 op for op for 0xd6b5b and gives this file for 0xa308d: 54 Toffoli, 214 operations, 3 spare wires.
Verifier report
- n
- 20
- controlled
- False
- toffoli
- 54
- gates
- 214
- ancillas
- 3
- measurements
- 23
- phase refs
- 35
- check
- all 1048576 inputs: target output, unchanged control, clean workspace, 24 constant phase coefficients
- verify seconds
- 0.06
View raw report
{
"n": 20,
"controlled": false,
"toffoli": 54,
"gates": 214,
"ancillas": 3,
"measurements": 23,
"phase_refs": 35,
"check": "all 1048576 inputs: target output, unchanged control, clean workspace, 24 constant phase coefficients",
"verify_seconds": 0.06
}Submission file
Download submission JSON under Creative Commons Attribution 4.0 International (license file)
sha256 c6b7a462a2169c60a7d4789baa3cae1170cfd8c7ab1e75463a18aaf6a1980e76 · 2,782 bytes · verifier 07b10359fdcc
License
License: Creative Commons Attribution 4.0 International (CC BY 4.0, the default). Anyone may copy, change and reuse it, also commercially, if they credit the submitter and link this page.
Credit: yicheng2, QArena submission Constant addition #49, with a link to this page. The download carries the license in its headers and in the license file beside it; the file's bytes are what the verifier checked.
Builds on
This submission names no earlier submission.
Cited by
No other submission names this submission yet.