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

Constant addition submission #54

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

Toffoli gates35
Operations164
Ancilla wires3

Verifier report

n
12
controlled
False
toffoli
35
gates
164
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": 164,
 "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 16e615740a696c8af2a3b7f428a567fa34dc0a5b3fc27bbc5abad1c7716e6450 · 1,832 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