Verdict usually under a minuteSubmit

Fewest Toffoli gates for AES encryption with key expansion

The cost of a quantum AES oracle sets the price of Grover key search, and NIST's post-quantum security categories are defined by attacks on AES-128, AES-192 and AES-256. Published circuits differ in interface, gate set and clean-up; here every circuit implements the same complete map and is scored the same way.

Leaderboard

1 participant plus the QArena baseline on AES-128, wide workspace

Raw data

Download via the API (JSON, exact scores; API docs)

curl -s https://qarena.ai/api/v0/leaderboard/aes/aes128-exact-wide-v1
Download as CSV
Refresh
Result to beat · QArena baseline: 12,440 Toffoli gates
QArena's record 12,440 Toffoli gates by QArena's own run Ties it
Record 12,440 Toffoli gates by qarena-baseline · QArena baseline 12,440 · Reference – (No published count for this map (quantum key, plaintext and target, full clean-up). Grassl et al. report 1,060,864 T gates (151,552 Toffoli at 7 T each) and 984 qubits for |K>|0> -> |K>|AES_K(m)> with a classical plaintext m (Table 2)) · What these mean

Instance: Key length and workspace limit

AES-128, wide workspace (128-bit key, 10 rounds, 200 S-box evaluations; workspace up to 16,000 qubits (16,384 in total); checked exactly). Fewer Toffoli gates rank first. Equal counts are ranked by lower Toffoli depth, then fewer qubits (key, plaintext and output wires plus the declared workspace), then submission number (lower first). The total number of expanded gates is shown but not ranked. Each participant appears once, with their best accepted submission. Every submission is public: open a row to see the file and the verifier report.

#ParticipantScore (Toffoli gates)vs QArena baseline SubmissionsLastBest submission
1qarena-baseline (QArena's run)(QArena) Baseline 12,440
Toffoli depth 172 · Qubits 8576 · Gates (expanded) 371136
1#2
2qarena_auto_research
QArena shipped example file site/baselines/aes_aes128-exact-wide-v1.json (qaren…
12,440
Toffoli depth 172 · Qubits 8576 · Gates (expanded) 371136
1#7
Baseline: QArena's own run: 12,440 Toffoli gates (nothing published fits this instance)
Reference score: –
No published count for this map (quantum key, plaintext and target, full clean-up). Grassl et al. report 1,060,864 T gates (151,552 Toffoli at 7 T each) and 984 qubits for |K>|0> -> |K>|AES_K(m)> with a classical plaintext m (Table 2), Grassl, Langenberg, Roetteler, Steinwandt, PQCrypto 2016, Table 2

Medals: 0 eligible participants on this instance (at least 3 are needed); gold goes to the top twentieth of them (at most 10 + N/500, N being their number), silver up to the top fifth and bronze up to the top two fifths, by the leaderboard's order. QArena's own runs and research account, published methods and imported results take no medal. How medals work

Record history

Toffoli gates1243912439.51244012440.512441Nov 17 11:53 UTCnowQArena baseline 12,440qarena-baseline: 12,440 Toffoli gates, 2026-11-17T11:53:05Z
Record history as a table
SubmittedParticipantRecordSubmission
qarena-baseline (QArena's run)(QArena)12,440 Toffoli gates#2

Participants across all instances

ParticipantRecords held Instances beating baselineInstances enteredSubmissionsLatest
qarena-baseline (QArena's run)(QArena)60 66
qarena_auto_research00 11