Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

Parallel Logical Measurements via Quantum Code Surgery

Alexander Cowtan1,*, Zhiyang He2, Dominic J. Williamson3, and Theodore J. Yoder4

  • *Contact author: akcowtan@gmail.com

PRX Quantum 7, 020325 – Published 8 May, 2026

DOI: https://doi.org/10.1103/gj8x-n5gg

Abstract

Quantum code surgery is a flexible and low-overhead technique for performing logical measurements on quantum error-correcting codes, which generalizes lattice surgery. In this work, we present a code surgery scheme, applicable to any qubit stabilizer low-density parity check (LDPC) code, that fault-tolerantly measures many logical Pauli operators in parallel. For a collection of logically disjoint Pauli product measurements supported on t logical qubits, our scheme uses O(tω(logt+log3ω)) ancilla qubits, where ω≥d is the maximum weight of the single logical Pauli representatives involved in the measurements and d is the code distance. This is all done in time O(d) independent of t. Our proposed scheme preserves both the LDPC property and the fault-distance of the original code, without requiring ancillary logical codeblocks, which may be costly to prepare. This addresses a shortcoming of several recently introduced surgery schemes, which can only be applied to measure a limited number of logical operators in parallel if they overlap on data qubits.

View figure in article

Physics Subject Headings (PhySH)

Popular Summary

Article Text

References (90)

  1. Google Quantum AI, Suppressing quantum errors by scaling a surface code logical qubit, Nature 614, 676 (2023).
  2. Google Quantum AI and Collaborators, Quantum error correction below the surface code threshold, Nature 638, 920 (2024).
  3. D. Bluvstein et al., Logical quantum processor based on reconfigurable atom arrays, Nature 626, 58 (2024).
  4. Pedro Sales Rodriguez et al., Experimental demonstration of logical magic state distillation, Nature 645, 620 (2025).
  5. N. Lacroix et al., Scaling and logic in the color code on a superconducting quantum processor, Nature 645, 614 (2025).
  6. N. P. Breuckmann and J. N. Eberhardt, Quantum low-density parity-check codes, PRX Quantum 2, 040101 (2021).
  7. 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).
  8. Q. Xu, J. P. B. Ataides, C. A. Pattison, N. Raveendran, D. Bluvstein, J. Wurtz, B. Vasić, M. D. Lukin, L. Jiang, and H. Zhou, Constant-overhead fault-tolerant quantum computation with reconfigurable atom arrays, Nat. Phys. 20, 1084 (2024).
  9. A. Yu. Kitaev, Fault-tolerant quantum computation by anyons, Ann. Phys. 303, 2 (2003).
  10. D. Horsman, A. G. Fowler, S. Devitt, and R. V. Meter, Surface code quantum computing by lattice surgery, New J. Phys. 14, 123011 (2012).
  11. J. E. Moussa, Transversal Clifford gates on folded surface codes, Phys. Rev. A 94, 042316 (2016).
  12. C. Gidney, N. Shutty, and C. Jones, Magic state cultivation: Growing T states as cheap as CNOT gates, arXiv:2409.17595.
  13. Markus Grassl and Martin Roetteler, in 2013 IEEE International Symposium on Information Theory (IEEE, Istanbul, Turkey, 2013), pp. 534–538.
  14. N. P. Breuckmann and S. Burton, Fold-transversal Clifford gates for quantum codes, Quantum 8, 1372 (2024).
  15. A. O. Quintavalle, P. Webster, and M. Vasmer, Partitioning qubits in hypergraph product codes to implement logical gates, Quantum 7, 1153 (2023).
  16. J. N. Eberhardt and V. Steffan, Logical operators and fold-transversal gates of bivariate bicycle codes, IEEE Trans. Inf. Theory 71, 1140 (2025).
  17. Hasan Sayginel, Stergios Koutsioumpas, Mark Webster, Abhishek Rajput, and Dan E. Browne, Fault-tolerant logical Clifford gates from code automorphisms, PRX Quantum 6, 030343 (2025).
  18. A. J. Malcolm, A. N. Glaudell, P. Fuentes, D. Chandra, A. Schotte, C. DeLisle, R. Haenel, A. Ebrahimi, J. Roffe, A. O. Quintavalle, S. J. Beale, N. R. Lee-Hone, and S. Simmons, Computing efficiently in QLDPC codes, arXiv:2502.07150.
  19. Guanyu Zhu, Shehryar Sikander, Elia Portnoy, Andrew W. Cross, and Benjamin J. Brown, Non-Clifford and parallelizable fault-tolerant logical gates on constant and almost-constant rate homological quantum low-density parity-check codes via higher symmetries, PRX Quantum 6, 040361 (2025).
  20. Thomas R. Scruby, Arthur Pesah, and Mark Webster, Quantum rainbow codes, arXiv:2408.13130.
  21. Louis Golowich and Ting-Chun Lin, in Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC ’25 (Association for Computing Machinery, New York, NY, 2025), pp. 689–696.
  22. Ting-Chun Lin, Transversal non-Clifford gates for quantum LDPC codes on sheaves, arXiv:2410.14631.
  23. Po-Shen Hsin, Ryohei Kobayashi, and Guanyu Zhu, Classifying logical gates in quantum codes via cohomology operations and symmetry, arXiv:2411.15848.
  24. Nikolas P. Breuckmann, Margarita Davydova, Jens N. Eberhardt, and Nathanan Tantivasadakarn, Cups and gates I: Cohomology invariants and logical quantum operations, Commun. Math. Phys. 407, 86 (2026).
  25. Guanyu Zhu, A topological theory for qLDPC: Non-Clifford gates and magic state fountain on homological product codes with constant rate and beyond the N1/3 distance barrier, arxiv:2501.19375.
  26. S. Huang, T. Jochym-O’Connor, and T. J. Yoder, Homomorphic logical measurements, PRX Quantum 4, 030301 (2023).
  27. Q. Xu, H. Zhou, G. Zheng, D. Bluvstein, J. P. B. Ataides, M. D. Lukin, and L. Jiang, Fast and parallelizable logical computation with homological product codes, Phys. Rev. X 15, 021065 (2025).
  28. L. Z. Cohen, I. H. Kim, S. D. Bartlett, and B. J. Brown, Low-overhead fault-tolerant quantum computing using long-range connectivity, Sci. Adv. 8, eabn1717 (2022).
  29. E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, Topological quantum memory, J. Math. Phys. 43, 4452 (2002).
  30. H. Zhou, Chen Zhao, Madelyn Cain, Dolev Bluvstein, Nishad Maskara, Casey Duckering, Hong-Ye Hu, Sheng-Tao Wang, Aleksander Kubica, and Mikhail D. Lukin, Low-overhead transversal fault tolerance for universal quantum computation, Nature 646, 303 (2025).
  31. B. Eastin and E. Knill, Restrictions on transversal encoded quantum gate sets, Phys. Rev. Lett. 102, 110502 (2009).
  32. See also introduction of Ref. [85] for a discussion on the challenge of performing addressable logic with transversal gates.
  33. S. Bravyi, G. Smith, and J. A. Smolin, Trading classical and quantum computational resources, Phys. Rev. X 6, 021043 (2016).
  34. In Ref. [86], for instance, a circuit made of Clifford and T gates is compiled into Pauli measurements with ancillary T magic states, rendering the application of logical Clifford gates unnecessary, in principle.
  35. Another subtle difference between generalized code surgery and homomorphic measurement is that surgery has more flexible control over which set of logical qubits one wishes to address, while homomorphic measurement is, prior to this work, more parallel than surgery.
  36. C. Vuillot, L. Lao, B. Criger, C. G. Almudéver, K. Bertels, and B. M. Terhal, Code deformation and lattice surgery are gauge fixing, New J. Phys. 21, 033028 (2019).
  37. M. B. Hastings, Weight reduction for quantum codes, arXiv:1611.03790.
  38. M. B. Hastings, On quantum weight reduction, arXiv:2102.10030.
  39. E. Sabo, L. G. Gunderman, B. Ide, M. Vasmer, and G. Dauphinais, Weight-reduced stabilizer codes with lower overhead, PRX Quantum 5, 040302 (2024).
  40. Dominic J. Williamson and Theodore J. Yoder, Low-overhead fault-tolerant quantum computation by gauging logical operators, Nat. Phys. 22, 598 (2026).
  41. B. Ide, M. G. Gowda, P. J. Nadkarni, and G. Dauphinais, Fault-tolerant logical measurements via homological measurement, Phys. Rev. X 15, 021088 (2025).
  42. A. Cowtan and S. Burton, CSS code surgery as a universal construction, Quantum 8, 1344 (2024).
  43. A. Cowtan, SSIP: Automated surgery with quantum LDPC codes, arXiv:2407.09423.
  44. A. Cross, Z. He, P. Rall, and T. J. Yoder, Improved QLDPC surgery: Logical measurements and bridging codes, arXiv:2407.18393.
  45. M. Freedman and M. Hastings, Building manifolds from quantum codes, Geom. Funct. Anal. 31, 855 (2021).
  46. Esha Swaroop, Tomas Jochym-O’Connor, and Theodore J. Yoder, Universal adapters between quantum low-density parity check codes, PRX Quantum 7, 010324 (2026).
  47. Guo Zhang and Ying Li, Time-efficient logical operations on quantum low-density parity check codes, Phys. Rev. Lett. 134, 070602 (2025).
  48. Note that even if ω∈O(n), d will be asymptotically much larger than log3ω unless d is exponentially smaller than n. Thus when taking the same logical representatives as input, our scheme is asymptotically more efficient than Zhang and Li in most reasonable cases, with hyperbolic surface codes a notable exception [87].
  49. C. Chamberland and E. T. Campbell, Universal quantum computing with twist-free and temporally encoded lattice surgery, PRX Quantum 3, 010331 (2022).
  50. Daniel Gottesman, Stabilizer codes and quantum error correction. Ph.D. thesis, California Institute of Technology, 1997.
  51. Benjamin Ide, Manoj G. Gowda, Priya J. Nadkarni, and Guillaume Dauphinais, Fault-tolerant logical measurements via homological measurement, Phys. Rev. X 15, 021088 (2025).
  52. A. Hamma, P. Zanardi, and X.-G. Wen, String and membrane condensation on three-dimensional lattices, Phys. Rev. B 72, 035307 (2005).
  53. P. Panteleev and G. Kalachev, in Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2022 (Association for Computing Machinery, New York, NY, 2022), pp. 375–388.
  54. Z. He, A. Cowtan, D. J. Williamson, and T. J. Yoder, Extractors: QLDPC architectures for efficient Pauli-based computation, arXiv:2503.10390.
  55. T. J. Yoder, E. Schoute, P. Rall, E. Pritchett, J. M. Gambetta, A. W. Cross, M. Carroll, and M. E. Beverland, Tour de gross: A modular quantum computer based on bivariate bicycle codes, arXiv:2506.03094.
  56. Terminology borrowed from Ref. [88].
  57. J.-P. Tillich and G. Zémor, Quantum LDPC codes with positive rate and minimum distance proportional to the square root of the blocklength, IEEE Trans. Inf. Theory 60, 1193 (2014).
  58. Throughout this paper the branching ancillary system has 1-to-1 connections from the first layer of a branch to the appropriate subset of logicals being branched. In Ref. [47] this is left as a variable, so one can choose this connectivity.
  59. S. Bravyi and B. Terhal, A no-go theorem for a two-dimensional self-correcting quantum memory based on stabilizer codes, New J. Phys. 11, 043029 (2009).
  60. The first version of this theorem required the logical operators to be irreducible but was later generalized to remove this requirement.
  61. Yu Shi, Ashlesha Patil, and Saikat Guha, Stabilizer entanglement distillation and efficient fault-tolerant encoders, PRX Quantum 6, 010339 (2025).
  62. David Aasen, Jeongwan Haah, Matthew B. Hastings, and Zhenghan Wang, Geometrically enhanced topological quantum codes, arXiv:2505.10403.
  63. Alexander Vardy, The intractability of computing the minimum distance of a code, IEEE Trans. Inf. Theory 43, 1757 (1997).
  64. I. Dumer, D. Micciancio, and M. Sudan, Hardness of approximating the minimum distance of a linear code, IEEE Trans. Inf. Theory 49, 22 (2003).
  65. The terminology comes from the fact that Y basis measurements can be performed using “twists” in surface code patches. We are not using surface codes, but use the same terminology for consistency.
  66. I. H. Kim, Y.-H. Liu, S. Pallister, W. Pol, S. Roberts, and E. Lee, Fault-tolerant resource estimate for quantum chemical simulations: Case study on Li-ion battery electrolyte molecules, Phys. Rev. Res. 4, 023019 (2022).
  67. Min-Hsiu Hsieh, Xingjian Li, and Ting-Chun Lin, Simplified quantum weight reduction with optimal bounds, arXiv:2510.09601.
  68. Guo Zheng, Liang Jiang, and Qian Xu, High-rate surgery: Towards constant-overhead logical operations, arXiv:2510.08523.
  69. Timo Hillmann, Guillaume Dauphinais, Ilan Tzitrin, and Michael Vasmer, Single-shot and measurement-based quantum error correction via fault complexes, Phys. Rev. A 112, L040401 (2025).
  70. Nouédyn Baspin, Lucas Berent, and Lawrence Z. Cohen, Fast surgery for quantum LDPC codes, arXiv:2510.04521.
  71. Alexander Cowtan, Zhiyang He, Dominic J. Williamson, and Theodore J. Yoder, Fast and fault-tolerant logical measurements: Auxiliary hypergraphs and transversal surgery, arXiv:2510.14895.
  72. TikZit, https://tikzit.github.io/index.html.
  73. This notation comes from the fact that the hypergraph product is an internal hom [−,−] in the compact closed category of finite-dimensional bounded chain complexes over F2 [89].
  74. B. Audoux and A. Couvreur, On tensor products of CSS codes, Ann. Inst. Henri Poincaré Comb. Phys. Interact. 6, 239 (2019).
  75. C. A. Weibel, An Introduction to Homological Algebra, Cambridge Studies in Advanced Mathematics (Cambridge University Press, 1994).
  76. Alexander Cowtan, Homology, Hopf algebras and quantum code surgery, arXiv:2508.01496.
  77. Indeed, I∩J does not need to be zero, which allows for branching the same logical operator to multiple different leaves.
  78. Arthur Pesah, Austin K. Daniel, Ilan Tzitrin, and Michael Vasmer, Fault-tolerant transformations of spacetime codes, arXiv:2509.09603.
  79. This row echelon basis of stabilizers was studied in Ref. [90] in the context of quantum code testing.
  80. Daniel Gottesman, Fault-tolerant quantum computation with constant overhead, Quantum Inf. Comput. 14, 1338 (2014).
  81. Zhiyang He, Quynh T. Nguyen, and Christopher A. Pattison, Composable quantum fault-tolerance, arXiv:2508.08246.
  82. Regarding the idling steps at either end of the circuit, it is common in the study of fault-tolerant protocols to insert rounds of perfect syndrome extraction immediately before and after the protocol. However, this leads to a well-known composition problem [83]. When fault-tolerant protocols proved in this manner are performed sequentially they are no longer generally fault tolerant; cases where this can occur are described in Ref. [71]. Inserting d rounds of idling ensures that any nontrivial logical spacetime fault which extends from one protocol to another must have weight at least d, and so composition is preserved.
  83. M. E. Beverland, S. Huang, and V. Kliuchnikov, Fault tolerance of stabilizer channels, arXiv:2401.12017.
  84. E. Knill, Quantum computing with realistically noisy devices, Nature 434, 39 (2005).
  85. Z. He, V. Vaikuntanathan, A. Wills, and R. Y. Zhang, Quantum codes with addressable and transversal non-Clifford gates, arXiv:2502.01864.
  86. D. Litinski, A game of surface codes: Large-scale quantum computing with lattice surgery, Quantum 3, 128 (2019).
  87. Nikolas P. Breuckmann, Christophe Vuillot, Earl Campbell, Anirudh Krishna, and Barbara M. Terhal, Hyperbolic and semi-hyperbolic surface codes for quantum storage, Quantum Sci. Technol. 2, 035007 (2017).
  88. T. Carette, D. Horsman, and S. Perdrix, in 44th International Symposium on Mathematical Foundations of Computer Science (MFCS, 2019), Leibniz International Proceedings in Informatics (LIPIcs), Vol. 138, pp. 55:1–55:15, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2019).
  89. S. MacLane, Categories for the Working Mathematician, Graduate Texts in Mathematics, Vol. 5 (Springer, 1997), 2nd ed.
  90. A. Cross, Z. He, A. Natarajan, M. Szegedy, and G. Zhu, Quantum locally testable code with constant soundness, Quantum 8, 1501 (2024).

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation