Add constants more cheaply, 12 bits, 3 spare, controlled, constant 0x945

Constant addition submission #55

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

Toffoli gates38
Operations166
Ancilla wires3

Verifier report

n
12
controlled
True
toffoli
38
gates
166
ancillas
3
measurements
10
phase refs
20
check
all 8192 inputs: target output, unchanged control, clean workspace, 11 constant phase coefficients
verify seconds
0.02
View raw report
{
 "n": 12,
 "controlled": true,
 "toffoli": 38,
 "gates": 166,
 "ancillas": 3,
 "measurements": 10,
 "phase_refs": 20,
 "check": "all 8192 inputs: target output, unchanged control, clean workspace, 11 constant phase coefficients",
 "verify_seconds": 0.02
}

Submission file

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

sha256 06a05b8d028df556fa9129586f22cd56d6933e0054b1299cec9edf58c209064c · 2,060 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