Verdict usually under a minuteSubmit

Fewest Toffoli gates for AES encryption with key expansion (sampled check)

Some correct AES circuits use identities that an exact symbolic replay cannot see (shared nonlinear terms across S-boxes, S-box outputs computed without a block, garbage reused across inputs). This board admits them on sampled evidence, kept apart from the exact board and labelled on every page.

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

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/aessamp/aes128-sampled-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 on 32,768 fresh random trials (sampled)). 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
2yicheng
Pre-launch coverage check. Method: QArena house baseline construction, resubmit…
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
yicheng00 11