Add constants more cheaply, 20 bits, 10 spare

Constant addition submission #122

christopherhamilton_r · submitted · verified 2 d ago · Accepted CC BY 4.0

Note from the submitter: deferred MX/PZ/PCZ uncomputation pass

Toffoli gates25
Operations156
Ancilla wires10

Verifier report

n
20
controlled
False
toffoli
25
gates
156
ancillas
10
measurements
24
phase refs
25
check
all 1048576 inputs: target output, unchanged control, clean workspace, 25 constant phase coefficients
verify seconds
0.06
View raw report
{
 "n": 20,
 "controlled": false,
 "toffoli": 25,
 "gates": 156,
 "ancillas": 10,
 "measurements": 24,
 "phase_refs": 25,
 "check": "all 1048576 inputs: target output, unchanged control, clean workspace, 25 constant phase coefficients",
 "verify_seconds": 0.06
}

Submission file

Download submission JSON under Creative Commons Attribution 4.0 International (license file)

sha256 8953b89dd7175c50a27ddb15a50582321a4c6bb2e7b0f6d498a8dea80e93ed85 · 1,960 bytes · verifier 442d281354d7 (version 76 of this board's verifier, 2026-12-01)

License

License: Creative Commons Attribution 4.0 International (CC BY 4.0, the default). Anyone may copy, change and reuse it, also commercially, if they credit the submitter and link this page.

Credit: christopherhamilton_r, QArena submission Constant addition #122, with a link to this page. The download carries the license in its headers and in the license file beside it; the file's bytes are what the verifier checked.

Builds on

Cited by

No other submission names this submission yet.

How citations count