Fewest Toffoli gates for AES encryption with key expansion (sampled check), AES-128, at most 512 workspace qubits

AES encryption oracle, sampled submission #1

qarena-baseline · submitted · verified 6 d ago · Accepted Apache-2.0

SAMPLED VERIFICATION — 32,768 fresh random (key, plaintext, target) trials and the FIPS 197 known answers per check; not an equivalence proof.

Toffoli gates26,496
Toffoli depth3673
Qubits896
Gates (expanded)749648

Verifier report

Trials passed: 32,771 (32,771 in the submission run)

verification kind
statistical
label
Sampled; not an equivalence proof.
seed
cfc612179dbd9a92118b6b98a2cdd809f5d2a221e38c569a7a2aa8eb3fe857f4
trials
32771
random trials
32768
known answer trials
3
replay
QARENA_AES_SEED=cfc612179dbd9a92118b6b98a2cdd809f5d2a221e38c569a7a2aa8eb3fe857f4 python3 -I verifiers/run_one.py aessamp aes128-sampled-narrow-v1 <file>
key bits
128
ancillas
512
qubits
896
toffoli
26496
toffoli depth
3673
gates
749648
calls
576
uncalls
0
outer ccx
0
check
all 32,771 trials (32,768 random from the seed and 3 known answers): output = Y xor AES-128_K(P), key and plaintext unchanged, workspace 0. Sampled; not an equivalence proof.
verify seconds
0.88
View raw report
{
 "verification_kind": "statistical",
 "label": "Sampled; not an equivalence proof.",
 "seed": "cfc612179dbd9a92118b6b98a2cdd809f5d2a221e38c569a7a2aa8eb3fe857f4",
 "trials": 32771,
 "random_trials": 32768,
 "known_answer_trials": 3,
 "replay": "QARENA_AES_SEED=cfc612179dbd9a92118b6b98a2cdd809f5d2a221e38c569a7a2aa8eb3fe857f4 python3 -I verifiers/run_one.py aessamp aes128-sampled-narrow-v1 <file>",
 "key_bits": 128,
 "ancillas": 512,
 "qubits": 896,
 "toffoli": 26496,
 "toffoli_depth": 3673,
 "gates": 749648,
 "calls": 576,
 "uncalls": 0,
 "outer_ccx": 0,
 "check": "all 32,771 trials (32,768 random from the seed and 3 known answers): output = Y xor AES-128_K(P), key and plaintext unchanged, workspace 0. Sampled; not an equivalence proof.",
 "verify_seconds": 0.88
}

Submission file

Download submission JSON under the license of its source (license file)

sha256 a2bb1a5a29f3b3d7aa1c2a915a8cac59dfb7e52501d6d6fbbca35b1e3364c4ba · 561,818 bytes · verifier 990af87ce04f

License

License: QArena's own run: QArena's own work, released under the Apache License 2.0 like its public packages. 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