- Open Access
Quantum Subspace Verification for Error Correction Codes
PRX Quantum 6, 040353 – Published 3 December, 2025
DOI: https://doi.org/10.1103/fyw6-lq1l
Abstract
Quantum error correction is pivotal in advancing toward large-scale quantum computation, and efficient verification is crucial for ensuring the high fidelity of code states. Traditional methodologies, such as state tomography, direct fidelity estimation, and state verification, either fall short in measurement efficiency, especially for large-scale systems, or are restricted to some specific states. In this work, we introduce a general framework for quantum subspace verification, enabling efficient and measurement-noise-robust fidelity estimation between a given state and the target subspace with a specified confidence level. By integrating the proposed subspace verification with direct fidelity estimation, we develop a composite protocol that significantly improves the efficiency of verifying the fidelity of general magic logical states, as demonstrated by intuitive numerical results. This improvement stems from the use of subspace verification, which leverages the knowledge of code subspaces to significantly reduce measurement costs. Additionally, we detail the construction of verification operators for typical error correction codes, including general stabilizer codes and quantum low-density parity-check codes, enabling their efficient implementation using practical local measurements. Notably, for certain codes, such as the Calderbank-Shor-Steane codes and quantum low-density parity-check stabilizer codes, we reduce the number of required measurement settings and sample complexity to a constant level using graphical methods. Our approach facilitates efficient and feasible verification of error correction codes and generic magic logical states, advancing their practical implementations on quantum platforms.
Physics Subject Headings (PhySH)
Popular Summary
Quantum information processing and quantum computing offer potential advantages in various areas, but their realization is hindered by noise. Quantum error correction (QEC) is essential for building large-scale quantum computers, though it introduces substantial overhead by requiring many physical qubits. Verifying the fidelity of encoded states becomes increasingly difficult as system size grows. Traditional approaches, such as direct fidelity estimation and state verification, are either resource intensive or applicable only to specific target states. We develop a general and efficient framework for subspace verification and integrate it with direct fidelity estimation to fill the gaps.
The framework of subspace verification we introduce can efficiently and robustly estimate how close a prepared state is to its target code subspace. Our framework extends the conventional hypothesis testing setup by tolerating measurement failures, making it robust against measurement noise. We design verification strategies for stabilizer and low-density parity-check code subspace using tools from graph theory. When integrated with direct fidelity estimation, our method greatly reduces measurement cost and supports the verification of generic “magic” logical states.
Our approach facilitates efficient and feasible verification of error correction codes and generic magic logical states, advancing their practical implementations on quantum platforms.
Article Text
References (64)
- R. P. Feynman, Simulating physics with computers, Int. J. Theor. Phys. 21, 467 (1982).
- C. H. Bennett and G. Brassard, Quantum cryptography: Public key distribution and coin tossing, Theor. Comput. Sci. 560, 7 (2014).
- F. Arute, K. Arya, R. Babbush, D. Bacon, J. C. Bardin, R. Barends, R. Biswas, S. Boixo, F. G. Brandao, D. A. Buell, et al., Quantum supremacy using a programmable superconducting processor, Nature 574, 505 (2019).
- Y. Wu, W.-S. Bao, S. Cao, F. Chen, M.-C. Chen, X. Chen, T.-H. Chung, H. Deng, Y. Du, D. Fan, et al., Strong quantum computational advantage using a superconducting quantum processor, Phys. Rev. Lett. 127, 180501 (2021).
- R. Acharya, L. Aghababaie-Beni, I. Aleiner, T. I. Andersen, M. Ansmann, F. Arute, K. Arya, A. Asfaw, N. Astrakhantsev, J. Atalaya, et al., Quantum error correction below the surface code threshold, Nature 638, 920 (2025).
- P. W. Shor, Fault-tolerant quantum computation, arXiv:quant-ph/9605011.
- D. Gottesman, Fault-tolerant quantum computation with constant overhead, arXiv:1310.2984.
- A. Kitaev, Fault-tolerant quantum computation by anyons, Ann. Phys. (N.Y.) 303, 2 (2003).
- S. B. Bravyi and A. Y. Kitaev, Quantum codes on a lattice with boundary, arXiv:quant-ph/9811052.
- Y. Zhao, Y. Ye, He L. Huang, Y. Zhang, D. Wu, H. Guan, Q. Zhu, Z. Wei, T. He, S. Cao, et al., Realization of an error-correcting surface code with superconducting qubits, Phys. Rev. Lett. 129, 030501 (2022).
- 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), p. 375.
- Q. Xu, J. P. Bonilla 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).
- Michael J. Gullans, S. Krastanov, David A. Huse, L. Jiang, and Steven T. Flammia, Quantum coding with low-depth random circuits, Phys. Rev. X 11, 031066 (2021).
- M. Cramer, M. B. Plenio, S. T. Flammia, R. Somma, D. Gross, S. D. Bartlett, O. Landon-Cardinal, D. Poulin, and Y.-K. Liu, Efficient quantum state tomography, Nat. Commun. 1, 149 (2010).
- D. Gross, Yi K. Liu, Steven T. Flammia, S. Becker, and J. Eisert, Quantum state tomography via compressed sensing, Phys. Rev. Lett. 105, 150401 (2010).
- A. I. Lvovsky and M. G. Raymer, Continuous-variable optical quantum-state tomography, Rev. Mod. Phys. 81, 299 (2009).
- Steven T. Flammia and Yi K. Liu, Direct fidelity estimation from few Pauli measurements, Phys. Rev. Lett. 106, 230501 (2011).
- A. Seshadri, M. Ringbauer, J. Spainhour, R. Blatt, T. Monz, and S. Becker, Versatile fidelity estimation with confidence, Phys. Rev. Lett. 133, 020402 (2024).
- M. Kliesch and I. Roth, Theory of quantum system certification, PRX Quantum 2, 010201 (2021).
- H.-Y. Huang, R. Kueng, and J. Preskill, Predicting many properties of a quantum system from very few measurements, Nat. Phys. 16, 1050 (2020).
- S. Chen, W. Yu, P. Zeng, and Steven T. Flammia, Robust shadow estimation, PRX Quantum 2, 030348 (2021).
- Y. Zhou and Z. Liu, A hybrid framework for estimating nonlinear functions of quantum states, npj Quantum Inf. 10, 62 (2024).
- S. Pallister, N. Linden, and A. Montanaro, Optimal verification of entangled states with local measurements, Phys. Rev. Lett. 120, 170502 (2018).
- M. Hayashi, K. Matsumoto, and Y. Tsuda, A study of LOCC-detection of a maximally entangled state using hypothesis testing, J. Phys. A: Math. Gen. 39, 14427 (2006).
- H. Zhu and M. Hayashi, Efficient verification of pure quantum states in the adversarial scenario, Phys. Rev. Lett. 123, 260504 (2019).
- H. Zhu and M. Hayashi, General framework for verifying pure quantum states in the adversarial scenario, Phys. Rev. A 100, 062335 (2019).
- X.-D. Yu, J. Shang, and O. Gühne, Optimal verification of general bipartite pure states, npj Quantum Inf. 5, 1 (2019).
- Ye C. Liu, Xiao D. Yu, J. Shang, H. Zhu, and X. Zhang, Efficient verification of Dicke states, Phys. Rev. Appl. 12, 044020 (2019).
- Ye C. Liu, J. Shang, R. Han, and X. Zhang, Universally optimal verification of entangled states with nondemolition measurements, Phys. Rev. Lett. 126, 090504 (2021).
- H. Zhu, Y. Li, and T. Chen, Efficient verification of ground states of frustration-free Hamiltonians, Quantum 8, 1221 (2024).
- T. Chen, Y. Li, and H. Zhu, Efficient verification of Affleck-Kennedy-Lieb-Tasaki states, Phys. Rev. A 107, 022616 (2023).
- K. Fujii and M. Hayashi, Verifiable fault tolerance in measurement-based quantum computation, Phys. Rev. A 96, 030301(R) (2017).
- D. Gottesman, Stabilizer codes and quantum error correction, arXiv:quant-ph/9705052.
- N. Dangniam, Yun G. Han, and H. Zhu, Optimal verification of stabilizer states, Phys. Rev. Res. 2, 043323 (2020).
- S. Bravyi and A. Kitaev, Universal quantum computation with ideal Clifford gates and noisy ancillas, Phys. Rev. A 71, 022316 (2005).
- S. Bravyi and J. Haah, Magic-state distillation with low overhead, Phys. Rev. A 86, 052329 (2012).
- Y. Ye, T. He, He L. Huang, Z. Wei, Y. Zhang, Y. Zhao, D. Wu, Q. Zhu, H. Guan, S. Cao, et al., Logical magic state preparation with fidelity beyond the distillation threshold on a superconducting quantum processor, Phys. Rev. Lett. 131, 210603 (2023).
- H. Zhu and M. Hayashi, Efficient verification of hypergraph states, Phys. Rev. Appl. 12, 054047 (2019).
- Y. Akahoshi, K. Maruyama, H. Oshima, S. Sato, and K. Fujii, Partially fault-tolerant quantum computing architecture with error-corrected Clifford gates and space-time efficient analog rotations, PRX Quantum 5, 010337 (2024).
- H. Choi, F. T. Chong, D. Englund, and Y. Ding, Fault tolerant non-Clifford state preparation for arbitrary rotations, arXiv:2303.17380.
- D. Horsman, A. G. Fowler, S. Devitt, and R. V. Meter, Surface code quantum computing by lattice surgery, New J. Phys. 14, 123011 (2012).
- A. R. Calderbank and Peter W. Shor, Good quantum error-correcting codes exist, Phys. Rev. A 54, 1098 (1996).
- A. Steane, Multiple-particle interference and quantum error correction, Proc. R. Soc. London, A 452, 2551 (1996).
- H.-Y. Huang, J. Preskill, and M. Soleimanifar, Certifying almost all quantum states with few single-qubit measurements, Nat. Phys. 21, 1834 (2025).
- O. Gühne, Chao Y. Lu, Wei B. Gao, and Jian W. Pan, Toolbox for entanglement detection and fidelity estimation, Phys. Rev. A 76, 030305(R) (2007).
- G. Tóth and O. Gühne, Detecting genuine multipartite entanglement with two local measurements, Phys. Rev. Lett. 94, 060501 (2005).
- G. Tóth and O. Gühne, Entanglement detection in the stabilizer formalism, Phys. Rev. A 72, 022340 (2005).
- Y. Zhou, Q. Zhao, X. Yuan, and X. Ma, Detecting multipartite entanglement structure with minimal resources, npj Quantum Inf. 5, 83 (2019).
- Q. Zhao and Y. Zhou, Constructing multipartite bell inequalities from stabilizers, Phys. Rev. Res. 4, 043215 (2022).
- M. Hein, W. Dür, J. Eisert, R. Raussendorf, M. V. den Nest, and H. J. Briegel, Entanglement in graph states and its applications, arXiv:quant-ph/0602096.
- 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).
- J. Combes, C. Granade, C. Ferrie, and S. T. Flammia, Logical randomized benchmarking, arXiv:1702.03688.
- D. Gottesman, A. Kitaev, and J. Preskill, Encoding a qubit in an oscillator, Phys. Rev. A 64, 012310 (2001).
- Ye C. Liu, J. Shang, and X. Zhang, Efficient verification of entangled continuous-variable quantum states with local measurements, Phys. Rev. Res. 3, L042004 (2021).
- Debbie W. Leung, M. A. Nielsen, Isaac L. Chuang, and Y. Yamamoto, Approximate quantum error correction can lead to better codes, Phys. Rev. A 56, 2567 (1997).
- P. Hayden and G. Penington, Approximate quantum error correction revisited: Introducing the alpha-bit, Commun. Math. Phys. 374, 369 (2020).
- A. Anshu and S. Arunachalam, A survey on the complexity of learning quantum states, Nat. Rev. Phys. 6, 59 (2024).
- V. Gebhart, R. Santagati, A. A. Gentile, E. M. Gauger, D. Craig, N. Ares, L. Banchi, F. Marquardt, L. Pezzè, and C. Bonato, Learning quantum systems, Nat. Rev. Phys. 5, 141 (2023).
- T. Wagner, H. Kampermann, D. Bruß, and M. Kliesch, Learning logical Pauli noise in quantum error correction, Phys. Rev. Lett. 130, 200601 (2023).
- K. He, M. Yuan, Y. Wong, S. Chakram, A. Seif, L. Jiang, and D. I. Schuster, Efficient multimode Wigner tomography, Nat. Commun. 15, 4138 (2024).
- Ye C. Liu, J. Shang, Xiao D. Yu, and X. Zhang, Efficient verification of quantum processes, Phys. Rev. A 101, 042315 (2020).
- H. Zhu and H. Zhang, Efficient verification of quantum gates with local operations, Phys. Rev. A 101, 042316 (2020).
- P. Zeng, Y. Zhou, and Z. Liu, Quantum gate verification and its application in property testing, Phys. Rev. Res. 2, 023306 (2020).
- C. Zheng, X. Yu, Z. Zhang, P. Xu, and K. Wang, Efficient verification of stabilizer code subspaces with local measurements, arXiv:2409.19699.
