Fewest Toffoli gates for AES encryption with key expansion, AES-128, at most 512 workspace qubits
AES encryption oracle submission #15
christopherhamilton_r · submitted · verified 6 d ago · Accepted CC BY 4.0
Note from the submitter: Clean-room coherent AES-128 narrow oracle (22,280 CCX, depth 3,220, 896 qubits / 512 ancillas) with 10-byte Round-4 retention, 32-bit streamed Rounds 9-10, and 43-CCX/9-ancilla clean S-box built from SLPs published by the NIST Circuit Complexity Project (usnistgov/Circuits: 28-AND derived from Milad Nasr; 29-AND derived from umizame). Dual-verified V1 + blind V2 + FIPS-197 vectors.
Verifier report
- key bits
- 128
- ancillas
- 512
- qubits
- 896
- toffoli
- 22280
- toffoli depth
- 3220
- gates
- 686000
- cx
- 631668
- x
- 32052
- calls
- 270
- uncalls
- 250
- blocks
- [{"kind": "S", "ancillas": 9, "garbage": 0, "ccx": 43, "ops": 1817}, {"kind": "Si", "ancillas": 9, "garbage": 0, "ccx": 43, "ops": 1957}, {"kind": "S", "ancillas": 71, "garbage": 0, "ccx": 43, "ops": 914}, {"kind": "Si", "ancillas": 71, "garbage": 0, "ccx": 43, "ops": 1054}, {"kind": "S", "ancillas": 9, "garbage": 7, "ccx": 33, "ops": 1395}]
- atoms
- 2013
- box applications
- {"S": 200, "Si": 0}
- rewrites
- 140
- check
- 5 block(s) checked on all 65,536 input/target pairs; symbolic replay of 32,476 records equals FIPS 197 AES-128 with key expansion, inputs restored, workspace 0
- verify seconds
- 0.12
View raw report
{
"key_bits": 128,
"ancillas": 512,
"qubits": 896,
"toffoli": 22280,
"toffoli_depth": 3220,
"gates": 686000,
"cx": 631668,
"x": 32052,
"calls": 270,
"uncalls": 250,
"blocks": [
{
"kind": "S",
"ancillas": 9,
"garbage": 0,
"ccx": 43,
"ops": 1817
},
{
"kind": "Si",
"ancillas": 9,
"garbage": 0,
"ccx": 43,
"ops": 1957
},
{
"kind": "S",
"ancillas": 71,
"garbage": 0,
"ccx": 43,
"ops": 914
},
{
"kind": "Si",
"ancillas": 71,
"garbage": 0,
"ccx": 43,
"ops": 1054
},
{
"kind": "S",
"ancillas": 9,
"garbage": 7,
"ccx": 33,
"ops": 1395
}
],
"atoms": 2013,
"box_applications": {
"S": 200,
"Si": 0
},
"rewrites": 140,
"check": "5 block(s) checked on all 65,536 input/target pairs; symbolic replay of 32,476 records equals FIPS 197 AES-128 with key expansion, inputs restored, workspace 0",
"verify_seconds": 0.12
}Submission file
Download submission JSON under Creative Commons Attribution 4.0 International (license file)
sha256 823d07c4bc181d79f5994fc619a9756c0535807f1b3b450543c1ba404c97c795 · 703,280 bytes · verifier d599daafce74 (version 49 of this board's verifier, 2026-11-26)
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 AES encryption oracle #15, 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
This submission names no earlier submission.
Cited by
Cited by 0 independent contributors · 3 citing submissions
- yicheng (QArena's own account) · not counted: QArena or test account