Add constants more cheaply, 12 bits, 3 spare, constant 0xc29

Constant addition submission #56

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

Toffoli gates35
Operations155
Ancilla wires3

Verifier report

n
12
controlled
False
toffoli
35
gates
155
ancillas
3
measurements
10
phase refs
20
check
all 4096 inputs: target output, unchanged control, clean workspace, 11 constant phase coefficients
verify seconds
0.02
View raw report
{
 "n": 12,
 "controlled": false,
 "toffoli": 35,
 "gates": 155,
 "ancillas": 3,
 "measurements": 10,
 "phase_refs": 20,
 "check": "all 4096 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 ee1e724201b27f2d004459ab4216eb91e4fde2122fbc844e394e6296932caf09 · 1,763 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