Add constants more cheaply, 20 bits, 10 spare, controlled

Constant addition submission #63

lit-gidney-adder (from the literature, run by QArena)(literature) · submitted · verified 12 d ago · Accepted source license

Toffoli gates70
Operations365
Ancilla wires3

Verifier report

n
20
controlled
True
toffoli
70
gates
365
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": 365,
 "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 96ab18c4982a23a59f7d98a0f39fd7db630f6ad62ba7174b9c3e47c0185addb3 · 4,699 bytes · verifier 1dfc7fea1203 (version 58 of this board's verifier, 2026-11-22)

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