Magic State Factory Catalog

[\![39,\,3,\,3]\!]

4 inequivalent factories with n=39 inputs, k=3 outputs and distance d=3.

Inequivalent gates at [[39, 3, 3]]. Click a column header to sort.
output gate \gamma_\rho N distance cited
\mathrm{CS}_{01}\cdot \mathrm{CS}_{02}\cdot \mathrm{CS}_{12}—9d = 3Wills et al. (2026); Jain et al. (2026)
\mathrm{T}_{0}\cdot \mathrm{T}_{1}\cdot \mathrm{T}_{2}\cdot \mathrm{CS}_{01}\cdot \mathrm{CS}_{02}\cdot \mathrm{CS}_{12}\cdot \mathrm{CCZ}_{012}—9d = 3Wills et al. (2026); Jain et al. (2026)
\mathrm{T}_{0}\cdot \mathrm{T}_{1}\cdot \mathrm{T}_{2}\cdot \mathrm{CS}_{01}—9d = 3Wills et al. (2026); Jain et al. (2026)
\mathrm{T}_{0}\cdot \mathrm{T}_{1}\cdot \mathrm{T}_{2} pure T2.3359d = 3Wills et al. (2026); Jain et al. (2026)

These factories share n, k and d but prepare different magic states. No CNOT circuit with S, Z and CZ corrections turns one of these gates into another.

Nearest lengths with the same k and d: [\![38,\,3,\,3]\!] · [\![40,\,3,\,3]\!] · [\![37,\,3,\,3]\!] · [\![36,\,3,\,3]\!] · [\![35,\,3,\,3]\!] · [\![43,\,3,\,3]\!] · [\![44,\,3,\,3]\!] · [\![45,\,3,\,3]\!] · [\![31,\,3,\,3]\!] · [\![47,\,3,\,3]\!] · [\![48,\,3,\,3]\!] · [\![49,\,3,\,3]\!]