betaFeedback

WorksPhysics and Astronomy

Complexity and Applications of Nearest Stabilizer Product State Problems

Abstract

Consider the following optimization problem over stabilizer product states: given an nn-qubit stabilizer state ∣ψ⟩\left|ψ\right\rangle and a set of single-qubit stabilizer states SS, maximize ∣⟨ψ∣ϕ1,…,ϕn⟩∣2\left|\langle ψ| ϕ_1, \ldots, ϕ_n \rangle\right|^2 over single-qubit stabilizer states ∣ϕi⟩∈S\left|ϕ_i\right\rangle \in S. By varying the set SS, we show that solutions to this problem can be useful in a variety of settings: tighter runtime bounds for certain classical simulation algorithms; measures of entanglement; and the complexity of low-rank matrix completion. Moreover, we give a complete complexity classification of this nearest stabilizer product state problem. After accounting for the symmetries in the Clifford group, there are 99 distinct possible sets SS, and we show that all but the two simplest of these are \NP-complete.

Introduction

Stabilizer states are ubiquitous in quantum computing because they exhibit many important quantum properties such as superposition, entanglement and contextuality whilst also admitting compact classical representations that are computationally easy to manipulate. The Gottesman–Knill theorem [18, 2] provides an efficient algorithm for representing stabilizer states, updating these under the action of Clifford unitaries and computing the modulus of inner products between pairs of nn-qubit stabilizer states. One can also efficiently compute partial traces of stabilizer states, representing and updating these potentially mixed states under the action of Clifford unitaries. However, despite the tractability of many computations involving stabilizer states, they are incredibly expressive. This allows them to underpin large classes of modern quantum error-correcting codes, quantum computation models such as measurement-based quantum computation, the study of contextuality and entanglement. This work studies a class of problems that originally drew our attention due to their connection to modern techniques for classically simulating quantum circuits. However, these problems also revealed connections to the study of multipartite entanglement and mathematical literature on rank minimization problems.

Problem Statement and Summary of Results

In this work, we ask the question, “How close is a given stabilizer state to a set of stabilizer product states?”. Given an nn-qubit state ∣ψ⟩|\psi\rangle and a set of projectors Π\Pi, we consider the quantity:

m(ψ,Π):=max⁡π∈Π∣⟨ψ∣π∣ψ⟩∣=max⁡π∈Π∥π∣ψ⟩∥22.(1)m(\psi,\Pi) := \max_{\pi\in\Pi} |\langle\psi|\pi|\psi\rangle| = \max_{\pi\in\Pi} \|\pi|\psi\rangle\|_{2}^{2}. \tag*{(1)}

In this work, we consider a special case of this problem focused on stabilizer states. In particular, we focus on nn-qubit stabilizer states ∣ψ⟩∈Sn|\psi\rangle\in\mathcal{S}_n and sets Π\Pi that are a subset of projections onto a tensor product of single-qubit stabilizer states. To this end, we define

Sall:={I±X2,I±Y2,I±Z2}={∣+⟩⟨+∣,∣−⟩⟨−∣,∣+i⟩⟨+i∣,∣−i⟩⟨−i∣,∣0⟩⟨0∣,∣1⟩⟨1∣}\mathcal{S}_{\mathrm{all}} := \left\{ \frac{I\pm X}{2}, \frac{I\pm Y}{2}, \frac{I\pm Z}{2} \right\} = \{|+\rangle\langle+|,|-\rangle\langle-|,|+i\rangle\langle+i|,|-i\rangle\langle-i|,|0\rangle\langle0|,|1\rangle\langle1|\}

to be the set of single-qubit stabilizer projectors. For our problem, this means that Π=S⊗n\Pi= \mathcal{S}^{\otimes n} for some S⊆Sall\mathcal{S}\subseteq\mathcal{S}_{\mathrm{all}} or more generally, Π=ΠS,k:=S⊗k⊗I⊗n−k\Pi=\Pi_{\mathcal{S},k}:=\mathcal{S}^{\otimes k}\otimes I^{\otimes n-k} for some k∈[n]k\in[n].

Definition 1 (Nearest Stabilizer Product State (NSPS)). For S⊆Sall\mathcal{S}\subseteq\mathcal{S}_{\mathrm{all}}, S≠∅\mathcal{S}\ne\varnothing, we define the optimization problem Opt-NSPS(Sn,S)(\mathcal{S}_n,\mathcal{S}) as follows:

Given any state ∣ψ⟩∈Sn|\psi\rangle\in\mathcal{S}_n and k∈[n]k\in[n], compute the quantity:

m(ψ,ΠS,k):=max⁡π∈ΠS,k∥π∣ψ⟩∥22.(2)m(\psi,\Pi_{\mathcal{S},k}) := \max_{\pi\in\Pi_{\mathcal{S},k}} \|\pi|\psi\rangle\|_{2}^{2}. \tag*{(2)}

Based on well-known properties of stabilizer states, it is easy to show that the quantity m(ψ,ΠS,k)m(\psi,\Pi_{\mathcal{S},k}) is either zero or 2−p2^{-p} for some 0≤p≤k0\le p\le k. Hence, approximations m^\hat{m} to precision 12m<m^<2m\frac{1}{\sqrt{2}}m<\hat{m}<\sqrt{2}m can be used to recover the exact value. We use NSPS(Sn,S)(\mathcal{S}_n,\mathcal{S}) to denote the associated decision problem1. Additionally, we use Srch-NSPS(Sn,S)(\mathcal{S}_n,\mathcal{S}) to denote the associated search problem where the task is to return any projector π∈ΠS,k\pi\in\Pi_{\mathcal{S},k} that achieves the optimal value m(ψ,ΠS,k)m(\psi,\Pi_{\mathcal{S},k}). In Appendix § 7, we show that the search, optimization and decision variants of the problems are polynomial-time equivalent in complexity.

For all non-empty subsets S⊆Sall\mathcal{S}\subseteq\mathcal{S}_{\mathrm{all}}, NSPS(Sn,S)(\mathcal{S}_n,\mathcal{S}) is in NP. To see this observe that in the case of a Yes instance (i.e. m(ψ,ΠS,k)≥2−p+1m(\psi,\Pi_{\mathcal{S},k})\ge2^{-p+1}), there exists a short witness π∈ΠS,k\pi\in\Pi_{\mathcal{S},k} such that ∥π∣ψ⟩∥22≥2−p+1\|\pi|\psi\rangle\|_{2}^{2}\ge2^{-p+1}. Further, given π\pi, a deterministic Turing machine can verify in polynomial time that indeed ∥π∣ψ⟩∥22≥2−p+1\|\pi|\psi\rangle\|_{2}^{2}\ge2^{-p+1} [18, 2].

There are 63 non-empty subsets S⊆Sall\mathcal{S}\subseteq\mathcal{S}_{\mathrm{all}} that give rise to different problems NSPS(Sn,S)(\mathcal{S}_n,\mathcal{S}). We use local Clifford symmetries to classify these into 9 representatives labeled by S=S(abc)\mathcal{S}=\mathcal{S}_{(abc)} for some a≥b≥c∈{0,1,2}a\ge b\ge c\in\{0,1,2\} (see Equation (5) for a list of these). This notation indicates that of the single-qubit Paulis {X,Y,Z}\{X,Y,Z\}, S\mathcal{S} is constructed by including exactly aa eigenprojectors of one, bb of another and cc of the remaining Pauli. So S(abc)\mathcal{S}_{(abc)} has cardinality a+b+ca+b+c and S(222)=Sall\mathcal{S}_{(222)}=\mathcal{S}_{\mathrm{all}}. We characterize the complexity of these problems and summarize these results in Table 1. Henceforth, we use the more concise notation NSPS(abc)≡(abc)\equiv NSPS(Sn,S(abc))(\mathcal{S}_n,\mathcal{S}_{(abc)}), Π(abc),k≡ΠS(abc),k\Pi_{(abc),k}\equiv\Pi_{\mathcal{S}_{(abc)},k} and m(ψ,S)≡m(ψ,ΠS,n)m(\psi,\mathcal{S})\equiv m(\psi,\Pi_{\mathcal{S},n}).

Decision problem classComplexityCommentReference
NSPS(100)Pby Gottesman–Knill theorem–
NSPS(200)Pgreedy algorithmLemma 2
NSPS(110)NP-completeby reduction from Max-E3-Lin2_2Theorem 5
NSPS(210)NP-completeby reduction from Max-E3-Lin2_2Theorem 5
NSPS(111)NP-completeby reduction from Max-E3-Lin2_2Theorem 5
NSPS(220)NP-completeby reduction from Independent-SetTheorem 8
NSPS(211)NP-completeby reduction from Max-E3-Lin2_2Theorem 5
NSPS(221)NP-completeby reduction from Max-E3-Lin2_2Theorem 5
NSPS(222)NP-completeby reduction from Independent-SetTheorem 8

Table 1. The decision problem NSPS(Sn\mathcal{S}_n, SS) is classified into nine classes. Complexity results associated with each class are summarized.

Our NP-hardness proofs for NSPS(220) and NSPS(222) also prove a constructive result that enables solving particular instances of NSPS(220) and NSPS(222) in mildly growing exponential time. To prove the NP-hardness of NSPS(220) and NSPS(222), we use a specific graph construction that maps an input graph GG into a new graph H=H(G)H = H(G) (also known as the 3-subdivision of GG [17]) where each edge in G=(V,E)G = (V, E) is divided into 3 edges by placing two new vertices on the edge. Using this construction, we show that for any graph G=(V,E)G = (V, E), the nearest stabilizer product states to the graph state ∣H(G)⟩|H(G)\rangle can be computed directly from the vertex cover number τ(G)\tau(G) of GG:

−log⁡2m(H(G),S(220))=−log⁡2m(H(G),S(222))=τ(G)+∣E∣(3)-\log_2 m(H(G), S_{(220)}) = -\log_2 m(H(G), S_{(222)}) = \tau(G) + |E| \tag*{(3)}

Consequently, for any graph GG, the computation of m(H(G),S(220))m(H(G), S_{(220)}) and m(H(G),S(222))m(H(G), S_{(222)}) is possible in polynomial space and mildly exponential runtime. For example, for a graph GG with v=∣V∣v = |V| vertices and e=∣E∣e = |E| edges, H(G)H(G) has v+2ev + 2e vertices so a naive brute-force approach to computing m(H(G),S(222))m(H(G), S_{(222)}) would require O∗(3v+2e)O^*(3^{v+2e}) runtime where O∗(⋅)O^*(\cdot) suppresses polynomial factors. In contrast, by using Equation (3) and employing existing algorithms for computing τ(G)\tau(G) [36] we find an O∗(1.1996v)O^*(1.1996^v) algorithm for computing the same quantity. For NSPS(222), this method can be extended beyond graphs in the image of HH by using the fact that m(H,S(222))m(H,S_{(222)}) is invariant under local complementation of HH.

Motivation and Relation to Other Work

Several of these NSPS problems pose natural questions and/or connect to other areas of research.

Additive error Born rule probability estimation and NSPS(110): A prominent class of modern classical simulation algorithms [6, 5, 32, 30] use stabilizer state decompositions of so-called magic states to classically simulate quantum circuits, UU, dominated by Clifford gates and a limited number of non-Clifford TT-gates (T=diag⁡(1,eiπ/4)T = \operatorname{diag}(1,e^{i\pi/4})). The only source of super-polynomial scaling in the runtime of these simulators comes from a linear dependence on the so-called stabilizer extent, a measure of non-stabilizerness that depends on tt, the number of TT-gates. One such simulator is the in-class state of the art for estimating (to ±ϵ\pm\epsilon precision) the Born rule probabilities associated with measuring U∣0n⟩U|0^n\rangle in the computational basis [30]. In Appendix § 8, we briefly describe how Opt-NSPS(110) can be used to improve the bounds on the runtime of this algorithm.2 In essence, the task of Born rule probability estimation can be reduced to the estimation of an inner product between a tt-qubit, circuit-dependent, stabilizer state ∣ψ⟩|\psi\rangle and the tt-fold tensor product of so-called TT-states (∣T⟩∝∣0⟩+eiπ/4∣1⟩)(|T\rangle\propto|0\rangle+ e^{i\pi/4}|1\rangle), which we denote by ∣Tt⟩|T^t\rangle. By decomposing each TT-state into a linear combination of ∣+⟩|+\rangle and ∣+i⟩|+i\rangle, one can estimate the inner product ⟨Tt∣ψ⟩\langle T^t|\psi\rangle by using Monte-Carlo sampling of stabilizer product states ∣ϕ⟩∈{∣+⟩,∣+i⟩}⊗t|\phi\rangle\in\{|+\rangle, |+i\rangle\}^{\otimes t}. The convergence rate of the estimators, and hence the algorithm’s runtime, depends on the largest overlap ∣⟨ϕ∣ψ⟩∣|\langle\phi|\psi\rangle| which is determined by Opt-NSPS(110). Finally, we note that decomposing each TT-state into a linear combination of ∣+⟩|+\rangle and ∣+i⟩|+i\rangle is not arbitrary but optimal with respect to an operationally relevant metric, achieving the stabilizer extent.

From NSPS(200), NSPS(220) and NSPS(222) to rank minimization: Opt-NSPS(200) asks, “If an input stabilizer state is measured in the computational basis, what is the probability of the most likely outcome?” The expert reader may be aware that this is determined by the rank of the XX-check matrix of the input stabilizer state (see Lemma 4). In particular, the probability is maximized when the rank is minimized. This is the starting point for our results on NSPS(220) and NSPS(222). Srch-NSPS(220) addresses the question “How do we apply Hadamard gates to a subset of the qubits so as to maximize the probability of the most likely outcome?” Since Clifford operations like Hadamard modify the XX-check matrix, the goal is to find those operations which minimize its rank. As it turns out, this setup falls under the umbrella of rank minimization problems. There, the input is a matrix whose entries depend on polynomially many variables, and the goal is to find an assignment to the variables that minimizes the rank. As we discuss in Appendix § 9, our results show that rank minimization over F2\mathbb{F}_2 remains NP-hard for classes of instances that, to our knowledge, do not yet appear in the literature—namely, those instances with exactly one variable per column, which may appear in several entries of that column but in no other column.

References

  1. [1]Scott Aaronson. Quantum computing, postselection, and probabilistic polynomial-time. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 461(2063):3473–3482, 09 2005.
  2. [2]Scott Aaronon and Daniel Gottesman. Improved simulation of stabilizer circuits. Phys. Rev. A, 70(5):052328, 2004.DOI
  3. [3]Niel de Beaudrap and Steven Herbert. Fast stabiliser simulation with quadratic form expansions. Quantum, 6:803, Sept 2022.DOI
  4. [4]Juan Bermejo-Vega and Maarten Van den Nest. Classical simulations of Abelian-group normalizer circuits with intermediate measurements. arXiv preprint arXiv:1210.3637, 2012.
  5. [5]Sergey Bravyi, Dan Browne, Padraic Calpin, Earl Campbell, David Gosset, and Mark Howard. Simulation of quantum circuits by low-rank stabilizer decompositions. Quantum, 3:181, 2019.
  6. [6]Sergey Bravyi and David Gosset. Improved classical simulation of quantum circuits dominated by Clifford gates. Phys. Rev. Lett., 116(25):250501, 2016.DOI
  7. [7]Michael J. Bremner, Richard Jozsa, and Dan J. Shepherd. Classical simulation of commuting quantum computations implies collapse of the polynomial hierarchy. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 467(2126):459–472, 08 2010.DOI
  8. [8]Jonathan F Buss, Gudmund S Frandsen, and Jeffrey O Shallit. The computational complexity of some problems of linear algebra. Journal of Computer and System Sciences, 58(3):572–596, 1999.
  9. [9]Dror Chawin and Ishay Haviv. Improved NP-hardness of approximation for orthogonality dimension and minrank. SIAM Journal on Discrete Mathematics, 37(4):2670–2688, 2023.arxiv.org/abs/2301.00732
  10. [10]Dror Chawin and Ishay Haviv. New Hardness Results for Low-Rank Matrix Completion. In Paweł Gawrychowski, Filip Mazowiecki, and Michał Skrzypczak, editors, 50th International Symposium on Mathematical Foundations of Computer Science (MFCS 2025), volume 345 of Leibniz International Proceedings in Informatics (LIPIcs), pages 37:1–37:18, Dagstuhl, Germany, 2025. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
  11. [11]Lin Chen, Martin Aulbach, and Michal Hajdušek. Comparison of different definitions of the geometric measure of entanglement. Physical Review A, 89(4):042305, 2014.DOI
  12. [12]Christopher M. Dawson, Andrew P. Hines, Duncan Mortimer, Henry L. Haselgrove, Michael A. Nielsen, and Tobias J. Osborne. Quantum computing and polynomial equations over the finite field Z2. Quantum Info. Comput., 5(2):102–112, March 2005.DOI
  13. [13]Jeroen Dehaene and Bart De Moor. Clifford group, stabilizer states, and linear and quadratic operations over GF(2). Physical Review A, 68(4):042318, 2003.DOI
  14. [14]W. Dür, G. Vidal, and J. I. Cirac. Three qubits can be entangled in two inequivalent ways. Phys. Rev. A, 62:062314, Nov 2000.DOI
  15. [15]Marianna E.-Nagy, Monique Laurent, and Antonios Varvitsiotis. Complexity of the positive semidefinite matrix completion problem with a rank constraint. In Discrete Geometry and Optimization, pages 105–120. Springer, 2013.
  16. [16]Jens Eisert and Hans J Briegel. Schmidt measure as a tool for quantifying multipartite entanglement. Physical Review A, 64(2):022306, 2001.DOI
  17. [17]Nima Ghanbari. Secure domination number of k-subdivision of graphs, 2023.
  18. [18]Daniel Gottesman. The Heisenberg representation of quantum computers. 22nd International Colloquium on Group Theoretical Methods in Physics, 1998.arxiv.org/abs/quant-ph/9807006
  19. [19]Willem H Haemers. An upper bound for the Shannon capacity of a graph. In Algebraic Methods in Graph Theory, Szeged, 1978, pages 267–272. North-Holland Publishing Company, 1981.
  20. [20]Moritz Hardt, Raghu Meka, Prasad Raghavendra, and Benjamin Weitz. Computational limits for matrix completion. In Conference on Learning Theory, pages 703–725. PMLR, 2014.arxiv.org/abs/1402.2331
  21. [21]Johan Håstad. Some optimal inapproximability results. Journal of the ACM (JACM), 48(4):798–859, 2001.
  22. [22]Masahito Hayashi, Damian Markham, Mio Murao, Masaki Owari, and Shashank Virmani. Entanglement of multiparty-stabilizer, symmetric, and antisymmetric states. Physical Review A—Atomic, Molecular, and Optical Physics, 77(1):012104, 2008.DOI
  23. [23]M. Hein, W. Dür, J. Eisert, R. Raussendorf, M. Van den Nest, and H. J. Briegel. Entanglement in graph states and its applications, 2006.DOI
  24. [24]Marc Hein, Jens Eisert, and Hans J Briegel. Multiparty entanglement in graph states. Physical Review A—Atomic, Molecular, and Optical Physics, 69(6):062311, 2004.DOI
  25. [25]Mark Howard and Earl Campbell. Application of a resource theory for magic states to fault-tolerant quantum computing. Phys. Rev. Lett., 118(9):090501, 2017.DOI
  26. [26]Greg Kuperberg. How hard is it to approximate the Jones polynomial?, 2014.
  27. [27]Damian Markham, Akimasa Miyake, and Shashank Virmani. Entanglement and local information access for graph states. New Journal of Physics, 9(6):194–194, 2007.DOI
  28. [28]M Nest. Classical simulation of quantum computation, the Gottesman-Knill theorem, and slightly beyond. arXiv preprint arXiv:0811.0898, 2008.arxiv.org/abs/0811.0898
  29. [29]Michael A Nielsen and Isaac Chuang. Quantum computation and quantum information. Cambridge University Press, 2000.
  30. [30]Hakop Pashayan, Oliver Reardon-Smith, Kamil Korzekwa, and Stephen D Bartlett. Fast estimation of outcome probabilities for quantum circuits. PRX Quantum, 3:020361, 2022.
  31. [31]René Peeters. Orthogonal representations over finite fields and the chromatic number of graphs. Combinatorica, 16(3):417–431, 1996.
  32. [32]James R Seddon, Bartosz Regula, Hakop Pashayan, Yingkai Ouyang, and Earl T Campbell. Quantifying quantum speedups: improved classical simulation from tighter magic monotones. PRX Quantum, 2(010345), 2021.DOI
  33. [33]Yaroslav Shitov. How hard is the tensor rank? arXiv preprint arXiv:1611.01559, 2016.arxiv.org/abs/1611.01559
  34. [34]Tzu-Chieh Wei and Paul M Goldbart. Geometric measure of entanglement and applications to bipartite and multipartite quantum states. Physical Review A, 68(4):042307, 2003.DOI
  35. [35]Lisa T. Weinbrenner, Albert Rico, Kenneth Goodenough, Xiao-Dong Yu, and Otfried Gühne. Complete hierarchies for the geometric measure of entanglement, 2026.arxiv.org/abs/2601.23243
  36. [36]Mingyu Xiao and Hiroshi Nagamochi. Exact algorithms for maximum independent set. Information and Computation, 255:126–146, August 2017.
  37. [37]Xinlan Zhou, Debbie W Leung, and Isaac L Chuang. Methodology for quantum logic gate construction. Phys. Rev. A, 62(5):052316, 2000.DOI

Paper details

vlnc:W_wbvbmywd
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents