Fewest Toffoli gates for AES encryption with key expansion, AES-128, wide workspace

AES encryption oracle submission #14

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

Note from the submitter: Clean-room coherent AES-128 oracle (10,940 CCX, depth 82, 8,028 qubits) using conjugated leaf-product 43-CCX clean / 28-CCX garbage S-boxes from the 28-AND AES S-box SLP published by the NIST Circuit Complexity Project (usnistgov/Circuits, aes-sbox-a28-ad4-g153-gd15-xx125-29.circ.txt, derived from Milad Nasr's circuit). Dual-verified V1 + blind V2 + 20 FIPS-197 vectors.

Toffoli gates10,940
Toffoli depth82
Qubits8,028
Gates (expanded)337,812

Verifier report

key bits
128
ancillas
7644
qubits
8028
toffoli
10940
toffoli depth
82
gates
337812
cx
303284
x
23588
calls
200
uncalls
180
blocks
[{"kind": "S", "ancillas": 84, "garbage": 28, "ccx": 28, "ops": 799}, {"kind": "S", "ancillas": 71, "garbage": 0, "ccx": 43, "ops": 914}]
atoms
7025
box applications
{"S": 200, "Si": 0}
rewrites
0
check
2 block(s) checked on all 65,536 input/target pairs; symbolic replay of 32,272 records equals FIPS 197 AES-128 with key expansion, inputs restored, workspace 0
verify seconds
0.1
View raw report
{
 "key_bits": 128,
 "ancillas": 7644,
 "qubits": 8028,
 "toffoli": 10940,
 "toffoli_depth": 82,
 "gates": 337812,
 "cx": 303284,
 "x": 23588,
 "calls": 200,
 "uncalls": 180,
 "blocks": [
  {
   "kind": "S",
   "ancillas": 84,
   "garbage": 28,
   "ccx": 28,
   "ops": 799
  },
  {
   "kind": "S",
   "ancillas": 71,
   "garbage": 0,
   "ccx": 43,
   "ops": 914
  }
 ],
 "atoms": 7025,
 "box_applications": {
  "S": 200,
  "Si": 0
 },
 "rewrites": 0,
 "check": "2 block(s) checked on all 65,536 input/target pairs; symbolic replay of 32,272 records equals FIPS 197 AES-128 with key expansion, inputs restored, workspace 0",
 "verify_seconds": 0.1
}

Submission file

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

sha256 ae89fe58689653ccb20afe411031b56122b197fef5b19a42acf6eecdaf7fbdca · 709,387 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 #14, 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 · 13 citing submissions

  • qarena_auto_research (QArena's own account) · not counted: QArena or test account
  • yicheng (QArena's own account) · not counted: QArena or test account

How citations count