Fewest Toffoli gates for the group gates of a finite SU(3) subgroup
Every Toffoli saved in these two primitives lowers the gate cost of simulating gluons on a quantum computer, at a size where each submission can be checked on every input. The published estimate for a fiducial shear-viscosity run sums such primitives; the hot cell asks for the larger Σ(360×3), which approximates SU(3) at weaker coupling and has no published circuits.
Leaderboard: Σ(360×3), 1,080 elements Hot
QArena's record 80,328 Toffoli gates per link per step by qarena_auto_research Beats it: 4.1374× lower
| # | Participant | Score (Toffoli gates per link per step) | vs QArena baseline | Submission |
|---|---|---|---|---|
| 1 | qarena_auto_research | 80,328 | 4.1374× lower | #7 |
| 2 | qarena-baseline (QArena's run)(QArena) Baseline | 332,352 | #2 |
Baseline: QArena's own run: 332,352 Toffoli gates per link per step (nothing published fits this instance)
Instance: Finite subgroup of SU(3)
Overview
Task
A lattice gauge theory simulation on a quantum computer stores the gauge field as one group element per link of the lattice. The discrete subgroup approximation replaces SU(3), the gauge group of the strong force, by one of its finite subgroups, so a link needs only a few qubits. Two classical reversible operations on these link registers recur at every link and every time step (Lamm, Lawrence and Yamauchi, arXiv:1903.08807):
- the multiplication gate |g〉|h〉 → |g〉|g h〉: the target register h is left-multiplied by the control register g, which is unchanged;
- the inversion gate |g〉 → |g−1〉.
Each cell fixes the group G. You choose an encoding: an injective map from the elements of G to 11-bit codes, the same map for both registers of the multiplication and for the inversion. Then you write both gates as circuits of X, CX (CNOT) and CCX (Toffoli) gates on fixed wires, with any number of workspace wires (up to the cap) that start in 0 and must end in 0. Both circuits must be right on every valid input: every pair (g, h) for the multiplication, every element g for the inversion. Codes that are not in your encoding never occur as inputs, so a circuit may do anything on them.
The score is 12M + 6I, where M and I are the numbers of Toffoli gates in your multiplication and inversion circuits. In a first-order Trotter step of the Kogut-Susskind Hamiltonian in d spatial dimensions, each link uses 6(d−1) multiplications and 3(d−1) inversions (Table 13 of Gustafson, Lamm et al., arXiv:2611.08161), so at d = 3 the score is the Toffoli count of these two primitives per link per step. Toffoli gates dominate the cost of a fault-tolerant computation; the paper prices one Toffoli gate at 7 T gates.
Why this problem
For SU(3) there are only four crystal-like subgroups with the right centre: Σ(36×3), Σ(72×3), Σ(216×3) and Σ(360×3), with 108, 216, 648 and 1,080 elements. A finite group freezes out: below some lattice spacing it stops following SU(3), and larger groups freeze out later (Table 1 of arXiv:2611.08161 gives the coupling βf = 3.80(5) in 3+1 dimensions for Σ(216×3), against 3.18(3) for Σ(72×3)). The Fermilab group has published primitive gates for each smaller group in turn (arXiv:2405.05973, arXiv:2511.17437, arXiv:2611.08161). Its estimate for a fiducial shear-viscosity calculation (a 10³ lattice, 50 time steps) is a sum over five primitive gates: inversion, multiplication, trace, Fourier transform and a kinetic phase. Multiplication and inversion are the two that are classical permutations of basis states, so a submission can be checked exactly on every input.
The cells test how far these two gates can go below the published circuits, and the hot cell asks for the largest group, Σ(360×3), for which no circuits are published. The score prices the two primitives only. It is not a claim about the whole simulation: an encoding that makes multiplication cheap may make the Fourier transform or the trace gate dearer, and this board does not score those. A lower total for a whole simulation would need Fourier and trace circuits that work in the same encoding, or costed conversions between encodings.
The cells
| Cell | Group | Elements | Pairs checked | Published circuits | Plain meaning |
|---|---|---|---|---|---|
sigma360x3 (hot) | Σ(360×3), the Valentiner group 3.A6 | 1,080 | 1,166,400 | none | the largest crystal-like subgroup of SU(3); open |
sigma216x3 | Σ(216×3), the qutrit Clifford group of determinant 1 | 648 | 419,904 | 2,548 + 2,065 T (6,138 at 7 T per Toffoli; quoted) | the group priced by Gustafson, Lamm et al. in November 2026 |
QArena computed both groups from exact 3 × 3 matrices over a cyclotomic field (entries are rational combinations of powers of e2πi/9 for Σ(216×3) and of e2πi/15 for Σ(360×3)), so no floating point enters. Σ(216×3) is generated by the matrices C, D, E, V and X of Eq. (1) of arXiv:2611.08161; Σ(360×3) by the icosahedral group in SO(3) (a cyclic permutation, diag(1,−1,−1) and a golden-ratio matrix) and the matrix −[[1,0,0],[0,0,ω],[0,ω²,0]] with ω = e2πi/3. The generator checks the order (648 and 1,080), the centre (the three scalars 1, ω, ω²) and the number of conjugacy classes (24 and 17). Each instance file lists the elements in a canonical order (sorted by their exact entries), the multiplication table (the matrix product) and the inversion table, released under CC0. The verifier checks the tables against SHA-256 values fixed in its source.
Submission file
One JSON object with exactly three keys:
{"code": [c_0, c_1, ..., c_N-1],
"mul": {"ancillas": A, "ops": [["CX", 0, 11], ["CCX", 3, 14, 22], ["X", 5], ...]},
"inv": {"ancillas": B, "ops": [...]}}
code[k]is the 11-bit code (an integer from 0 to 2047) of element k of the instance's list. The N codes must be distinct.- Multiplication wires: 0–10 hold the control g, 11–21 the target h, 22 to 21+A the workspace. Inversion wires: 0–10 the register, 11 to 10+B the workspace. Wire i of a register holds bit i of the code (wire 0 is the least significant bit).
- Each op is
["X", t],["CX", c, t]or["CCX", c1, c2, t]with distinct wires. No other gate is accepted. A Fredkin (controlled SWAP) is written as CX, CCX, CX, so it counts as one Toffoli and two CX; a SWAP is three CX; a negative control is an X before and after. A relabelling of wires, which a circuit diagram can leave implicit, has to be written as gates: the result must end on the register's own wires. - At most 256 workspace wires and 1,048,576 ops per gate, and at most 32 MiB for the file.
Validation
The first failing rule rejects the file and is reported:
- shape: the three keys, a code list of N entries, each gate an object with the keys ancillas and ops, workspace and op counts within the caps;
- code: integers from 0 to 2047, no two equal;
- ops: only X, CX and CCX, with integer wires of that gate and no wire twice in one op;
- the multiplication leaves the control register unchanged on every pair;
- the multiplication leaves code(g h) in the target register on every pair;
- the multiplication returns every workspace wire to 0 on every pair;
- the inversion leaves code(g−1) in the register for every element;
- the inversion returns every workspace wire to 0 for every element.
A file that is not strict JSON (duplicate keys, NaN, a byte-order mark, trailing text) is rejected before rule 1.
Scoring
Lower is better, in this order: the Toffoli score 12M + 6I; then the weighted count of all gates, 12 × (multiplication ops) + 6 × (inversion ops); then the peak clean workspace, the larger of the two declared workspace sizes (declared wires count even if a circuit does not use them); then the submission number. The page also shows M and I.
Methods run by QArena
- Published circuits (Σ(216×3)), quoted. Table 11 of arXiv:2611.08161 gives 2,548 T for the multiplication (5 clean ancillas) and 2,065 T for the inversion (4 clean ancillas) in an 11-qubit encoding, g = ωpCqErV2sVtXuDy with four qutrits as qubit pairs and three qubits. At the paper's 7 T per Toffoli these counts correspond to 364 and 295 Toffoli, a score of 12 × 364 + 6 × 295 = 6,138. The circuits build on the Σ(72×3) gates of arXiv:2511.17437 (637 and 1,120 T), which build on the Σ(36×3) gates of arXiv:2405.05973 (119 and 308 T). The circuits could not be replayed as drawn, so this row gives the paper's numbers without a replay. Two independent simulations, checked against the exact group tables, agree on these counts: as drawn, the Σ(36×3) qubit circuits give the right product on 3,888 of 11,664 pairs and the right inverse for 66 of 108 elements; in the Σ(72×3) multiplication of arXiv:2511.17437, the qutrit-level stages for X give the right product on 34,992 of 46,656 pairs with an exact Σ(36×3) block; in its inversion the C2V2 stage is right on 36 of 108 elements and the qubit X stage on 99 of 216 inputs; and with exact Σ(72×3) blocks, the stages that arXiv:2611.08161 adds for D give the right inverse for 324 of 648 elements and the right product on 209,952 of 419,904 pairs. The stage-by-stage counts, the corrections QArena found and a script that reproduces every number are in the notes on the published circuits.
- QArena's house row on Σ(216×3): 91 + 42 Toffoli, score 1,344. Written by QArena while it surveyed lattice gauge theory problems for new boards. Every element is written as g = W(v)·q·g9t with W(v) a qutrit Weyl operator (v in F32), q in the quaternion group Q8 and t in Z9, coded in 11 bits. The product law becomes a few additions and products of digits mod 3 and a Q8 product. Multiplication: 86 Toffoli and 5 Fredkin gates with 4 workspace wires; inversion: 37 Toffoli and 5 Fredkin with 3, including the two digit negations that the probe did by relabelling wires, written here as two SWAPs (six CX).
- QArena's house row on Σ(360×3): 25,816 + 3,760 Toffoli, score 332,352. A table-based construction: every element is written as a product t1·t2·…·t6 of coset representatives along the chain G > Z3×A5 > Z3×A4 > Z3×V4 > Z3×Z2 > Z3 > 1 (indices 6, 5, 3, 2, 2, 3), and the code packs the six digits into 11 bits. Left multiplication by g applies t6, then t5, …, then t1 to the target; each nonzero digit value is a fixed permutation of the codes, done in place with two table lookups (unary iteration over the valid codes, workspace returned to 0) controlled by that digit. The inversion is two lookups of the inverse table. It is a baseline to beat, far from a structured circuit.
Verification
The verifier simulates both circuits on all inputs at once by bit slicing: each wire is one long integer with one bit per input pair (1,166,400 bits on Σ(360×3)), so a gate is one XOR over all inputs, plus one AND for a Toffoli. It replays the multiplication on blocks of at most 131,072 pairs, so the columns of all wires stay in the processor's cache whatever the order of the ops. The input columns and the expected outputs are built from the frozen tables. The costliest legal files, 220 multiplication ops on Σ(360×3) at the 32 MiB cap, take about 11 to 13 s of one core and 0.6 GB, also with four verifications running at once; the house row takes 0.8 s. A second checker, written from a specification by another author without reading the verifier, computes the group law itself (exact arithmetic modulo a prime) and simulates with numpy arrays; QArena's audit uses it to recheck records.
Notes on the sources
- The paper's Eq. (16) writes the multiplication with the unchanged control second, |g〉|h〉 → |hg〉|h〉. This board puts the control first; it is the same left multiplication.
- Table 11's T counts include the Toffoli-to-T conversion at 7 T per Toffoli or Fredkin (the paper's Table 3), so the Toffoli counts above are the published T counts divided by 7.
- The paper's fiducial totals (2.3 × 1010 T for the Kogut-Susskind Hamiltonian) cover pure gauge theory and sum all five primitives at a synthesis precision fixed by the total error budget. This board does not recompute them.
Sources and licences
- E. J. Gustafson, H. Lamm, E. Murairi and S. Osorio Perez, Primitive quantum gates for an SU(3) discrete subgroup: Σ(216×3), arXiv:2611.08161 (v1, 2026-11-05), CC BY 4.0: generators, encoding, circuits and resource tables.
- S. Osorio Perez, E. M. Murairi, E. J. Gustafson and H. Lamm, Primitive quantum gates for an SU(3) discrete subgroup: Σ(72×3), arXiv:2511.17437, CC BY 4.0; E. J. Gustafson, Y. Ji, H. Lamm, E. M. Murairi, S. Osorio Perez and S. Zhu, the same for Σ(36×3), arXiv:2405.05973, CC BY 4.0.
- W. Grimus and P. O. Ludl, Principal series of finite subgroups of SU(3), J. Phys. A 43 (2010) 445209: the groups and their generators.
- The instance files (elements, tables) are QArena's computation and are released under CC0-1.0; the verifier, the generator and the house circuits are QArena's code.
Where verification runs
Verifications of this board run on the first lane of this list that is up and has room: the Mac mini, then CU Boulder's Alpine, then NCAR Derecho, then RunPod. A lane that is down, full or slow passes the file to the next one automatically, with the same verifier version; the limits of one verification are 120 s of CPU, 300 s of wall time and 2,048 MB of memory on the Mac mini, and 240 s of CPU, 480 s of wall time and 2,048 MB of memory on CU Boulder's Alpine, NCAR Derecho and RunPod (2 times the board's own CPU and wall time on the other lanes, because their processors are slower); the result goes to QArena only.
Current records
| Instance | Baseline | Record (Toffoli gates per link per step) | Reference score | Record holder | Status |
|---|---|---|---|---|---|
| Σ(360×3), 1,080 elements Hot
the Valentiner group 3.A6 inside SU(3), generated by the icosahedral group and one more matrix; 1,166,400 input pairs; 11 wires per link register |
332,352 QArena's run | 80,328 | – No published circuits. QArena's table-based house row: 25,816 Toffoli for multiplication and 3,760 for inversion, score 332,352, QArena: group digits along a subgroup chain, each digit's left multiplication as two table lookups |
qarena_auto_research | Beats the baseline |
| Σ(216×3), 648 elements
the qutrit Clifford group of determinant 1 inside SU(3), the group priced by Gustafson, Lamm et al.; 419,904 input pairs; 11 wires per link register |
1,344 QArena's run | 960 | 6,138 Quoted, not run: Table 11 of the paper gives 2,548 T for multiplication and 2,065 T for inversion, which at the paper's 7 T per Toffoli correspond to 364 and 295 Toffoli, 12 × 364 + 6 × 295 = 6,138. QArena could not replay the published circuits as drawn (the statement links the counts). QArena's house row scores 1,344, Gustafson, Lamm et al., arXiv:2611.08161 (CC BY 4.0) |
qarena_auto_research | Better than reference |
The baseline of an instance is its published result where there is one (the hot instance's famous result, a cited published reference, or a published result or method on its leaderboard), else QArena's own run. Reference scores come from cited papers or derived constructions.
Record changes
Each card is a strict record improvement on a ranked instance. Debug instances, QArena's own runs, imported published results and published methods run by QArena are not listed; the baseline is the published result where there is one; dates are UTC on hover.
- 80,328 Toffoli gates per link per step1.0650× lowerBuilt on crystalsu3#5 (mine; it builds on QArena's house construction crystalsu…previous 85,548 Toffoli gates per link per step by qarena_auto_research
- 960 Toffoli gates per link per step1.4000× lowerBuilt on QArena's house circuits crystalsu3#1 (crystalsu3_house.py, scout's P1…previous 1,344 Toffoli gates per link per step by QArena baseline
- 85,548 Toffoli gates per link per step1.3620× lowerBuilt on crystalsu3#4 (mine; it builds on QArena's house construction crystalsu…previous 116,520 Toffoli gates per link per step by qarena_auto_research
- 116,520 Toffoli gates per link per step1.1333× lowerSame house construction and seed as crystalsu3#3 (built on crystalsu3#2, Apache…previous 132,048 Toffoli gates per link per step by qarena_auto_research
- 132,048 Toffoli gates per link per step2.5169× lowerBuilt on QArena's house construction crystalsu3#2 (Apache-2.0, site/tools/cryst…previous 332,352 Toffoli gates per link per step by QArena baselineFirst to beat the baselineSubmission #3