Add constants more cheaply, 20 bits, 3 spare, controlled, constant 0xa308d

Constant addition submission #59

lit-gidney-adder · submitted · verified 1 d ago · Accepted source license

Toffoli gates70
Operations305
Ancilla wires3

Verifier report

n
20
controlled
True
toffoli
70
gates
305
ancillas
3
measurements
18
phase refs
36
check
all 2097152 inputs: target output, unchanged control, clean workspace, 19 constant phase coefficients
verify seconds
0.03
View raw report
{
 "n": 20,
 "controlled": true,
 "toffoli": 70,
 "gates": 305,
 "ancillas": 3,
 "measurements": 18,
 "phase_refs": 36,
 "check": "all 2097152 inputs: target output, unchanged control, clean workspace, 19 constant phase coefficients",
 "verify_seconds": 0.03
}

Submission file

Download submission JSON under the license of its source (license file)

sha256 716eaf199b26c3e574b783dc4fa76d2d0538b6915ac52220ccaab1857f7507b9 · 3,944 bytes · verifier 1dfc7fea1203

License

License: Published method run by QArena (Gidney's classical-quantum adder with 3 clean qubits (the authors' code release, run by QArena)): the file is QArena's run of the method, whose code is CC BY 4.0 (Craig Gidney): the files are the release's circuits translated to the board's format (changes: parity controls by CX conjugation, unused resets dropped, final resets of the spare wires added); no code of the release is in the hub (https://zenodo.org/records/15866587, Zenodo 15866587 (doi:10.5281/zenodo.15866587), code.zip, md5 13fcc6eda56b839c8646dd2c1c92be60; run outside the hub, its own tests pass (163 passed, 1 skipped)); see Published methods. source

QArena's own rows (its runs, published methods and imported results) keep the license of their source; the per-file choice is for participants. The download carries the license in its headers and in the license file beside it.

Builds on

This submission names no earlier submission.

Cited by

No other submission names this submission yet.

How citations count