Magic State Factory Catalog

[\![417,\,1,\,6]\!] factory

\mathrm{T}_{0}

distance, proved here
6\le d\le 13 certified 13
error coefficient
—
\gamma_\rho
2.3521†
V_{\mathrm{ex}}
1
wires
N=108
Clifford correction
none with T powers
found by
pre-existing pure T

The circuit

The 108\times417 matrix. Rows are wires and columns are rotations. A 1 means the wire takes part in the rotation, and the number beside each wire is its row weight. Scroll sideways to see every column.

  • output wires
  • check wires, measured and postselected
wire
0 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410
out 0 (417)111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
check 1 (32)··1·····1··111·1·1·1···11111··1··1·1···································1·····1··111·1·1·1···11111··1··1·1························································································································································································································································································································
check 2 (32)···1·····1··111·1·1·1···11111··1··1·1···································1·····1··111·1·1·1···11111··1··1·1·······················································································································································································································································································································
check 3 (32)··1·1···1·111·1······1·11···111·11···1·································1·1···1·111·1······1·11···111·11···1······················································································································································································································································································································
check 4 (32)···1·1···1·111·1······1·11···111·11···1·································1·1···1·111·1······1·11···111·11···1·····················································································································································································································································································································
check 5 (40)1·1·1·1·1·11··1111·1···11··1···1111····1·····························1·1·1·1·1·11··1111·1···11··1···1111····1····················································································································································································································································································································
check 6 (40)·111·1·111···1··1·111··1··111·1·1·1·····1·····························111·1·111···1··1·111··1··111·1·1·1·····1···················································································································································································································································································································
check 7 (40)···11·1··1111111····11·1·11·1111·········1······························11·1··1111111····11·1·11·1111·········1··················································································································································································································································································································
check 8 (40)····11·1··1111111····11·1·11·1111·········1······························11·1··1111111····11·1·11·1111·········1·················································································································································································································································································································
check 9 (40)1····11·1··1111111····1··1·11·1111·········1·························1····11·1··1111111····1··1·11·1111·········1················································································································································································································································································································
check 10 (40)11····11·1··1111111·······1·11·1111·········1························11····11·1··1111111·······1·11·1111·········1···············································································································································································································································································································
check 11 (32)·1·····1··111·1·1·1····1111··1··1·1··········1························1·····1··111·1·1·1····1111··1··1·1··········1··············································································································································································································································································································
check 12 (28)·1·1·1···11··1·1·1·11··1······1·1·············1·······················1·1·1···11··1·1·1·11··1······1·1·············1·············································································································································································································································································································
check 13 (28)··1·1·1···11··1·1·1·11··1······1·1·············1·······················1·1·1···11··1·1·1·11··1······1·1·············1············································································································································································································································································································
check 14 (28)···1·1·1···11··1·1·1·11··1······1·1·············1·······················1·1·1···11··1·1·1·11··1······1·1·············1···········································································································································································································································································································
check 15 (36)1·1·1·1····1···111111·1111·1··1··················1···················1·1·1·1····1···111111·1111·1··1··················1··········································································································································································································································································································
check 16 (36)11·1·1·1····1···111111··111·1··1··················1··················11·1·1·1····1···111111··111·1··1··················1·········································································································································································································································································································
check 17 (36)·11·1·1·1····1···111111··111·1··1··················1··················11·1·1·1····1···111111··111·1··1··················1········································································································································································································································································································
check 18 (36)1·11·1·1·1····1···11111···111·1··1··················1················1·11·1·1·1····1···11111···111·1··1··················1·······································································································································································································································································································
check 19 (36)11·11·1·1·1····1···1111····111·1··1··················1···············11·11·1·1·1····1···1111····111·1··1··················1······································································································································································································································································································
check 20 (52)11··11·111··11·111·11111111111··11····················1··············11··11·111··11·111·11111111111··11····················1·····································································································································································································································································································
check 21 (52)111··11·111··11·111·111·1111111··11····················1·············111··11·111··11·111·111·1111111··11····················1····································································································································································································································································································
check 22 (44)11·1··11111·111···1··1111···11·1·11·····················1············11·1··11111·111···1··1111···11·1·11·····················1···································································································································································································································································································
check 23 (36)11··1··1·11·1·1··1····11··11·1··111······················1···········11··1··1·11·1·1··1····11··11·1··111······················1··································································································································································································································································································
check 24 (28)11···1····1·1····111···1·11·1·····1·······················1··········11···1····1·1····111···1·11·1·····1·······················1·································································································································································································································································································
check 25 (28)·1····1·1···1··1·11·1··1·1···11··1·························1··········1····1·1···1··1·11·1··1·1···11··1·························1································································································································································································································································································
check 26 (28)··1····1·1···1··1·11·1··1·1···11··1·························1··········1····1·1···1··1·11·1··1·1···11··1·························1·······························································································································································································································································································
check 27 (36)··11······111111····1·111·1···1111···························1·········11······111111····1·111·1···1111···························1······························································································································································································································································································
check 28 (36)1··11······111111····1··11·1···1111···························1······1··11······111111····1··11·1···1111···························1·····························································································································································································································································································
check 29 (36)·11·11··1··1··1·1··1··111··11·1·1·1····························1······11·11··1··1··1·1··1··111··11·1·1·1····························1····························································································································································································································································································
check 30 (36)1··1·11·11·1·1·····11··1··111111································1····1··1·11·11·1·1·····11··1··111111································1···························································································································································································································································································
check 31 (36)·1··1·11·11·1·1·····11··1··111111································1····1··1·11·11·1·1·····11··1··111111································1··························································································································································································································································································
check 32 (36)··1··1·11·11·1·1·····11··1··111111································1····1··1·11·11·1·1·····11··1··111111································1·························································································································································································································································································
check 33 (36)1··1··1·11·11·1·1·····1···1··111111································1·1··1··1·11·11·1·1·····1···1··111111································1························································································································································································································································································
check 34 (36)111·1··11111·······1···1111····11·1·································1111·1··11111·······1···1111····11·1·································1·······················································································································································································································································································
check 35 (24)··········································································································································1···11··11·11··1··1·1··11······················1···11··11·11··1··1·1··11···············································································································································································································
check 36 (32)··········································································································································11··1·1·1·11·1·11·1111·1·1·····················11··1·1·1·11·1·11·1111·1·1··············································································································································································································
check 37 (32)··········································································································································111·1··11·····111111·111··1····················111·1··11·····111111·111··1·············································································································································································································
check 38 (24)··········································································································································11111······11···11·1··1····1···················11111······11···11·1··1····1············································································································································································································
check 39 (24)···········································································································································11111······11···11·1··1····1···················11111······11···11·1··1····1···········································································································································································································
check 40 (32)··········································································································································1·11··1·11·11111···111·1·····1·················1·11··1·11·11111···111·1·····1··········································································································································································································
check 41 (32)··········································································································································11·1·1·11·11·11·1·1··111······1················11·1·1·11·11·11·1·1··111······1·········································································································································································································
check 42 (24)··········································································································································111··11·······1··1111·1········1···············111··11·······1··1111·1········1········································································································································································································
check 43 (24)···········································································································································111··11·······1··1111·1········1···············111··11·······1··1111·1········1·······································································································································································································
check 44 (32)··········································································································································1·11·1·1·1·11··11·11·111·········1·············1·11·1·1·1·11··11·11·111·········1······································································································································································································
check 45 (32)··········································································································································11·1·11··111·1·11111··1···········1············11·1·11··111·1·11111··1···········1·····································································································································································································
check 46 (32)···········································································································································11·1·11··111·1·11111··1···········1············11·1·11··111·1·11111··1···········1····································································································································································································
check 47 (24)··········································································································································1·111··1·1···1···1·1·1·1············1··········1·111··1·1···1···1·1·1·1············1···································································································································································································
check 48 (24)··········································································································································11·1·····1111·11······11·············1·········11·1·····1111·11······11·············1··································································································································································································
check 49 (24)··········································································································································111··1··111··1··1·1·1·················1········111··1··111··1··1·1·1·················1·································································································································································································
check 50 (24)···········································································································································111··1··111··1··1·1·1·················1········111··1··111··1··1·1·1·················1································································································································································································
check 51 (24)············································································································································111··1··111··1··1·1·1·················1········111··1··111··1··1·1·1·················1·······························································································································································································
check 52 (24)·············································································································································111··1··111··1··1·1·1·················1········111··1··111··1··1·1·1·················1······························································································································································································
check 53 (24)··········································································································································1·····1·1··1·111·11···11··················1····1·····1·1··1·111·11···11··················1·····························································································································································································
check 54 (24)··········································································································································11··11·11··1··1·1··11······················1···11··11·11··1··1·1··11······················1····························································································································································································
check 55 (24)···········································································································································11··11·11··1··1·1··11······················1···11··11·11··1··1·1··11······················1···························································································································································································
check 56 (24)············································································································································11··11·11··1··1·1··11······················1···11··11·11··1··1·1··11······················1··························································································································································································
check 57 (24)·············································································································································11··11·11··1··1·1··11······················1···11··11·11··1··1·1··11······················1·························································································································································································
check 58 (28)········································································································································································································································111·111·11·111···11···1······················111·111·11·111···11···1·····················································································································
check 59 (24)········································································································································································································································1···11··11·11··1··1·1··11····················1···11··11·11··1··1·1··11···················································································································
check 60 (32)········································································································································································································································11··1·1·1·11·1·11·1111·1·1···················11··1·1·1·11·1·11·1111·1·1··················································································································
check 61 (28)·············································································································································································································································111·1·111111··1·1·1··1·······················111·1·111111··1·1·1··1·················································································································
check 62 (20)···········································································································································································································································1·11·11···1··1·11·······1····················1·11·11···1··1·11·······1················································································································
check 63 (24)·········································································································································································································································11111······11···11·1··1····1·················11111······11···11·1··1····1···············································································································
check 64 (32)········································································································································································································································1·11··1·11·11111···111·1·····1···············1·11··1·11·11111···111·1·····1··············································································································
check 65 (28)··········································································································································································································································111·11·11·1·1·11···1·1······1················111·11·11·1·1·11···1·1······1·············································································································
check 66 (20)············································································································································································································································1···11·1111····11··········1·················1···11·1111····11··········1············································································································
check 67 (24)·········································································································································································································································111··11·······1··1111·1········1·············111··11·······1··1111·1········1···········································································································
check 68 (28)·········································································································································································································································1·11·111····1·111·1·1·1·········1············1·11·111····1·111·1·1·1·········1··········································································································
check 69 (20)··········································································································································································································································111···1·1·1··11··1··············1············111···1·1·1··11··1··············1·········································································································
check 70 (32)·········································································································································································································································11·1·11··111·1·11111··1···········1··········11·1·11··111·1·11111··1···········1········································································································
check 71 (24)········································································································································································································································1·111··1·1···1···1·1·1·1············1········1·111··1·1···1···1·1·1·1············1·······································································································
check 72 (28)··········································································································································································································································11111·1·1··111·11····1·············1·········11111·1·1··111·11····1·············1······································································································
check 73 (24)········································································································································································································································111··1··111··1··1·1·1·················1······111··1··111··1··1·1·1·················1·····································································································
check 74 (24)·········································································································································································································································111··1··111··1··1·1·1·················1······111··1··111··1··1·1·1·················1····································································································
check 75 (28)········································································································································································································································11·1·111111··1·1·1··1···················1····11·1·111111··1·1·1··1···················1···································································································
check 76 (24)···········································································································································································································································111··1··111··1··1·1·1·················1······111··1··111··1··1·1·1·················1··································································································
check 77 (20)·········································································································································································································································11·11···1··1·11·······1··················1···11·11···1··1·11·······1··················1·································································································
check 78 (24)········································································································································································································································11··11·11··1··1·1··11······················1·11··11·11··1··1·1··11······················1································································································
check 79 (24)·········································································································································································································································11··11·11··1··1·1··11······················1·11··11·11··1··1·1··11······················1·······························································································
check 80 (16)··································································································································································································································································································································1·1··1··11111··········1·1··1··11111···························································
check 81 (16)··································································································································································································································································································································1111·11·1····1·········1111·11·1····1··························································
check 82 (16)···································································································································································································································································································································1111·11·1····1·········1111·11·1····1·························································
check 83 (16)····································································································································································································································································································································1111·11·1····1·········1111·11·1····1························································
check 84 (16)·····································································································································································································································································································································1111·11·1····1·········1111·11·1····1·······················································
check 85 (16)··································································································································································································································································································································1·1·1·111··1·····1·····1·1·1·111··1·····1······················································
check 86 (16)··································································································································································································································································································································1111···1··11······1····1111···1··11······1·····················································
check 87 (16)··································································································································································································································································································································11·111···11········1···11·111···11········1····················································
check 88 (16)···································································································································································································································································································································11·111···11········1···11·111···11········1···················································
check 89 (16)··································································································································································································································································································································1··1··11111··········1·1··1··11111··········1··················································
check 90 (16)···································································································································································································································································································································1··1··11111··········1·1··1··11111··········1·················································
check 91 (8)·················································································································································································································································································································································································11····11·········11····11·······················
check 92 (8)················································································································································································································································································································································································1···1········1··11···1········1··1···············
check 93 (8)····················································································································································································································································································································································································1····11··1·······1····11··1··················
check 94 (8)······················································································································································································································································································································································································111·····1········111·····1·················
check 95 (8)····················································································································································································································································································································································································1····1·····11····1····1·····11···············
check 96 (8)···················································································································································································································································································································································································1·1·····11·······1·1·····11···················
check 97 (8)·················································································································································································································································································································································································11··1······1·····11··1······1···················
check 98 (16)················································································································································································································································································································································································11·1··11····1··1111·1··11····1··11···············
check 99 (8)··················································································································································································································································································································································································································1·111··1·111···
check 100 (8)··················································································································································································································································································································································································································111··1·111··1··
check 101 (8)···················································································································································································································································································································································································································111··1·111··1·
check 102 (8)·························································································································································································································································································································································································································11111111
check 103 (32)·································································································································································································································································································································································································11111111111111111111111111111111
check 104 (72)·························································································································································································································································································································································111111111111111111111111111111111111111111111111111111111111111111111111
check 105 (140)·····················································································································································································································································································11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
check 106 (232)·························································································································································································1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
check 107 (348)·····································································111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

The gate is read off the output rows. An output row of odd weight gives a T, a pair of output rows with odd overlap gives a CS, and an odd triple overlap gives a CCZ. The circuit is a valid factory because every such parity that touches a check row is even.

Figures of merit

inputs n417Noisy T states per run.
outputs k1
distance d≥ 6A lower bound proved here. Its source certifies d\ge 13, and a fault of weight 13 is shown below, so d=13.
error coefficient A_{6}not definedUndefined while the distance is only a lower bound.
wires N108
checks r107
V_{\mathrm{ex}}1T states per run. CCZ counts as two.
\gamma_\rho = \log(n/V_{\mathrm{ex}})/\log d3.3671Overhead per extractable T state. Lower is better. At the certified d=13: 2.3521.
\gamma = \log(n/k)/\log d3.3671Overhead per output qubit. At the certified d=13: 2.3521.
\gamma_T = \log(n/T)/\log d3.3671Overhead per unit of T-count. At the certified d=13: 2.3521.
T-count1Minimal T-count of the output gate.
phase-polynomial degree1Minimised over changes of output basis.
effective width1Rank of the output rows modulo the check rows.

Output gate

1 T0 CS0 CCZon 1 output wire

As gates: \mathrm{T}_{0}

As monomials: 0 (output wires per term, separated by +)

This row stands for every gate that a CNOT circuit and S, Z and CZ gates on the outputs can reach from this one. They all prepare the same magic state. The wires are shown in the S_k-canonical frame.

Clifford correction

With every rotation a \mathrm{T}=\mathrm{diag}(1,e^{i\pi/4}), the rotations deposit the gate above times a diagonal Clifford. Undo it after the rotations and before the checks are measured, with 35 single-wire gates and 33 \mathrm{CZ} gates: \mathrm{Z} on check 12, \mathrm{Z} on check 13, \mathrm{Z} on check 14, \mathrm{Z} on check 15, \mathrm{Z} on check 16, \mathrm{Z} on check 17, \mathrm{Z} on check 18, \mathrm{Z} on check 19, \mathrm{Z} on check 20, \mathrm{Z} on check 21, \mathrm{Z} on check 22, \mathrm{Z} on check 23, \mathrm{Z} on check 24, \mathrm{Z} on check 25, \mathrm{Z} on check 26, \mathrm{Z} on check 27, \mathrm{Z} on check 28, \mathrm{Z} on check 29, \mathrm{Z} on check 30, \mathrm{Z} on check 31, \mathrm{Z} on check 32, \mathrm{Z} on check 33, \mathrm{Z} on check 34, \mathrm{Z} on check 58 and 44 more (listed below). The circuit's action is then exactly the gate above, and an error-free run passes every check with certainty.

All 68 correction gates

\mathrm{Z} on check 12, \mathrm{Z} on check 13, \mathrm{Z} on check 14, \mathrm{Z} on check 15, \mathrm{Z} on check 16, \mathrm{Z} on check 17, \mathrm{Z} on check 18, \mathrm{Z} on check 19, \mathrm{Z} on check 20, \mathrm{Z} on check 21, \mathrm{Z} on check 22, \mathrm{Z} on check 23, \mathrm{Z} on check 24, \mathrm{Z} on check 25, \mathrm{Z} on check 26, \mathrm{Z} on check 27, \mathrm{Z} on check 28, \mathrm{Z} on check 29, \mathrm{Z} on check 30, \mathrm{Z} on check 31, \mathrm{Z} on check 32, \mathrm{Z} on check 33, \mathrm{Z} on check 34, \mathrm{Z} on check 58, \mathrm{Z} on check 61, \mathrm{Z} on check 62, \mathrm{Z} on check 65, \mathrm{Z} on check 66, \mathrm{Z} on check 68, \mathrm{Z} on check 69, \mathrm{Z} on check 72, \mathrm{Z} on check 75, \mathrm{Z} on check 77, \mathrm{Z} on check 105, \mathrm{Z} on check 107, \mathrm{CZ} on check 12, check 107, \mathrm{CZ} on check 13, check 107, \mathrm{CZ} on check 14, check 107, \mathrm{CZ} on check 15, check 107, \mathrm{CZ} on check 16, check 107, \mathrm{CZ} on check 17, check 107, \mathrm{CZ} on check 18, check 107, \mathrm{CZ} on check 19, check 107, \mathrm{CZ} on check 20, check 107, \mathrm{CZ} on check 21, check 107, \mathrm{CZ} on check 22, check 107, \mathrm{CZ} on check 23, check 107, \mathrm{CZ} on check 24, check 107, \mathrm{CZ} on check 25, check 107, \mathrm{CZ} on check 26, check 107, \mathrm{CZ} on check 27, check 107, \mathrm{CZ} on check 28, check 107, \mathrm{CZ} on check 29, check 107, \mathrm{CZ} on check 30, check 107, \mathrm{CZ} on check 31, check 107, \mathrm{CZ} on check 32, check 107, \mathrm{CZ} on check 33, check 107, \mathrm{CZ} on check 34, check 107, \mathrm{CZ} on check 58, check 105, \mathrm{CZ} on check 61, check 105, \mathrm{CZ} on check 62, check 105, \mathrm{CZ} on check 65, check 105, \mathrm{CZ} on check 66, check 105, \mathrm{CZ} on check 68, check 105, \mathrm{CZ} on check 69, check 105, \mathrm{CZ} on check 72, check 105, \mathrm{CZ} on check 75, check 105, \mathrm{CZ} on check 77, check 105

Or no Clifford gate at all: run \mathrm{T}^3 on rotations 2, 3, 4, 5, 6, 7, 11, 13, 14, 17, 18, 23, 25, 27, 28, 29, 33, 34, 71, 72, 73, 74, 75, 76 and 88 more (listed below), and \mathrm{T} on the rest. A power of \mathrm{T} costs one magic state, like \mathrm{T} itself. For a code this is a transversal \mathrm{T} gate, \mathrm{T}^j on each qubit.

All 112 rotations at T³

2, 3, 4, 5, 6, 7, 11, 13, 14, 17, 18, 23, 25, 27, 28, 29, 33, 34, 71, 72, 73, 74, 75, 76, 80, 82, 83, 86, 87, 92, 94, 96, 97, 98, 102, 103, 233, 236, 237, 243, 244, 245, 246, 247, 248, 250, 251, 252, 255, 276, 277, 279, 280, 283, 284, 285, 286, 287, 294, 298, 299, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 322, 326, 327, 328, 330, 332, 344, 345, 349, 350, 351, 353, 355, 367, 369, 370, 372, 378, 384, 385, 388, 390, 391, 392, 393, 394, 396, 397, 398, 399, 400

Rotations are numbered by matrix column, from 0. The correction comes from the columns by the weight expansion of Bravyi and Haah (2012). verify_catalog.py re-derives it, checks the corrected circuit's phase input by input against the gate, and on small circuits simulates it gate by gate.

Convert the output with CNOT and S

A CNOT circuit on the outputs, followed by S, Z and CZ gates, turns this factory's gate into other gates that prepare the same magic state. Type a target gate to check whether it is reachable. If it is, you get the circuit, checked on every basis state.

Or list every gate it reaches. The list is built in your browser and saved as a text file, one gate per line.

Python code that writes the same list
import json, urllib.request

NAMES = {1: "T", 2: "CS", 3: "CCZ"}


def equivalent_gates(k, terms, limit=1_000_000):
    """Every gate a CNOT circuit and S, Z, CZ gates reach from this one.

    A gate is its set of terms mod Clifford: {a} is T, {a,b} is CS and
    {a,b,c} is CCZ on those outputs. CNOT c->t sends x_t to
    x_c + x_t - 2 x_c x_t, so a term on t but not c adds the term with t
    replaced by c, and, below CCZ, the term with c added.
    """
    start = frozenset(frozenset(m) for m in terms)
    seen, queue = {start}, [start]
    for gate in queue:
        for c in range(k):
            for t in range(k):
                if c == t:
                    continue
                new = set(gate)
                for m in gate:
                    if t in m and c not in m:
                        new ^= {(m - {t}) | {c}}
                        if len(m) < 3:
                            new ^= {m | {c}}
                new = frozenset(new)
                if new not in seen:
                    seen.add(new)
                    queue.append(new)
                    if len(seen) > limit:
                        raise RuntimeError(f"more than {limit} equivalent gates")
    return seen


def name(gate, k):
    sep = "," if k > 10 else ""
    terms = sorted((sorted(m) for m in gate), key=lambda m: (len(m), m))
    return "·".join(NAMES[len(m)] + sep.join(map(str, m)) for m in terms) or "I"


url = "https://shubhamj810.github.io/magic-state-factory-repo/data/factories/417.1.6.a.json"
record = json.load(urllib.request.urlopen(url))
k = record["parameters"]["k"]
gates = equivalent_gates(k, record["gate"]["monomials"])
lines = sorted(name(g, k) for g in gates)
print(len(lines), "equivalent gates")
with open("equivalent-gates-417.1.6.a.txt", "w") as out:
    out.write("\n".join(lines) + "\n")

Distance

6\le d\le 13. No fault of weight below 6 is both undetectable and damaging. None of weight 6 has been found, and one of weight 13 is, so the distance lies between the two.

A damaging fault of weight 13 sits on columns [0,69,138,185,232,277,322,345,368,385,402,409,416].

Its source certifies d\ge 13, as a lower bound. That certificate is not re-checked here, but rankings on this site may use it. With the damaging fault of weight 13 above, it makes the distance exactly d=13. Source: Jain and Albert (arXiv:2408.12752), Table I: [[69,1,13]] code of the self-dual [70,35,12] code SD70 doubled onto [[279,1,11]]; the doubling theorem of their Sec. III gives d >= min(d_sd, d_tri + 2) = 13, with d_sd at least the classical distance less one (their Lemma 2.4); the [[69,1,13]] input's distance is proved here by enumerating every word of SD70 through the punctured coordinate.

A fault is a set of faulty columns. It is undetectable when their check parts cancel, and damaging when their output parts do not.

Original source

S. P. Jain and V. V. Albert, "Transversal Clifford and T-gate codes of short length and high distance," IEEE J. Sel. Areas Inf. Theory 6, 127-137 (2025); arXiv:2408.12752. doi.org/10.1109/JSAIT.2025.3570832

Provenance

a code of the triorthogonal family of Jain and Albert (arXiv:2408.12752, Table I; transversal_t_codes/), self-dual CSS codes doubled onto [[95,1,7]], rebuilt here from the paper's construction; a verified witness, not a maximum

Found by: Jain-Albert doubling: triorthogonal family

Discovery: pre-existing

1 recorded source
[
 {
  "regime": "Jain-Albert doubling: triorthogonal family",
  "file": "transversal_t_codes/factories.json",
  "label": "JA-417",
  "N": 108,
  "d": 6,
  "d_is_exact": false,
  "origin": "S. P. Jain and V. V. Albert, \"Transversal Clifford and T-gate codes of short length and high distance\", IEEE J. Sel. Areas Inf. Theory 6, 127 (2025), arXiv:2408.12752",
  "provenance": "[[69,1,13]] code of the self-dual [70,35,12] code SD70 doubled onto [[279,1,11]] (Table I)",
  "notes": "its [[69,1,13]] input is the self-dual [70,35,12] code found by transversal_t_codes/search_sd70.py, whose words through the punctured coordinate all weigh at least 14, in place of the paper's [70,35,14] code, which is only formally self-dual"
 }
]

Use it in code

Load this factory and re-derive every number from its circuit with the catalogue's own verifier.

# git clone https://github.com/shubhamj810/magic-state-factory-repo
# cd magic-state-factory-repo/master_catalog
import json, urllib.request
import verify_catalog as VC

url = "https://shubhamj810.github.io/magic-state-factory-repo/data/factories/417.1.6.a.json"
record = json.load(urllib.request.urlopen(url))
columns = record["circuit"]["columns"]
k, N = record["parameters"]["k"], record["parameters"]["N"]

facts, problems = VC.derive(columns, k, N)    # gate, T-count, degree, ...
distance = VC.measure_distance(columns, k, N)  # exhaustive fault search
print(facts["gate_human"], distance["d_exact"] or distance["d_at_least"],
      problems or "verified")

Raw record

Show the JSON this page is built from

Source: master_catalog.json, factories[1042].