# Published circuits for Σ(216×3): what QArena checked Board crystal-su3, cell `sigma216x3`. These notes back the paragraph on the published circuits in the board's statement. ## What QArena quotes Table 11 of E. J. Gustafson, H. Lamm, E. Murairi and S. Osorio Perez, arXiv:2611.08161, gives 2,548 T gates for the multiplication gate (5 clean ancillas) and 2,065 T gates for the inversion gate (4 clean ancillas) in the qubit encoding. The paper prices one Toffoli gate at 7 T gates, so QArena converts these counts to 364 and 295 Toffoli gates and to the board's score 12 × 364 + 6 × 295 = 6,138. The `sigma216x3` leaderboard shows this score as a quoted reference. QArena did not run it: the published circuits could not be replayed as drawn. ## How QArena checked The Σ(216×3) circuits of arXiv:2611.08161 are built from the Σ(72×3) circuits of arXiv:2511.17437, which are built from the Σ(36×3) circuits of arXiv:2405.05973; the qubit figures of the later papers draw the earlier circuits as boxes. QArena simulated each block as drawn on every input and compared the result with the exact multiplication and inversion tables of the instance file `sigma216x3.json` in this folder. Two simulations were written independently from the papers' figures and text, and every count below is reproduced by both. The script `published_circuits_check.py` in this folder (CC0-1.0, needs numpy) reproduces every count and every example in a few seconds: `python3 published_circuits_check.py`. Conventions. An element is g = ω^p C^q E^r V^(2s) V^t X^u D^y, with ω = e^(2πi/3) and the generators C, D, E, V, X of the paper's Eq. (1) (the instance file lists them), written (p, q, r, s, t, u, y). In the qubit circuits a qutrit x is the bit pair ([x = 1], [x = 2]), and χ is the increment x → x + 1 of Fig. 14 of arXiv:2405.05973: CX from the high bit to the low bit, CX from the low bit to the high bit, then X on the low bit. "Right on k of n" counts the inputs on which a block leaves exactly the right register (and its ancillas at 0, where it has ancillas). ## The blocks | Block (paper, figure) | As drawn | Correction | With the correction | Plain meaning | |---|---|---|---|---| | Σ(36×3) multiplication (arXiv:2405.05973, Fig. 5; 44 Toffoli, 308 T) | right on 3,888 of 11,664 pairs | (a) product flags in stages U×,t and U×,r; (b) the box of stage U×,p reversed | (a): 7,776 of 11,664; (a) and (b): 11,664 of 11,664, 44 Toffoli | two separate errors; both corrections cost no Toffoli | | Σ(36×3) inversion (arXiv:2405.05973, Fig. 3; 17 Toffoli, 119 T) | right on 66 of 108 elements | product flags | 108 of 108, 17 Toffoli | one error, the same kind as (a) | | Σ(72×3) multiplication, the combination of X^(u_h) X^(u_g) (arXiv:2511.17437, Figs. 7 and 8), with exact Σ(36×3) blocks | right on 34,992 of 46,656 pairs | control the two updates of r on t = 1, as the text's rule does | 46,656 of 46,656 | the figures control all six updates on t = 0 | | Σ(72×3) inversion, stage U−1,×(C²V²) (arXiv:2511.17437, Figs. 5 and 6) | right on 36 of 108 elements | remove the controlled exchange of q and r | 108 of 108 | the figures add a swap that the text's rule for this stage does not have | | Σ(72×3) inversion, stage U−1,×(X), qutrit-qubit figure (arXiv:2511.17437, Fig. 5) | right on 108 of 108 elements | none needed | | exact as drawn | | Σ(72×3) inversion, stage U−1,×(X), qubit figure (arXiv:2511.17437, Fig. 6) | register right on 99 of 216 inputs; the two flag ancillas left nonzero on 84 inputs | not determined | | QArena did not build a corrected qubit version | | Σ(216×3) inversion, the stages added for D (arXiv:2611.08161, Sec. V, Figs. 2 and 4), after an exact Σ(72×3) inversion | right on 324 of 648 elements | the two CX gates of each value of y in C χ_A in the opposite order | 648 of 648 | the drawn C χ_A permutes t and u the wrong way round | | Σ(216×3) multiplication, the same stages for D on the target with the control's y, then the combination of the two powers of D (arXiv:2611.08161, Sec. VI, Figs. 6 and 7), with an exact Σ(72×3) multiplication | right on 209,952 of 419,904 pairs | the same reordered C χ_A | 419,904 of 419,904 | the multiplication reuses the drawn C χ_A | ### Σ(36×3) multiplication (arXiv:2405.05973, Fig. 5) As drawn the circuit gives the right product on 3,888 of the 11,664 pairs (g, h). The first wrong pair in QArena's order is g = (0,0,0,0,1,0,0), h = (0,0,1,0,0,0,0): the circuit gives (1,2,0,0,1,0,0) where the product is (0,2,0,0,1,0,0). (a) Stages U×,t and U×,r flag the product of two qutrits in two ancillas with one-Toffoli parity gadgets. The gadgets compute sums, such as q′ + r′, where the paper's update rules need products, such as q′r′. On valid qutrit states the one-Toffoli product flags [xy = 1] = (x₁ ⊕ y₀)(x₀ ⊕ y₁) and [xy = 2] = (x₁ ⊕ y₁)(x₀ ⊕ y₀) compute the product. With them in both stages the circuit is right on 7,776 of 11,664 pairs. With only the gadgets of U×,t as drawn (every other stage corrected) it is right on 7,128 of 11,664 pairs, and with only those of U×,r as drawn on 3,888 of 11,664. (b) In stage U×,p the box controlled by p₀ holds X on p″₀, CX from p″₀ to p″₁, then CX from p″₁ to p″₀. These are the gates of χ in reverse order, so the box applies χ⁻¹ where the update needs χ (it must add 1 to p when the control's p is 1). With (a) alone, the first wrong pair is g = ω = (1,0,0,0,0,0,0), h = the identity, which gives (2,0,0,0,0,0,0), that is ω², where the product is ω. With (a) and the box reversed into χ, the multiplication is right on all 11,664 pairs, its control register is unchanged and its ancillas return to 0, at the published 44 Toffoli gates. ### Σ(36×3) inversion (arXiv:2405.05973, Fig. 3) As drawn the circuit gives the right inverse for 66 of the 108 elements. The first wrong element is g = (0,0,1,0,0,0,0), for which it gives (1,0,2,0,0,0,0) where the inverse is (0,0,2,0,0,0,0). Its parity gadget computes q + r where the update p′ = 2p + qr needs the product qr. With the product flags of (a) it is right on 108 of 108, at the published 17 Toffoli gates. ### Σ(72×3) multiplication, the combination of X^(u_h) X^(u_g) (arXiv:2511.17437, Figs. 7 and 8) The multiplication first moves the control's X^(u_h) through the target with the stage U−1,×(X) controlled by u_h. When u_g = u_h = 1 the product X X = C²V² must then be moved into place: with c = 2 + 2s, p gains c·r and q gains c when t = 0, and the text's rule (the r″ update of Sec. VI) has r gain c when t = 1. Both figures control all six χ² updates, those of r included, on t = 0. QArena checked this stage at the qutrit level, with an exact U−1,×(X) and an exact Σ(36×3) multiplication after it: as drawn the product is right on 34,992 of the 46,656 pairs, and with the r updates on t = 1 on all 46,656. The first wrong pair is h = g = X = (0,0,0,0,0,1,0): the circuit gives (0,2,2,1,0,0,0) where X² = C²V² is (0,2,0,1,0,0,0). The text's updates of s and u carry a stray factor s ("s u_g u_h" and "s u_h"); the figures draw s″ = s′ + u_g u_h and u″ = u_g + u_h, which the check uses. ### Σ(72×3) inversion, stage U−1,×(C²V²) (arXiv:2511.17437, Figs. 5 and 6) This stage must multiply the Σ(36×3) part on the left by C²V². As drawn it is right on 36 of the 108 elements: both figures contain a controlled exchange of the digits q and r that the text's rule for this stage does not have. Without the exchange it is right on 108 of 108. ### Σ(72×3) inversion, stage U−1,×(X) (arXiv:2511.17437, Figs. 5 and 6) The qutrit-qubit figure (Fig. 5) maps k to X k X⁻¹ correctly on all 108 elements as drawn. Its χ² on p is controlled by a white circle labelled 0 on r, which in the authors' notation fires on every value except 0 (arXiv:2405.05973, caption of Fig. 9; arXiv:2611.08161, Sec. III). The qubit figure (Fig. 6), as QArena reads it, leaves the right register on 99 of the 216 inputs and leaves its two flag ancillas nonzero on 84 inputs. QArena did not construct a corrected qubit version of this stage. ### Σ(216×3) inversion, the stages arXiv:2611.08161 adds for D (Sec. V, Figs. 2 and 4) QArena checked these stages at the qutrit level, after an exact Σ(72×3) inversion of the part without D: the stages U^(1) to U^(4) as the text gives them, then the controlled permutation C χ_A of t and u. The text defines C χ_A by the 3-cycles |10⟩ → |01⟩ → |11⟩ → |10⟩ for y = 1 and |10⟩ → |11⟩ → |01⟩ → |10⟩ for y = 2. Reading |10⟩ as t = 1, u = 0, the text's stages give the right inverse for all 648 elements. Both figures (Fig. 2, bottom, and the end of Fig. 4) draw C χ_A as two CX gates controlled on each value of y: for y = 1, t ⊕= u then u ⊕= t; for y = 2, u ⊕= t then t ⊕= u. Each pair is the inverse of the printed 3-cycle, and with it the inversion is right on 324 of the 648 elements. It is wrong on every element with (t, u) ≠ (0, 0) and y ≠ 0. The first wrong element is g = (0,0,0,0,0,1,1), for which the stages give (1,0,0,1,1,1,2) where the inverse is (1,0,0,1,1,0,2). The same gates with the two CX of each value of y in the opposite order are right on 648 of 648. ### Σ(216×3) multiplication, the stages for D (Sec. VI, Figs. 6 and 7) The multiplication moves the control's D^(y_h) through the target with the same stages U^(2) to U^(4), C χ_A included, and the control's y in place of y; it then combines D^(y_h) D^(y_g) (p_g gains 2 when y_g + y_h ≥ 3, and y_g becomes y_g + y_h) and multiplies the parts without D with the Σ(72×3) gate. QArena checked this at the qutrit level with an exact Σ(72×3) multiplication. With the text's C χ_A the product is right on all 419,904 pairs; with the drawn C χ_A it is right on 209,952 of the 419,904. The first wrong pair in QArena's order is the control h = D = (0,0,0,0,0,0,1) with the target g = X = (0,0,0,0,0,1,0): the stages give (2,1,0,1,1,0,1) where the product DX is (2,1,0,1,1,1,1). ## What this means for the quoted row The Σ(216×3) circuits contain the blocks above through the Σ(72×3) and Σ(36×3) circuits. A replay of the published circuits would need at least corrections (a) and (b), the removal of the C²V² exchange, the reordered C χ_A and a corrected qubit X stage. QArena has not built such a corrected version and does not know whether corrected circuits would keep the published counts, so the row stays a quoted value.