- Open Access
Fault-Tolerant Logical Clifford Gates from Code Automorphisms
PRX Quantum 6, 030343 – Published 5 September, 2025
DOI: https://doi.org/10.1103/vf7v-cpq9
Abstract
We study the implementation of fault-tolerant logical Clifford gates on stabilizer quantum error-correcting codes based on their symmetries. Our approach is to map the stabilizer code to a binary linear code, compute its automorphism group, and impose constraints based on the Clifford operators permitted. We provide a rigorous formulation of the method for finding automorphisms of stabilizer codes and generalize the dualities previously introduced for Calderbank-Shor-Steane (CSS) codes to non-CSS codes. We provide a python package implementing our algorithms that uses the computational-algebra magma software system for certain subroutines. Our algorithms map automorphism-group generators to physical circuits, calculate Pauli corrections based on the destabilizers of the code, and determine their logical action. We discuss the fault tolerance of the circuits and include examples of gates through automorphisms for the and perfect codes, bivariate bicycle codes, and the best-known distance codes.
Physics Subject Headings (PhySH)
Popular Summary
While quantum computing holds much promise to solve problems that are beyond classical computers, quantum computers are highly susceptible to errors arising from environmental noise and imperfectly implemented operations. Quantum error correction employs stabilizer codes to protect quantum information from such errors. Errors can be detected and actively corrected using such codes, creating a quantum memory that preserves quantum information over time. To implement quantum algorithms, we will also need to perform logical operations on the stored quantum information. These logical operations will need to be fault tolerant—i.e., any errors introduced by applying them can also be detected and corrected.
In this paper, we show how to identify a class of fault-tolerant logical operators for any stabilizer code. We focus on swap-transversal logical operators that involve swapping qubits and then applying certain single-qubit operations called Clifford gates. Our methods work by mapping the stabilizer code to a classical binary code. Permutations of the bits of the binary code that preserve the code are called permutation automorphisms. We show that these permutation automorphisms correspond to swap-transversal logical operators of the stabilizer code. By changing the mapping, we can change which single-qubit Clifford gates are allowed in the logical operators.
We apply our methods to some well-known stabilizer-code families. For instance, we show that the best-known-distance stabilizer codes listed on http://www.codetables.de that encode one logical qubit typically have the widest possible range of swap-transversal logical operators. We also apply our techniques to the bivariate bicycle codes of IBM. We find a much wider range of logical operators for these than was previously known and study codes with up to 756 physical qubits.
Article Text
References (36)
- D. Gottesman, Theory of fault-tolerant quantum computation, Phys. Rev. A 57, 127 (1998).
- B. Eastin and E. Knill, Restrictions on transversal encoded quantum gate sets, Phys. Rev. Lett. 102, 110502 (2009).
- R. Calderbank, E. M. Rains, P. W. Shor, and N. J. A. Sloane, in Proceedings of IEEE International Symposium on Information Theory (IEEE, Ulm, Germany, 1997), p. 292.
- J. E. Moussa, Transversal Clifford gates on folded surface codes, Phys. Rev. A 94, 042316 (2016).
- N. P. Breuckmann and S. Burton, Fold-transversal Clifford gates for quantum codes, Quantum 8, 1372 (2024).
- A. O. Quintavalle, P. Webster, and M. Vasmer, Partitioning qubits in hypergraph product codes to implement logical gates, Quantum 7, 1153 (2023).
- W. Bosma, J. Cannon, and C. Playoust, The magma algebra system I: The user language, J. Symb. Comput. 24, 235 (1997).
- T. Junttila and P. Kaski, in Theory and Practice of Algorithms in (Computer) Systems, edited by A. Marchetti-Spaccamela and M. Segal (Springer-Verlag, Berlin, 2011), pp. 151–162.
- See https://github.com/hsayginel/autqec. Our results are available as an interactive notebook at https://github.com/hsayginel/autqec/tree/main/examples. Results for best-known distance codes are available at https://github.com/hsayginel/autqec/tree/main/codetables and results for bivariate bicycle codes are available as an interactive notebook at https://github.com/hsayginel/autqec/tree/main/examples/bivariate_bicycle_codes.
- M. A. Webster, A. O. Quintavalle, and S. D. Bartlett, Transversal diagonal logical operators for stabiliser codes, New J. Phys. 25, 103018 (2023).
- M. Grassl, Bounds on the minimum distance of linear codes and quantum codes, Available online at http://www.codetables.de (2007).
- S. Bravyi, A. W. Cross, J. M. Gambetta, D. Maslov, P. Rall, and T. J. Yoder, High-threshold and low-overhead fault-tolerant quantum memory, Nature 627, 778 (2024).
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition (Cambridge University Press, Cambridge, 2010). iSBN: 9780511976667.
- S. Aaronson and D. Gottesman, Improved simulation of stabilizer circuits, Phys. Rev. A 70, 052328 (2004).
- D. Schoenberger, S. Hillmich, M. Brandl, and R. Wille, Shuttling for scalable trapped-ion quantum computers, IEEE Trans. Comput.-Aided Des. Integrated Circuits Syst. 44, 2144 (2024).
- S. J. Evered, D. Bluvstein, M. Kalinowski, S. Ebadi, T. Manovitz, H. Zhou, S. H. Li, A. A. Geim, T. T. Wang, N. Maskara, H. Levine, G. Semeghini, M. Greiner, V. Vuletić, and M. D. Lukin, High-fidelity parallel entangling gates on a neutral-atom quantum computer, Nature 622, 268 (2023).
- Y. Xiao, Y.-H. Kang, R.-H. Zheng, J. Song, Y.-H. Chen, and Y. Xia, Effective nonadiabatic holonomic swap gate with Rydberg atoms using invariant-based reverse engineering, Phys. Rev. A 109, 062610 (2024).
- D. Kielpinski, C. Monroe, and D. J. Wineland, Architecture for a large-scale ion-trap quantum computer, Nature 417, 709 (2002).
- T. A. Baart, M. Shafiei, T. Fujita, C. Reichl, W. Wegscheider, and L. M. K. Vandersypen, Single-spin CCD, Nat. Nanotechnol. 11, 330 (2016).
- T. J. Yoder, R. Takagi, and I. L. Chuang, Universal fault-tolerant gates on concatenated stabilizer codes, Phys. Rev. X 6, 031039 (2016).
- A. G. Manes and J. Claes, Distance-preserving stabilizer measurements in hypergraph product codes, Quantum 9, 1618 (2025).
- J. Leon, Computing automorphism groups of error-correcting codes, IEEE Trans. Inf. Theory 28, 496 (1982).
- M. Grassl and M. Roetteler, in 2013 IEEE International Symposium on Information Theory (2013), pp. 534–538, iSSN: 2157-8117.
- B. Zeng, A. Cross, and I. L. Chuang, Transversality versus universality for additive quantum codes, IEEE Trans. Inf. Theory 57, 6272 (2011).
- M. P. da Silva et al., Demonstration of logical qubits and repeated error correction with better-than-physical error rates, arXiv:2404.02280 [quant-ph].
- A. A. Kovalev and L. P. Pryadko, Quantum Kronecker sum-product low-density parity-check codes with finite rate, Phys. Rev. A 88, 012311 (2013).
- D. MacKay, G. Mitchison, and P. McFadden, Sparse-graph codes for quantum error correction, IEEE Trans. Inf. Theory 50, 2315 (2004).
- J. N. Eberhardt and V. Steffan, Logical operators and fold-transversal gates of bivariate bicycle codes, IEEE Trans. Inf. Theory 71, 1140 (2025).
- A. Cross, Z. He, P. Rall, and T. Yoder, Linear-size ancilla systems for logical measurements in QLDPC codes, arXiv:2407.18393 [quant-ph].
- L. Babai, in Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing, STOC ’16 (Association for Computing Machinery, New York, 2016), pp. 684–697.
- L. Babai, in Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019 (Association for Computing Machinery, New York, 2019), pp. 1237–1246.
- N. Sendrier and G. Skersys, in Proceedings. 2001 IEEE International Symposium on Information Theory (IEEE Cat. No. 01CH37252) (2001), p. 13.
- B. D. McKay and A. Piperno, Practical graph isomorphism, II, J. Symb. Comput. 60, 94 (2014).
- Z. He, A. Cowtan, D. J. Williamson, and T. J. Yoder, Extractors: QLDPC architectures for efficient Pauli-based computation, arXiv:2503.10390 [quant-ph].
- S. Koutsioumpas, H. Sayginel, M. A. Webster, and D. E. Browne, Automorphism ensemble decoding of quantum LDPC codes, arXiv:2503.01738.
- D. E. Gottesman, Stabilizer Codes and Quantum Error Correction, Ph.D. thesis, California Institute of Technology, Pasadena, 1997, https://thesis.library.caltech.edu/2900/2/THESIS.pdf.
