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 n n n -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 n n n -qubit state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ and a set of projectors Π \Pi Π , we consider the quantity:
m ( ψ , Π ) : = max π ∈ Π ∣ ⟨ ψ ∣ π ∣ ψ ⟩ ∣ = max π ∈ Π ∥ π ∣ ψ ⟩ ∥ 2 2 . (1) m(\psi,\Pi) := \max_{\pi\in\Pi} |\langle\psi|\pi|\psi\rangle| = \max_{\pi\in\Pi} \|\pi|\psi\rangle\|_{2}^{2}. \tag*{(1)} m ( ψ , Π ) := π ∈ Π max ∣ ⟨ ψ ∣ π ∣ ψ ⟩ ∣ = π ∈ Π max ∥ π ∣ ψ ⟩ ∥ 2 2 . (1)
In this work, we consider a special case of this problem focused on stabilizer states. In particular, we focus on n n n -qubit stabilizer states ∣ ψ ⟩ ∈ S n |\psi\rangle\in\mathcal{S}_n ∣ ψ ⟩ ∈ 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
S a l l : = { I ± X 2 , I ± Y 2 , I ± Z 2 } = { ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣ , ∣ + 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|\} S all := { 2 I ± X , 2 I ± Y , 2 I ± Z } = { ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣ , ∣ + i ⟩ ⟨ + i ∣ , ∣ − i ⟩ ⟨ − i ∣ , ∣0 ⟩ ⟨ 0∣ , ∣1 ⟩ ⟨ 1∣ }
to be the set of single-qubit stabilizer projectors. For our problem, this means that Π = S ⊗ n \Pi= \mathcal{S}^{\otimes n} Π = S ⊗ n for some S ⊆ S a l l \mathcal{S}\subseteq\mathcal{S}_{\mathrm{all}} S ⊆ S 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} Π = Π S , k := S ⊗ k ⊗ I ⊗ n − k for some k ∈ [ n ] k\in[n] k ∈ [ n ] .
Definition 1 (Nearest Stabilizer Product State (NSPS)). For S ⊆ S a l l \mathcal{S}\subseteq\mathcal{S}_{\mathrm{all}} S ⊆ S all , S ≠ ∅ \mathcal{S}\ne\varnothing S = ∅ , we define the optimization problem Opt-NSPS( S n , S ) (\mathcal{S}_n,\mathcal{S}) ( S n , S ) as follows:
Given any state ∣ ψ ⟩ ∈ S n |\psi\rangle\in\mathcal{S}_n ∣ ψ ⟩ ∈ S n and k ∈ [ n ] k\in[n] k ∈ [ n ] , compute the quantity:
m ( ψ , Π S , k ) : = max π ∈ Π S , k ∥ π ∣ ψ ⟩ ∥ 2 2 . (2) m(\psi,\Pi_{\mathcal{S},k}) := \max_{\pi\in\Pi_{\mathcal{S},k}} \|\pi|\psi\rangle\|_{2}^{2}. \tag*{(2)} m ( ψ , Π S , k ) := π ∈ Π S , k max ∥ π ∣ ψ ⟩ ∥ 2 2 . (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}) m ( ψ , Π S , k ) is either zero or 2 − p 2^{-p} 2 − p for some 0 ≤ p ≤ k 0\le p\le k 0 ≤ p ≤ k . Hence, approximations m ^ \hat{m} m ^ to precision 1 2 m < m ^ < 2 m \frac{1}{\sqrt{2}}m<\hat{m}<\sqrt{2}m 2 1 m < m ^ < 2 m can be used to recover the exact value. We use NSPS( S n , S ) (\mathcal{S}_n,\mathcal{S}) ( S n , S ) to denote the associated decision problem1 . Additionally, we use Srch-NSPS( S n , S ) (\mathcal{S}_n,\mathcal{S}) ( S n , S ) to denote the associated search problem where the task is to return any projector π ∈ Π S , k \pi\in\Pi_{\mathcal{S},k} π ∈ Π S , k that achieves the optimal value m ( ψ , Π S , k ) m(\psi,\Pi_{\mathcal{S},k}) m ( ψ , Π 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 ⊆ S a l l \mathcal{S}\subseteq\mathcal{S}_{\mathrm{all}} S ⊆ S all , NSPS( S n , S ) (\mathcal{S}_n,\mathcal{S}) ( S n , S ) is in NP. To see this observe that in the case of a Yes instance (i.e. m ( ψ , Π S , k ) ≥ 2 − p + 1 m(\psi,\Pi_{\mathcal{S},k})\ge2^{-p+1} m ( ψ , Π S , k ) ≥ 2 − p + 1 ), there exists a short witness π ∈ Π S , k \pi\in\Pi_{\mathcal{S},k} π ∈ Π S , k such that ∥ π ∣ ψ ⟩ ∥ 2 2 ≥ 2 − p + 1 \|\pi|\psi\rangle\|_{2}^{2}\ge2^{-p+1} ∥ π ∣ ψ ⟩ ∥ 2 2 ≥ 2 − p + 1 . Further, given π \pi π , a deterministic Turing machine can verify in polynomial time that indeed ∥ π ∣ ψ ⟩ ∥ 2 2 ≥ 2 − p + 1 \|\pi|\psi\rangle\|_{2}^{2}\ge2^{-p+1} ∥ π ∣ ψ ⟩ ∥ 2 2 ≥ 2 − p + 1 [18 , 2 ] .
There are 63 non-empty subsets S ⊆ S a l l \mathcal{S}\subseteq\mathcal{S}_{\mathrm{all}} S ⊆ S all that give rise to different problems NSPS( S n , S ) (\mathcal{S}_n,\mathcal{S}) ( S n , S ) . We use local Clifford symmetries to classify these into 9 representatives labeled by S = S ( a b c ) \mathcal{S}=\mathcal{S}_{(abc)} S = S ( ab c ) for some a ≥ b ≥ c ∈ { 0 , 1 , 2 } a\ge b\ge c\in\{0,1,2\} a ≥ b ≥ c ∈ { 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\} { X , Y , Z } , S \mathcal{S} S is constructed by including exactly a a a eigenprojectors of one, b b b of another and c c c of the remaining Pauli. So S ( a b c ) \mathcal{S}_{(abc)} S ( ab c ) has cardinality a + b + c a+b+c a + b + c and S ( 222 ) = S a l l \mathcal{S}_{(222)}=\mathcal{S}_{\mathrm{all}} S ( 222 ) = S all . We characterize the complexity of these problems and summarize these results in Table 1 . Henceforth, we use the more concise notation NSPS( a b c ) ≡ (abc)\equiv ( ab c ) ≡ NSPS( S n , S ( a b c ) ) (\mathcal{S}_n,\mathcal{S}_{(abc)}) ( S n , S ( ab c ) ) , Π ( a b c ) , k ≡ Π S ( a b c ) , k \Pi_{(abc),k}\equiv\Pi_{\mathcal{S}_{(abc)},k} Π ( ab c ) , k ≡ Π S ( ab c ) , k and m ( ψ , S ) ≡ m ( ψ , Π S , n ) m(\psi,\mathcal{S})\equiv m(\psi,\Pi_{\mathcal{S},n}) m ( ψ , S ) ≡ m ( ψ , Π S , n ) .
Table 1. The decision problem NSPS(S n \mathcal{S}_n S n , S S S ) 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 G G G into a new graph H = H ( G ) H = H(G) H = H ( G ) (also known as the 3-subdivision of G G G [17 ] ) where each edge in G = ( V , E ) 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) G = ( V , E ) , the nearest stabilizer product states to the graph state ∣ H ( G ) ⟩ |H(G)\rangle ∣ H ( G )⟩ can be computed directly from the vertex cover number τ ( G ) \tau(G) τ ( G ) of G G G :
− log 2 m ( H ( G ) , S ( 220 ) ) = − log 2 m ( 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)} − log 2 m ( H ( G ) , S ( 220 ) ) = − log 2 m ( H ( G ) , S ( 222 ) ) = τ ( G ) + ∣ E ∣ (3)
Consequently, for any graph G G G , the computation of m ( H ( G ) , S ( 220 ) ) m(H(G), S_{(220)}) m ( H ( G ) , S ( 220 ) ) and m ( H ( G ) , S ( 222 ) ) m(H(G), S_{(222)}) m ( H ( G ) , S ( 222 ) ) is possible in polynomial space and mildly exponential runtime. For example, for a graph G G G with v = ∣ V ∣ v = |V| v = ∣ V ∣ vertices and e = ∣ E ∣ e = |E| e = ∣ E ∣ edges, H ( G ) H(G) H ( G ) has v + 2 e v + 2e v + 2 e vertices so a naive brute-force approach to computing m ( H ( G ) , S ( 222 ) ) m(H(G), S_{(222)}) m ( H ( G ) , S ( 222 ) ) would require O ∗ ( 3 v + 2 e ) O^*(3^{v+2e}) O ∗ ( 3 v + 2 e ) runtime where O ∗ ( ⋅ ) O^*(\cdot) O ∗ ( ⋅ ) suppresses polynomial factors. In contrast, by using Equation (3) and employing existing algorithms for computing τ ( G ) \tau(G) τ ( G ) [36 ] we find an O ∗ ( 1.1996 v ) O^*(1.1996^v) O ∗ ( 1.199 6 v ) algorithm for computing the same quantity. For NSPS(222), this method can be extended beyond graphs in the image of H H H by using the fact that m ( H , S ( 222 ) ) m(H,S_{(222)}) m ( H , S ( 222 ) ) is invariant under local complementation of H H H .
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, U U U , dominated by Clifford gates and a limited number of non-Clifford T T T -gates (T = diag ( 1 , e i π / 4 ) T = \operatorname{diag}(1,e^{i\pi/4}) T = diag ( 1 , e iπ /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 t t t , the number of T T T -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 ∣ 0 n ⟩ U|0^n\rangle U ∣ 0 n ⟩ 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 t t t -qubit, circuit-dependent, stabilizer state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ and the t t t -fold tensor product of so-called T T T -states ( ∣ T ⟩ ∝ ∣ 0 ⟩ + e i π / 4 ∣ 1 ⟩ ) (|T\rangle\propto|0\rangle+ e^{i\pi/4}|1\rangle) ( ∣ T ⟩ ∝ ∣0 ⟩ + e iπ /4 ∣1 ⟩) , which we denote by ∣ T t ⟩ |T^t\rangle ∣ T t ⟩ . By decomposing each T T T -state into a linear combination of ∣ + ⟩ |+\rangle ∣ + ⟩ and ∣ + i ⟩ |+i\rangle ∣ + i ⟩ , one can estimate the inner product ⟨ T t ∣ ψ ⟩ \langle T^t|\psi\rangle ⟨ T t ∣ ψ ⟩ by using Monte-Carlo sampling of stabilizer product states ∣ ϕ ⟩ ∈ { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t |\phi\rangle\in\{|+\rangle, |+i\rangle\}^{\otimes t} ∣ ϕ ⟩ ∈ { ∣ + ⟩ , ∣ + i ⟩ } ⊗ 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 T T T -state into a linear combination of ∣ + ⟩ |+\rangle ∣ + ⟩ and ∣ + i ⟩ |+i\rangle ∣ + i ⟩ 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 X X X -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 X X X -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 F 2 \mathbb{F}_2 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.
NSPS(222) and connections to the geometric and Schmidt measures of entanglement: Opt-NSPS(222) is concerned with finding the distance (fidelity) to the nearest stabilizer product state. This quantity is related to measures of entanglement on graph states ∣ G ⟩ |G\rangle ∣ G ⟩ such as the geometric measure E g ( ∣ G ⟩ ) E_g(|G\rangle) E g ( ∣ G ⟩) [34 , 11 ] and the Schmidt measure E s ( ∣ G ⟩ ) E_s(|G\rangle) E s ( ∣ G ⟩) [16 ] . The geometric measure quantifies the distance to the nearest product state and is defined as E g ( ∣ ψ ⟩ ) = − log 2 max ∣ ϕ ⟩ ∣ ⟨ ϕ ∣ ψ ⟩ ∣ 2 E_g(|\psi\rangle)=-\log_2\max_{|\phi\rangle}|\langle\phi|\psi\rangle|^2 E g ( ∣ ψ ⟩) = − log 2 max ∣ ϕ ⟩ ∣ ⟨ ϕ ∣ ψ ⟩ ∣ 2 where the maximization is taken over all product states ∣ ϕ ⟩ |\phi\rangle ∣ ϕ ⟩ . The canonical polyadic (CP) rank or tensor rank, R min R_{\min} R m i n , of an n n n -qubit state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ quantifies the minimum number of terms R min R_{\min} R m i n needed to decompose ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ into a linear combination of product states. The Schmidt measure is defined as E s ( ∣ ψ ⟩ ) : = log 2 R min E_s(|\psi\rangle):=\log_2 R_{\min} E s ( ∣ ψ ⟩) := log 2 R m i n [16 ] . The quantities E s g ( ∣ G ⟩ ) E_{sg}(|G\rangle) E s g ( ∣ G ⟩) and E s s ( ∣ G ⟩ ) E_{ss}(|G\rangle) E ss ( ∣ G ⟩) associated with this work can be defined as the stabilizer analogues of E g ( ∣ G ⟩ ) E_g(|G\rangle) E g ( ∣ G ⟩) and E s ( ∣ G ⟩ ) E_s(|G\rangle) E s ( ∣ G ⟩) respectively. That is, they are optimized over all stabilizer product states as opposed to all product states. Thus, for example E s g ( ∣ ψ ⟩ ) : = − log 2 m ( ψ , S ( 222 ) ) E_{sg}(|\psi\rangle):=-\log_2 m(\psi,\mathcal{S}_{(222)}) E s g ( ∣ ψ ⟩) := − log 2 m ( ψ , S ( 222 ) ) . We relate these to previously derived results [27 ] that upper bound the geometric and Schmidt measure of entanglement on graph states ∣ G ⟩ |G\rangle ∣ G ⟩ by the vertex cover number τ ( G ) \tau(G) τ ( G ) of the graph:
τ ( G ) ≥ E s g ( ∣ G ⟩ ) ≥ E g ( ∣ G ⟩ ) E s g ( ∣ G ⟩ ) ≥ E s s ( ∣ G ⟩ ) ≥ E s ( ∣ G ⟩ ) . \begin{aligned}
\tau(G) &\ge E_{sg}(|G\rangle) \ge E_g(|G\rangle) \\
E_{sg}(|G\rangle) &\ge E_{ss}(|G\rangle) \ge E_s(|G\rangle).
\end{aligned} τ ( G ) E s g ( ∣ G ⟩) ≥ E s g ( ∣ G ⟩) ≥ E g ( ∣ G ⟩) ≥ E ss ( ∣ G ⟩) ≥ E s ( ∣ G ⟩) .
We prove E s g ( ∣ G ⟩ ) ≥ E s s ( ∣ G ⟩ ) E_{sg}(|G\rangle)\ge E_{ss}(|G\rangle) E s g ( ∣ G ⟩) ≥ E ss ( ∣ G ⟩) by showing that a solution to a ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ instance of Srch-NSPS(222) immediately provides an orthogonal stabilizer product state decomposition of ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ with exactly 1 / m ( ψ , S ( 222 ) ) 1/m(\psi,\mathcal{S}_{(222)}) 1/ m ( ψ , S ( 222 ) ) terms. By using Equation (3) and employing algorithmic tools from Ref. [36 ] our results provide a computational tool for bounding E g ( ∣ ψ ⟩ ) E_{\mathrm{g}}(|\psi\rangle) E g ( ∣ ψ ⟩) and E s s ( ∣ ψ ⟩ ) E_{\mathrm{ss}}(|\psi\rangle) E ss ( ∣ ψ ⟩) for a restricted set of stabilizer states. More details can be found in Appendix § 10 .
Technical Background
We briefly summarize some background needed for our discussion.
Graphs: A graph G = ( V , E ) G=(V,E) G = ( V , E ) with vertex set V V V and edge set E E E admits an independence number α ( G ) \alpha(G) α ( G ) , a vertex cover number τ ( G ) \tau(G) τ ( G ) and matching number ν ( G ) \nu(G) ν ( G ) . An independent set of G G G is a subset of vertices where no two vertices are connected by an edge in E E E . The maximum independent set is an independent set with the largest possible number of vertices. The independence number is the cardinality of the maximum independent set. A vertex cover of G G G is a subset of vertices such that all edges in E E E have at least one incident vertex in the subset. The minimum vertex cover is the smallest subset of vertices that is a vertex cover. The vertex cover number is its cardinality. A matching is a subset of edges where no two edges share a common endpoint (i.e., no two edges are incident to the same vertex). A maximum matching is a matching such that there is no other matching with a larger number of edges. The total number of edges in a maximum matching is called the matching number of the graph. A well-known property of graphs states that the complement (in V V V ) of the maximum independent set of G = ( V , E ) G=(V,E) G = ( V , E ) is a minimum vertex cover of G G G (sometimes referred to as Gallai’s lemma). Hence, α ( G ) + τ ( G ) = ∣ V ∣ \alpha(G)+\tau(G)=|V| α ( G ) + τ ( G ) = ∣ V ∣ . The local complement (LC) is a map from a graph G = ( V , E ) G=(V,E) G = ( V , E ) and a vertex v ∈ V v\in V v ∈ V to a graph G ∗ v = G ′ = ( V , E ′ ) G*_{v}=G'=(V,E') G ∗ v = G ′ = ( V , E ′ ) that modifies G G G by toggling the edges with both endpoints in the neighborhood N ( v ) N(v) N ( v ) of v v v , i.e., if at least one endpoint of e ∈ E e\in E e ∈ E is not in N ( v ) N(v) N ( v ) then e ∈ E ′ e\in E' e ∈ E ′ but for all distinct pairs i , j ∈ N ( v ) i,j\in N(v) i , j ∈ N ( v ) , ( i , j ) ∈ E ′ (i,j)\in E' ( i , j ) ∈ E ′ if and only if ( i , j ) ∉ E (i,j)\notin E ( i , j ) ∈ / E .
Graph States: Graph states are a subset of stabilizer states that can be constructed as follows. Given a graph G = ( V , E ) G=(V,E) G = ( V , E ) , we prepare the graph state ∣ G ⟩ |G\rangle ∣ G ⟩ by first preparing ∣ + ⟩ ⊗ ∣ V ∣ |+\rangle^{\otimes|V|} ∣ + ⟩ ⊗ ∣ V ∣ then for each ( i , j ) ∈ E (i,j)\in E ( i , j ) ∈ E , we act with a controlled-Z Z Z gate between qubits i i i and j j j . A natural choice of stabilizer generators for ∣ G ⟩ |G\rangle ∣ G ⟩ is one where the j t h j^{\mathrm{th}} j th generator g j g_j g j is associated with the j t h j^{\mathrm{th}} j th vertex of G G G such that the j t h j^{\mathrm{th}} j th Pauli of g j g_j g j is a Pauli-X X X operator and, if ( i , j ) ∈ E (i,j)\in E ( i , j ) ∈ E then the i t h i^{\mathrm{th}} i th Pauli of g j g_j g j is a Pauli-Z Z Z operator and otherwise it is the identity operator. This results in an X X X -check matrix that is the n × n n\times n n × n identity matrix and a Z Z Z -check matrix that is the n × n n\times n n × n adjacency matrix adj ( G ) \operatorname{adj}(G) adj ( G ) of G G G . Every stabilizer state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ is, up to multiplication by single qubit Clifford unitaries, equivalent to some graph state ∣ G ⟩ |G\rangle ∣ G ⟩ . Given a graph state ∣ G ⟩ |G\rangle ∣ G ⟩ and a vertex v ∈ V ( G ) v\in V(G) v ∈ V ( G ) , one can prepare the graph state ∣ G ∗ v ⟩ |G*_{v}\rangle ∣ G ∗ v ⟩ associated with the LC of G G G with respect to vertex v v v by acting on ∣ G ⟩ |G\rangle ∣ G ⟩ with the unitary U v : = − i X v ⨂ u ∈ N ( v ) i Z u U_v:=\sqrt{-iX_v}\bigotimes_{u\in N(v)}\sqrt{iZ_u} U v := − i X v ⨂ u ∈ N ( v ) i Z u . Crucially, U v U_v U v is a local Clifford operation hence, all graph states that are associated by some sequence of LC transformations share the same entanglement properties and, the local Clifford orbit of a given stabilizer state may intersect multiple graph states.
Notation: We use Z \sqrt{Z} Z , H H H to denote the single qubit phase and Hadamard Clifford unitaries respectively.
Classification
We observe the following symmetry of the objective in Equation (2) . For any Clifford unitary U U U :
m ( ψ , Π S , k ) = m ( ψ ′ , U Π S , k U † ) , (4) m(\psi,\Pi_{S,k})=m(\psi',U\Pi_{S,k}U^\dagger), \tag*{(4)} m ( ψ , Π S , k ) = m ( ψ ′ , U Π S , k U † ) , (4)
where ∣ ψ ′ ⟩ : = U ∣ ψ ⟩ |\psi'\rangle:=U|\psi\rangle ∣ ψ ′ ⟩ := U ∣ ψ ⟩ . We note that the complexity of NSPS ( S n , S ) \operatorname{NSPS}(\mathcal{S}_n,S) NSPS ( S n , S ) is qubit order independent by choosing U U U from the set of Cliffords generated by swap gates.
For tensor-power Cliffords of the form U = U l o c ⊗ n U=U_{\mathrm{loc}}^{\otimes n} U = U loc ⊗ n where U l o c ∈ C 1 U_{\mathrm{loc}}\in\mathcal{C}_1 U loc ∈ C 1 , this symmetry imposes an equivalence between any pair of problems NSPS ( S n , S ) \operatorname{NSPS}(\mathcal{S}_n,S) NSPS ( S n , S ) and NSPS ( S n , S ′ ) \operatorname{NSPS}(\mathcal{S}_n,S') NSPS ( S n , S ′ ) when S S S and S ′ S' S ′ are related by conjugation by U l o c U_{\mathrm{loc}} U loc . Below, we define nine specific choices of the subset S S S which classify all choices of non-empty S S S in the sense that every S ≠ ∅ S \ne\emptyset S = ∅ is contained in the orbit of exactly one of the below representatives and any pair of subsets S , S ′ S,S' S , S ′ associated with the same representative have the same complexity:
S ( 100 ) : = { ∣ 0 ⟩ ⟨ 0 ∣ } S ( 200 ) : = { ∣ 0 ⟩ ⟨ 0 ∣ , ∣ 1 ⟩ ⟨ 1 ∣ } S ( 110 ) : = { ∣ 0 ⟩ ⟨ 0 ∣ , ∣ + ⟩ ⟨ + ∣ } S ( 210 ) : = { ∣ 0 ⟩ ⟨ 0 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣ } S ( 111 ) : = { ∣ 0 ⟩ ⟨ 0 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ + i ⟩ ⟨ + i ∣ } S ( 220 ) : = { ∣ 0 ⟩ ⟨ 0 ∣ , ∣ 1 ⟩ ⟨ 1 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣ } S ( 211 ) : = { ∣ 0 ⟩ ⟨ 0 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣ , ∣ + i ⟩ ⟨ + i ∣ } S ( 221 ) : = { ∣ 0 ⟩ ⟨ 0 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣ , ∣ + i ⟩ ⟨ + i ∣ , ∣ − i ⟩ ⟨ − i ∣ } S ( 222 ) : = { ∣ 0 ⟩ ⟨ 0 ∣ , ∣ 1 ⟩ ⟨ 1 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣ , ∣ + i ⟩ ⟨ + i ∣ , ∣ − i ⟩ ⟨ − i ∣ } . (5) \begin{aligned}
\mathcal{S}_{(100)} &:= \{\lvert0\rangle\langle0\rvert\} \\
\mathcal{S}_{(200)} &:= \{\lvert0\rangle\langle0\rvert,\lvert1\rangle\langle1\rvert\} \\
\mathcal{S}_{(110)} &:= \{\lvert0\rangle\langle0\rvert,\lvert+\rangle\langle+\rvert\} \\
\mathcal{S}_{(210)} &:= \{\lvert0\rangle\langle0\rvert,\lvert+\rangle\langle+\rvert,\lvert-\rangle\langle-\rvert\} \\
\mathcal{S}_{(111)} &:= \{\lvert0\rangle\langle0\rvert,\lvert+\rangle\langle+\rvert,\lvert+i\rangle\langle+i\rvert\} \\
\mathcal{S}_{(220)} &:= \{\lvert0\rangle\langle0\rvert,\lvert1\rangle\langle1\rvert,\lvert+\rangle\langle+\rvert,\lvert-\rangle\langle-\rvert\} \\
\mathcal{S}_{(211)} &:= \{\lvert0\rangle\langle0\rvert,\lvert+\rangle\langle+\rvert,\lvert-\rangle\langle-\rvert,\lvert+i\rangle\langle+i\rvert\} \\
\mathcal{S}_{(221)} &:= \{\lvert0\rangle\langle0\rvert,\lvert+\rangle\langle+\rvert,\lvert-\rangle\langle-\rvert,\lvert+i\rangle\langle+i\rvert,\lvert-i\rangle\langle-i\rvert\} \\
\mathcal{S}_{(222)} &:= \{\lvert0\rangle\langle0\rvert,\lvert1\rangle\langle1\rvert,\lvert+\rangle\langle+\rvert,\lvert-\rangle\langle-\rvert,\lvert+i\rangle\langle+i\rvert,\lvert-i\rangle\langle-i\rvert\}. \tag*{(5)}
\end{aligned} S ( 100 ) S ( 200 ) S ( 110 ) S ( 210 ) S ( 111 ) S ( 220 ) S ( 211 ) S ( 221 ) S ( 222 ) := {∣ 0 ⟩ ⟨ 0 ∣} := {∣ 0 ⟩ ⟨ 0 ∣ , ∣ 1 ⟩ ⟨ 1 ∣} := {∣ 0 ⟩ ⟨ 0 ∣ , ∣ + ⟩ ⟨ + ∣} := {∣ 0 ⟩ ⟨ 0 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣} := {∣ 0 ⟩ ⟨ 0 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ + i ⟩ ⟨ + i ∣} := {∣ 0 ⟩ ⟨ 0 ∣ , ∣ 1 ⟩ ⟨ 1 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣} := {∣ 0 ⟩ ⟨ 0 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣ , ∣ + i ⟩ ⟨ + i ∣} := {∣ 0 ⟩ ⟨ 0 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣ , ∣ + i ⟩ ⟨ + i ∣ , ∣ − i ⟩ ⟨ − i ∣} := {∣ 0 ⟩ ⟨ 0 ∣ , ∣ 1 ⟩ ⟨ 1 ∣ , ∣ + ⟩ ⟨ + ∣ , ∣ − ⟩ ⟨ − ∣ , ∣ + i ⟩ ⟨ + i ∣ , ∣ − i ⟩ ⟨ − i ∣} . (5)
We use R e p s : = { S ( 100 ) , S ( 200 ) , S ( 110 ) , S ( 210 ) , S ( 111 ) , S ( 220 ) , S ( 211 ) , S ( 221 ) , S ( 222 ) } \mathrm{Reps} := \{\mathcal{S}_{(100)},\mathcal{S}_{(200)},\mathcal{S}_{(110)},\mathcal{S}_{(210)},\mathcal{S}_{(111)},\mathcal{S}_{(220)},\mathcal{S}_{(211)},\mathcal{S}_{(221)},\mathcal{S}_{(222)}\} Reps := { S ( 100 ) , S ( 200 ) , S ( 110 ) , S ( 210 ) , S ( 111 ) , S ( 220 ) , S ( 211 ) , S ( 221 ) , S ( 222 ) } to denote this set of representatives. We formalize and prove these statements in Appendix § 11 .
Complexity Results
We present our complexity results below. In § 4.1 , we discuss NSPS(100), NSPS(200) and generalizations. In § 4.2 , we present hardness results for the remaining representatives that contain an incomplete basis, i.e., NSPS(110), NSPS(111), NSPS(210), NSPS(211) and NSPS(221). Finally, in § 4.3 , we present hardness results for the remaining representatives that contain only complete bases; these are NSPS(220) and NSPS(222).
Easy consequences of the Gottesman–Knill theorem
NSPS(100)
We note that NSPS(100) is a trivial setting where there are no choices to optimize over and hence this class can be decided in P by application of the Gottesman–Knill theorem. For the more general input state setting, the situation is different. For example, given a description of a state ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ generated by acting on ∣ 0 ⟩ ⊗ n \lvert0\rangle^{\otimes n} ∣ 0 ⟩ ⊗ n with n O ( 1 ) n^{O(1)} n O ( 1 ) gates from a universal gate set, computing ∣ ⟨ 0 n ∣ ψ ⟩ ∣ 2 \lvert\langle0^n\vert\psi\rangle\rvert^2 ∣⟨ 0 n ∣ ψ ⟩ ∣ 2 to multiplicative precision is #P-hard [1 , 7 , 26 , 12 ] .
NSPS(200)
Let us now consider the set of computational basis projectors S = S ( 200 ) S=\mathcal{S}_{(200)} S = S ( 200 ) where m ( ψ , Π ( 200 ) , k ) m(\psi,\Pi_{(200),k}) m ( ψ , Π ( 200 ) , k ) is the probability of the most likely measurement outcome when the first k k k qubits of ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ are measured in the computational basis. It is easy to show that for all stabilizer states ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ , the optimal value m ( ψ , Π ( 200 ) , k ) m(\psi,\Pi_{(200),k}) m ( ψ , Π ( 200 ) , k ) and an optimizing projector can be efficiently computed.
Lemma 2. For any n n n -qubit stabilizer state ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ and k ∈ [ n ] k\in[n] k ∈ [ n ] , a greedy algorithm can efficiently find an x ∗ ∈ { 0 , 1 } k x^*\in\{0,1\}^k x ∗ ∈ { 0 , 1 } k satisfying ∥ ∣ x ∗ ⟩ ⟨ x ∗ ∣ ⊗ I ⊗ n − k ∣ ψ ⟩ ∥ 2 2 = m ( ψ , Π ( 200 ) , k ) \lVert\lvert x^*\rangle\langle x^*\rvert\otimes I^{\otimes n-k}\lvert\psi\rangle\rVert_2^2=m(\psi,\Pi_{(200),k}) ∥∣ x ∗ ⟩ ⟨ x ∗ ∣ ⊗ I ⊗ n − k ∣ ψ ⟩ ∥ 2 2 = m ( ψ , Π ( 200 ) , k ) .
Proof. Let us first show a basic fact. Any two n n n -qubit stabilizer states with identical generators up to signs are related by a Pauli P P P . To see this, just use a Clifford C C C to send the generators of one state to Z 1 , … , Z n Z_1,\ldots,Z_n Z 1 , … , Z n and it is clear that the other state’s generators are sent of the same set with some sign flips. These sign flips can be removed by conjugating the state with a Pauli P ′ ∈ { I , X } ⊗ n P' \in\{I,X\}^{\otimes n} P ′ ∈ { I , X } ⊗ n where the locations of the Pauli-X X X operators in P ′ P' P ′ is determined by the location of the sign flips. Finally, returning back to the original basis by applying C † C^\dagger C † , we observe that P : = C † P ′ C P := C^\dagger P'C P := C † P ′ C achieves the required sign flips in this basis.
To prove the lemma, first note that all stabilizer projectors acting on a stabilizer state produce a stabilizer state up to normalization. When, without loss of generality, the first qubit of a stabilizer state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ is projected onto ∣ b ⟩ |b\rangle ∣ b ⟩ , for b ∈ { 0 , 1 } b \in\{0,1\} b ∈ { 0 , 1 } , the squared 2-norm changes by a factor f b ∈ { 0 , 1 , 1 / 2 } f_b \in\{0,1,1/2\} f b ∈ { 0 , 1 , 1/2 } . If f b = 0 f_b=0 f b = 0 then f b ⊕ 1 = 1 f_{b\oplus1}=1 f b ⊕ 1 = 1 and so greedily projecting onto ∣ b ⊕ 1 ⟩ |b\oplus1\rangle ∣ b ⊕ 1 ⟩ can never be worse. If f b = 1 f_b=1 f b = 1 then f b ⊕ 1 = 0 f_{b\oplus1}=0 f b ⊕ 1 = 0 and so greedily projecting onto ∣ b ⊕ 1 ⟩ |b\oplus1\rangle ∣ b ⊕ 1 ⟩ can never be better.
The key claim to completing the proof concerns the final case when f 0 = 1 / 2 = f 1 f_0=1/2=f_1 f 0 = 1/2 = f 1 , i.e., the “non-deterministic measurement” case. In this case, we will show that 1 2 m ( ψ b , Π ( 200 ) , k − 1 ) = m ( ψ , Π ( 200 ) , k ) \frac{1}{2}m(\psi_b,\Pi_{(200),k-1})=m(\psi,\Pi_{(200),k}) 2 1 m ( ψ b , Π ( 200 ) , k − 1 ) = m ( ψ , Π ( 200 ) , k ) , i.e., the LHS is independent of b b b where ∣ ψ b ⟩ : = 2 ⟨ b ∣ ⊗ I ∣ ψ ⟩ |\psi_b\rangle:= \sqrt{2}\langle b|\otimes I|\psi\rangle ∣ ψ b ⟩ := 2 ⟨ b ∣ ⊗ I ∣ ψ ⟩ . Hence, we are never worse off by making the greedy choice on deterministic measurements and our choices on non-deterministic measurements are inconsequential so a random choice can be made.
We now claim that in the “non-deterministic measurement” case, the post-selected states are given by ∣ ψ b ⟩ = P b ∣ ϕ ⟩ |\psi_b\rangle=P^b|\phi\rangle ∣ ψ b ⟩ = P b ∣ ϕ ⟩ , where ∣ ϕ ⟩ |\phi\rangle ∣ ϕ ⟩ is some n − 1 n-1 n − 1 qubit stabilizer state independent of b b b and P P P is some n − 1 n-1 n − 1 qubit Pauli. This immediately leads to the m ( ψ 0 , Π ( 200 ) , k − 1 ) = m ( ψ 1 , Π ( 200 ) , k − 1 ) m(\psi_0,\Pi_{(200),k-1})=m(\psi_1,\Pi_{(200),k-1}) m ( ψ 0 , Π ( 200 ) , k − 1 ) = m ( ψ 1 , Π ( 200 ) , k − 1 ) by Equation (4) and the invariance of Π ( 200 ) , k − 1 \Pi_{(200),k-1} Π ( 200 ) , k − 1 under conjugation by any Pauli P P P . Hence, for either choice of b b b :
m ( ψ , Π ( 200 ) , k ) = 1 2 max a m ( ψ a , Π ( 200 ) , k − 1 ) = 1 2 m ( ψ b , Π ( 200 ) , k − 1 ) . m(\psi,\Pi_{(200),k})=\frac{1}{2}\max_a m(\psi_a,\Pi_{(200),k-1})=\frac{1}{2}m(\psi_b,\Pi_{(200),k-1}). m ( ψ , Π ( 200 ) , k ) = 2 1 a max m ( ψ a , Π ( 200 ) , k − 1 ) = 2 1 m ( ψ b , Π ( 200 ) , k − 1 ) .
To see that ∣ ψ b ⟩ = P b ∣ ϕ ⟩ |\psi_b\rangle=P^b|\phi\rangle ∣ ψ b ⟩ = P b ∣ ϕ ⟩ , let us consider the standard Gottesman–Knill measurement procedure [29 ] applied to the original state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ . Observe that in the non-deterministic case, a stabilizer generator of ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ anticommutes with Z 1 Z_1 Z 1 , the local Pauli-Z Z Z . We reselect a set of generators { g i } i ∈ [ n ] \{g_i\}_{i\in[n]} { g i } i ∈ [ n ] so that g 1 g_1 g 1 anticommutes with Z 1 Z_1 Z 1 and the rest all commute with it. Now, the description of the post-measurement state is given by replacing g 1 g_1 g 1 with ( − 1 ) b Z 1 (-1)^bZ_1 ( − 1 ) b Z 1 depending on the measurement outcome b b b . We can now reselect the generators g 2 , … , g n g_2,\ldots,g_n g 2 , … , g n such that they are the identity on the first qubit. This process involves multiplying any g j g_j g j (for j > 1 j>1 j > 1 ) with Pauli-Z Z Z support on the first qubit by ( − 1 ) b Z 1 (-1)^bZ_1 ( − 1 ) b Z 1 hence the signs of some generators may depend on b b b , but the generators up to signs do not depend on the outcome. Since two stabilizer states with identical generators up to signs are related by a Pauli P P P , the post-measurement state corresponds to ∣ b ⟩ ⊗ P b ∣ ϕ ⟩ |b\rangle\otimes P^b|\phi\rangle ∣ b ⟩ ⊗ P b ∣ ϕ ⟩ and discarding the first qubit leads to the claim ∣ ψ b ⟩ = P b ∣ ϕ ⟩ |\psi_b\rangle=P^b|\phi\rangle ∣ ψ b ⟩ = P b ∣ ϕ ⟩ .
We note, however, that for non-stabilizer ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ , greedy algorithms do not work in general. For example, we note that for the non-stabilizer state ∣ ψ ⟩ = 2 7 ∣ 00 ⟩ + 2 7 ∣ 01 ⟩ + 3 7 ∣ 11 ⟩ |\psi\rangle=\sqrt{\frac{2}{7}}|00\rangle+\sqrt{\frac{2}{7}}|01\rangle+\sqrt{\frac{3}{7}}|11\rangle ∣ ψ ⟩ = 7 2 ∣00 ⟩ + 7 2 ∣01 ⟩ + 7 3 ∣11 ⟩ , a greedy algorithm fails since we have ∥ I ⊗ ⟨ 0 ∣ ⊗ I ∣ ψ ⟩ ∥ 2 2 > ∥ I ⊗ ⟨ 1 ∣ ⊗ I ∣ ψ ⟩ ∥ 2 2 \|I\otimes\langle0|\otimes I|\psi\rangle\|_2^2>\|I\otimes\langle1|\otimes I|\psi\rangle\|_2^2 ∥ I ⊗ ⟨ 0∣ ⊗ I ∣ ψ ⟩ ∥ 2 2 > ∥ I ⊗ ⟨ 1∣ ⊗ I ∣ ψ ⟩ ∥ 2 2 but for k = 2 k=2 k = 2 , the maximum is uniquely achieved by x ∗ = ( 1 , 1 ) x^*=(1,1) x ∗ = ( 1 , 1 ) .
For the remainder of this work, we focus on stabilizer state inputs. These are associated with a set of stabilizer generators that can be written in the form of a so-called stabilizer check matrix [29 ] . As we will next show, for an input state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ , the rank of the X X X -component of the stabilizer check matrix determines the quantity m ( ψ , S ( 200 ) ) m(\psi,\mathcal{S}_{(200)}) m ( ψ , S ( 200 ) ) . This fact will be important for other choices of subset S S S .
Definition 3. Let G = ( g ( 1 ) , … , g ( n ) ) G=(g(1),\ldots,g(n)) G = ( g ( 1 ) , … , g ( n )) be a set of commuting, independent generators associated with an n n n -qubit stabilizer state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ where g ( i ) = ( − 1 ) a i g 1 ( i ) ⊗ ⋯ ⊗ g n ( i ) ∈ P g(i)=(-1)^{a_i}g_1(i)\otimes\cdots\otimes g_n(i)\in\mathcal{P} g ( i ) = ( − 1 ) a i g 1 ( i ) ⊗ ⋯ ⊗ g n ( i ) ∈ P . We define the binary
valued n × n n \times n n × n matrix M = M ( G ) M = M(G) M = M ( G ) entry wise according to:
[ M ] i , j = { 0 if [ g j ( i ) , Z j ] = 0 1 otherwise. (6) [M]_{i,j} =
\begin{cases}
0 & \text{if } [g_j(i), Z_j] = 0 \\
1 & \text{otherwise.}
\end{cases} \tag*{(6)} [ M ] i , j = { 0 1 if [ g j ( i ) , Z j ] = 0 otherwise. (6)
We call M M M a commutativity matrix of ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ if ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ possesses a generator matrix G G G such that M = M ( G ) M = M(G) M = M ( G ) . If M M M is a commutativity matrix of ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ and M ∗ M^{*} M ∗ is the reduced row echelon form of M M M then we call M ∗ M^{*} M ∗ the canonical commutativity matrix of ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ .
We note that M ( G ) M(G) M ( G ) does not depend on the phases of the generators g ( i ) g(i) g ( i ) and hence, M ( G ) M(G) M ( G ) is associated with a stabilizer basis. Since the choice of phases { a 1 , … , a n } ∈ { 0 , 1 } n \{a_1,\ldots,a_n\} \in\{0,1\}^n { a 1 , … , a n } ∈ { 0 , 1 } n correspond to different elements of the stabilizer basis, all elements in the basis have a simultaneous commutativity matrix. Different commutativity matrices can be associated with the same stabilizer basis and these are all related to each other by elementary row operations since these are associated with changing the generating set (modulo phases) of the stabilizer group (modulo phases).
Lemma 4. For ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ an n n n -qubit stabilizer state,
m ( ψ , S ( 200 ) ) = 2 − r , (7) m(\psi,\mathcal{S}_{(200)}) = 2^{-r}, \tag*{(7)} m ( ψ , S ( 200 ) ) = 2 − r , (7) where r : = rank M ( G ) r := \operatorname{rank} M(G) r := rank M ( G ) is the rank of a commutativity matrix of ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ .
Proof. Consider the generating set corresponding to M ∗ M^{*} M ∗ . Let us measure ∣ ψ ⟩ \lvert\psi\rangle ∣ ψ ⟩ , using the standard stabilizer state measurement procedure [29 ] . We will measure the qubits in the following order. First we will measure the qubit corresponding to the first leading 1 in M ∗ M^{*} M ∗ , then the second leading 1, and so on until we have measured r r r qubits. For each of these, exactly one distinct stabilizer anticommutes with the measured Pauli-Z operator, each stabilizer is killed and contributes a factor of 1 / 2 1/2 1/2 to the measurement outcome probability. The remaining qubits can now be measured but these all commute with the Pauli-Z measurements so no stabilizer will be killed and these measurements will have deterministic outcomes. So the outcome distribution is deterministic on n − r n-r n − r of the qubits and uniform on the rest and this gives our claim.
Hardness with a partial basis
The first of our hardness proofs is for the case where for some basis (X X X , Y Y Y , or Z Z Z ) only one projector is in our set – a partial basis.
Theorem 5. NSPS(a b c abc ab c ) is NP-complete for a b c ∈ { 110 , 111 , 210 , 211 , 221 } abc \in\{110,111,210,211,221\} ab c ∈ { 110 , 111 , 210 , 211 , 221 } . That is, whenever a a a , b b b , or c c c is 1 except 100, which is trivial (see § 4.1.1 ).
We pointed out earlier that the problems are clearly in NP by supplying the product state as a witness. It only remains to prove NP-hardness by reduction from an NP-complete problem. Here, we use the problem of maximizing the number of satisfied linear equations modulo 2, for which the special case of size-3 clauses (MAX-E3-LIN2) is known to be NP-complete by work of Håstad [21 ] .
Problem 6. Define the MAX-E3-LIN2 problem as follows. We are given a collection of variables x 1 , … , x n x_1,\ldots,x_n x 1 , … , x n , a threshold T ∈ N T \in\mathbb{N} T ∈ N , and a set of m m m size-3 linear clauses of the form
x a i ⊕ x b i ⊕ x c i = d i x_{a_i} \oplus x_{b_i} \oplus x_{c_i} = d_i x a i ⊕ x b i ⊕ x c i = d i where a i , b i , c i ∈ [ n ] a_i,b_i,c_i \in[n] a i , b i , c i ∈ [ n ] and d i ∈ F 2 d_i \in\mathbb{F}_2 d i ∈ F 2 . The goal is to decide whether any assignment to the variables satisfies at least T T T clauses.
Theorem 7 (Håstad [21 ] ). Max-E3-Lin2 is NP-complete. Moreover, if there is a polynomial-time c c c -approximation to the Max-E3-Lin2 optimization with constant c < 2 c < 2 c < 2 then P = N P \mathrm{P} = \mathrm{NP} P = NP .
We can now proceed to the main proof.
Proof of Theorem 5 . Suppose we are given a general linear system (not necessarily clauses of length 3), consisting of m m m clauses of the form
x i 1 ⊕ x i 2 ⊕ ⋯ ⊕ x i ℓ = b , x_{i_1} \oplus x_{i_2} \oplus\cdots\oplus x_{i_\ell} = b, x i 1 ⊕ x i 2 ⊕ ⋯ ⊕ x i ℓ = b ,
on n n n binary variables x 1 , … , x n x_1, \ldots, x_n x 1 , … , x n , and a threshold T ∈ N T \in\mathbb{N} T ∈ N . To prove our reduction, we need to convert these clauses to an instance of NSPS, with projectors S ( 110 ) S_{(110)} S ( 110 ) , S ( 111 ) S_{(111)} S ( 111 ) , S ( 210 ) S_{(210)} S ( 210 ) , S ( 211 ) S_{(211)} S ( 211 ) , or S ( 221 ) S_{(221)} S ( 221 ) . The property these sets have in common (and which will feature in the proof) is that ∣ 0 ⟩ ⟨ 0 ∣ \lvert0\rangle\langle0\rvert ∣ 0 ⟩ ⟨ 0 ∣ and ∣ + ⟩ ⟨ + ∣ \lvert+\rangle\langle+\rvert ∣ + ⟩ ⟨ + ∣ are members, but ∣ 1 ⟩ ⟨ 1 ∣ \lvert1\rangle\langle1\rvert ∣ 1 ⟩ ⟨ 1 ∣ is not. We construct an instance of NSPS to be robust to the presence or absence of the other projectors, ∣ − ⟩ ⟨ − ∣ \lvert-\rangle\langle-\rvert ∣ − ⟩ ⟨ − ∣ , ∣ + i ⟩ ⟨ + i ∣ \lvert+i\rangle\langle+i\rvert ∣ + i ⟩ ⟨ + i ∣ , and ∣ − i ⟩ ⟨ − i ∣ \lvert-i\rangle\langle-i\rvert ∣ − i ⟩ ⟨ − i ∣ .
We build an NSPS instance from this as follows (see Figure 1 for an example):
Figure 1. An illustration of the reduction for an instance with clauses x 1 ⊕ x 2 ⊕ x 4 = 1 x_1 \oplus x_2 \oplus x_4 = 1 x 1 ⊕ x 2 ⊕ x 4 = 1 , x 1 ⊕ x 3 ⊕ x 4 = 0 x_1 \oplus x_3 \oplus x_4 = 0 x 1 ⊕ x 3 ⊕ x 4 = 0 , and x 2 ⊕ x 3 ⊕ x 4 = 1 x_2 \oplus x_3 \oplus x_4 = 1 x 2 ⊕ x 3 ⊕ x 4 = 1 .
∣ χ k i ⟩ = ∣ 0 k i 1 k i ⟩ + ∣ 1 k i 0 k i ⟩ 2 , \lvert\chi_{k_i}\rangle= \frac{\lvert0^{k_i}1^{k_i}\rangle+ \lvert1^{k_i}0^{k_i}\rangle}{\sqrt{2}}, ∣ χ k i ⟩ = 2 ∣ 0 k i 1 k i ⟩ + ∣ 1 k i 0 k i ⟩ ,
where k i ∈ N k_i \in\mathbb{N} k i ∈ N is to be determined later. We need k i k_i k i to be at least the number of occurrences of x i x_i x i , so there is a qubit for each occurrence in just the first half of the state.
∣ χ ⟩ : = ⨂ i ∣ χ k i ⟩ . |\chi\rangle:= \bigotimes_i |\chi_{k_i}\rangle. ∣ χ ⟩ := i ⨂ ∣ χ k i ⟩ .
If the p p p th occurrence of variable x i x_i x i is in clause j j j , then we add a CNOT gate controlled by qubit p p p of register V i V_i V i , and targeting the qubit in C j C_j C j . Call the product of these CNOTs U U U , a unitary that implements
U ∣ x ⟩ ∣ y ⟩ = ∣ x ⟩ ∣ L x ⊕ y ⟩ U|x\rangle|y\rangle= |x\rangle|Lx \oplus y\rangle U ∣ x ⟩ ∣ y ⟩ = ∣ x ⟩ ∣ Lx ⊕ y ⟩
on the variable and clause qubits, where L ∈ F m × 2 ∑ i k i L \in\mathbb{F}^{m \times2\sum_i k_i} L ∈ F m × 2 ∑ i k i is some linear transformation.
The initial states are stabilizer states and the circuit is Clifford, so the resulting state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ is a stabilizer state. We claim that the nearest product state has fidelity
F = 2 − ∑ i k i + t − m − n , (8) F = 2^{-\sum_i k_i+t-m-n}, \tag*{(8)} F = 2 − ∑ i k i + t − m − n , (8)
where t t t is the maximum number of clauses that can be satisfied in the MAX-E3-LIN2 instance. We will show there is a simple strategy that can achieve at least fidelity F F F , but first we show you cannot do better.
Suppose some instance (with the minimum number of variables) has fidelity exceeding F F F . If the nearest stabilizer product state for this instance projects onto ∣ 0 ⟩ ⟨ 0 ∣ |0\rangle\langle0| ∣0 ⟩ ⟨ 0∣ on any variable qubit (say, in V i V_i V i ) then that projector commutes through the control of the CNOT gate and acts on a qubit of ∣ χ k i ⟩ |\chi_{k_i}\rangle ∣ χ k i ⟩ . This collapses the state to ∣ 0 k i 1 k i ⟩ |0^{k_i}1^{k_i}\rangle ∣ 0 k i 1 k i ⟩ or ∣ 1 k i 0 k i ⟩ |1^{k_i}0^{k_i}\rangle ∣ 1 k i 0 k i ⟩ depending on where the projector is.
Since the initial state of V i V_i V i is now effectively a classical basis state, the CNOT gates controlled on these qubits do not create entanglement with the rest of the system. The NSPS is therefore a product of the NSPS for V i V_i V i , and the NSPS for the rest of the system. The best NSPS for a classical basis state is clear: take ∣ 0 ⟩ ⟨ 0 ∣ |0\rangle\langle0| ∣0 ⟩ ⟨ 0∣ on ∣ 0 ⟩ |0\rangle ∣0 ⟩ qubits and ∣ + ⟩ ⟨ + ∣ |+\rangle\langle+| ∣ + ⟩ ⟨ + ∣ on ∣ 1 ⟩ |1\rangle ∣1 ⟩ qubits, and thus the fidelity is 2 − w 2^{-w} 2 − w where w w w is the Hamming weight. Since both branches of ∣ χ k i ⟩ |\chi_{k_i}\rangle ∣ χ k i ⟩ have Hamming weight k i k_i k i , the fidelity is 2 − k i − 1 2^{-k_i-1} 2 − k i − 1 , where the − 1 -1 − 1 accounts for the original ∣ 0 ⟩ ⟨ 0 ∣ |0\rangle\langle0| ∣0 ⟩ ⟨ 0∣ projector that collapsed the state.
Moreover, CNOT gates from V i V_i V i affect the clause gadgets exactly as if x i x_i x i was assigned 0 (if V i V_i V i is in state ∣ 0 k i 1 k i ⟩ |0^{k_i}1^{k_i}\rangle ∣ 0 k i 1 k i ⟩ ) or 1 (if V i V_i V i is in state ∣ 1 k i 0 k i ⟩ |1^{k_i}0^{k_i}\rangle ∣ 1 k i 0 k i ⟩ ). Thus, projecting any qubit of V i V_i V i onto ∣ 0 ⟩ ⟨ 0 ∣ |0\rangle\langle0| ∣0 ⟩ ⟨ 0∣ effectively makes an assignment for x i x_i x i , pays a penalty of 2 − k i − 1 2^{-k_i-1} 2 − k i − 1 to the fidelity, and reduces to the circuit for a smaller linear system instance (without those variable qubits). It is not hard to see that the fidelity of the full linear system meets the claim if and only if the reduced system meets its respective fidelity claim.
Notice that if you follow this strategy through with an assignment of all variables, you are left with only clause qubits and, furthermore, each clause is in state ∣ 0 ⟩ |0\rangle ∣0 ⟩ if the clause is satisfied and ∣ 1 ⟩ |1\rangle ∣1 ⟩ if it is unsatisfied. The NSPS for the clause qubits is a function of the Hamming weight again, so the fidelity is 2 t − m 2^{t-m} 2 t − m where t t t is the number of satisfied clauses. This shows that the claimed fidelity F = 2 − ∑ i k i + t − m − n F = 2^{-\sum_i k_i+t-m-n} F = 2 − ∑ i k i + t − m − n can be achieved with what we’ll call the intended strategy .
It follows that our minimal counterexample NSPS must deviate from the intended strategy. In fact, it must project all qubits of all variable registers onto X X X - and/or Y Y Y -basis states, otherwise we could reduce to a smaller counterexample. There is a quick calculation that can bound this case. for us. The square root of the fidelity is as follows:
F ′ = ∣ ⟨ ϕ ∣ ⟨ c ∣ U ∣ χ ⟩ ∣ b ⟩ ∣ ≤ ∑ x ∣ ( ⟨ ϕ ∣ ⟨ c ∣ U ∣ x ⟩ ∣ b ⟩ ) ⟨ x ∣ χ ⟩ ∣ = ∑ x ∣ ⟨ ϕ ∣ x ⟩ ⟨ c ∣ L x ⊕ b ⟩ ⟨ x ∣ χ ⟩ ∣ ≤ 2 − ∑ i k i ⋅ 2 − n / 2 ⋅ 2 n = 2 n / 2 − ∑ i k i , \sqrt{F'} = \left|\langle\phi|\langle c|U|\chi\rangle|b\rangle\right| \le\sum_x \left|\left(\langle\phi|\langle c|U|x\rangle|b\rangle\right)\langle x|\chi\rangle\right|
= \sum_x \left|\langle\phi|x\rangle\langle c|Lx \oplus b\rangle\langle x|\chi\rangle\right|
\le2^{-\sum_i k_i}\cdot2^{-n/2}\cdot2^n
=2^{n/2-\sum_i k_i}, F ′ = ∣ ⟨ ϕ ∣ ⟨ c ∣ U ∣ χ ⟩ ∣ b ⟩ ∣ ≤ x ∑ ∣ ( ⟨ ϕ ∣ ⟨ c ∣ U ∣ x ⟩ ∣ b ⟩ ) ⟨ x ∣ χ ⟩ ∣ = x ∑ ∣ ⟨ ϕ ∣ x ⟩ ⟨ c ∣ Lx ⊕ b ⟩ ⟨ x ∣ χ ⟩ ∣ ≤ 2 − ∑ i k i ⋅ 2 − n /2 ⋅ 2 n = 2 n /2 − ∑ i k i ,
where x x x is a binary string of length 2 ∑ i k i 2\sum_i k_i 2 ∑ i k i , to match the length of ∣ χ ⟩ |\chi\rangle ∣ χ ⟩ . The final inequality comes from three facts:
∣ ⟨ c ∣ L x ⊕ b ⟩ ∣ ≤ 1 |\langle c|Lx\oplus b\rangle|\le1 ∣ ⟨ c ∣ Lx ⊕ b ⟩ ∣ ≤ 1 , with equality iff x x x corresponds to a satisfying assignment.
⟨ x ∣ χ ⟩ \langle x|\chi\rangle ⟨ x ∣ χ ⟩ is 0 for all but 2 n 2^n 2 n cases, corresponding to the assignments of the variables. When it is not zero, we have ∣ ⟨ x ∣ χ ⟩ ∣ = 2 − n / 2 |\langle x|\chi\rangle|=2^{-n/2} ∣ ⟨ x ∣ χ ⟩ ∣ = 2 − n /2 .
∣ ⟨ ϕ ∣ x ⟩ ∣ = 2 − ∑ i k i |\langle\phi|x\rangle|=2^{-\sum_i k_i} ∣ ⟨ ϕ ∣ x ⟩ ∣ = 2 − ∑ i k i , since we are measuring a length-2 ∑ i k i 2\sum_i k_i 2 ∑ i k i classical basis string in the X- or Y-basis.
After squaring, we conclude that the fidelity of anything outside the intended strategy is at most
F ′ ≤ 2 n − ∑ i 2 k i . F' \le2^{n-\sum_i 2k_i}. F ′ ≤ 2 n − ∑ i 2 k i .
As long as F ′ ≤ F F'\le F F ′ ≤ F , the intended strategy gives the optimal NSPS, which we have already showed relates to the optimal solution of the linear system.
F ′ ≤ 2 n − 2 ∑ i k i ≤ F F' \le2^{n-2\sum_i k_i}\le F F ′ ≤ 2 n − 2 ∑ i k i ≤ F
2 n − 2 ∑ i k i ≤ 2 − ∑ i k i + t − m − n 2^{n-2\sum_i k_i}\le2^{-\sum_i k_i+t-m-n} 2 n − 2 ∑ i k i ≤ 2 − ∑ i k i + t − m − n
n − 2 ∑ i k i ≤ − ∑ i k i + t − m − n n-2\sum_i k_i\le-\sum_i k_i+t-m-n n − 2 i ∑ k i ≤ − i ∑ k i + t − m − n
2 n + m − t ≤ ∑ i k i . 2n+m-t\le\sum_i k_i. 2 n + m − t ≤ i ∑ k i .
We have freedom to pick the k i k_i k i 's to make this inequality hold. For example, we can take k i k_i k i to be two plus the number of occurrences occ ( x i ) \operatorname{occ}(x_i) occ ( x i ) , of variable x i x_i x i , so that
∑ i k i ≥ ∑ i ( 2 + occ ( x i ) ) = 2 n + ∑ i occ ( x i ) ≥ 2 n + m , \sum_i k_i\ge\sum_i(2+\operatorname{occ}(x_i))=2n+\sum_i\operatorname{occ}(x_i)\ge2n+m, i ∑ k i ≥ i ∑ ( 2 + occ ( x i )) = 2 n + i ∑ occ ( x i ) ≥ 2 n + m ,
since some variable occurs in every clause. This finishes the proof.
Hardness with full bases
Theorem 8. NSPS(220) and NSPS(222) are NP-complete.
We group NSPS(220) and NSPS(222) together because their associated hardness proofs follow a nearly identical outline. In each case, we will use their solutions to solve the max independent set size problem for graphs. That is, given a graph G G G , our reduction will produce a graph state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ such that the solution to NSPS for the state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ allows us to compute α ( G ) \alpha(G) α ( G ) , the independence number of G G G . Somewhat surprisingly, this construction (which is given in § 4.3.1 ) produces
identical graph states for both the NSPS(220) and NSPS(222) problems. In fact, we will treat the NP-hardness proof of NSPS(220) as a warm up to the hardness proof for NSPS(222) since the latter problem must consider strictly more measurement bases.
Since our construction produces a graph state, it is worth taking some time to phrase NSPS(220) and NSPS(222) in more graph-theoretic language. To do this, let us first set some terminology. Let G = ( V , E ) G = (V, E) G = ( V , E ) be a simple graph. For any subset W ⊆ V W \subseteq V W ⊆ V , we use G [ W ] G[W] G [ W ] for the induced subgraph on the vertices W W W . We will use the graph and its adjacency matrix interchangeably, so that, e.g., rank ( G ) \operatorname{rank}(G) rank ( G ) is the rank of the adjacency matrix (over F 2 \mathbb{F}_2 F 2 ). Define the nullity of G G G as η ( G ) : = ∣ V ∣ − rank ( G ) \eta(G) := |V| - \operatorname{rank}(G) η ( G ) := ∣ V ∣ − rank ( G ) .
Lemma 9. Let ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ be the graph state of G = ( V , E ) G = (V, E) G = ( V , E ) . Then
− log 2 m ( ψ , S ( 220 ) ) = ∣ V ∣ − max W ⊆ V η ( G [ W ] ) (9) -\log_2 m(\psi, \mathcal{S}_{(220)}) = |V| - \max_{W \subseteq V} \eta(G[W]) \tag*{(9)} − log 2 m ( ψ , S ( 220 ) ) = ∣ V ∣ − W ⊆ V max η ( G [ W ]) (9) − log 2 m ( ψ , S ( 222 ) ) = ∣ V ∣ − max W ⊆ V , D ∈ diag ( ∣ W ∣ ) η ( G [ W ] + D ) (10) -\log_2 m(\psi, \mathcal{S}_{(222)}) = |V| - \max_{W \subseteq V,\ D \in\operatorname{diag}(|W|)} \eta(G[W] + D) \tag*{(10)} − log 2 m ( ψ , S ( 222 ) ) = ∣ V ∣ − W ⊆ V , D ∈ diag ( ∣ W ∣ ) max η ( G [ W ] + D ) (10) where diag ( m ) \operatorname{diag}(m) diag ( m ) is the set of diagonal m × m m \times m m × m matrices over F 2 \mathbb{F}_2 F 2 .
In other words, solutions to the NSPS(220) and NSPS(222) problems correspond to solutions to nullity maximization problems over graphs. For NSPS(220), we want to maximize the nullity of an induced subgraph of G G G . For NSPS(222), we want to maximize the nullity of an induced subgraph of G G G where we additionally are allowed to add entries along the diagonal of the adjacency matrix.
Proof of Lemma 9. The proof is a straightforward interpretation of the Gottesman–Knill algorithm on the stabilizer tableau of a graph state. We adopt the notation [ C ∣ D ] [C \mid D] [ C ∣ D ] to refer to the Pauli generators of some stabilizer state with X X X -components given by the matrix C C C and Z Z Z -components given by the matrix D D D (as in Aaronson–Gottesman [2 ] ). Given a graph state with adjacency matrix A A A , it is well-known that its stabilizer generators have tableau [ I ∣ A ] [I \mid A] [ I ∣ A ] , where I I I is the identity matrix.
From Lemma 4 , we know how to maximize the measurement probability when all qubits are measured in the Pauli-Z Z Z basis. To measure a qubit in the X X X basis (or Y Y Y basis), we can first apply a Hadamard gate (or a phase gate followed by a Hadamard gate) to the qubit, then measure in the Pauli-Z Z Z basis. Let us consider how the X X X -component of the tableau is modified under these operations:
Pauli-Z Z Z measurement of j th j^{\text{th}} j th qubit: the j th j^{\text{th}} j th column remains unchanged and corresponds to the standard basis column vector col j ( I ) = e j \operatorname{col}_j(I) = e_j col j ( I ) = e j ;
Pauli-X X X measurement of j th j^{\text{th}} j th qubit: the j th j^{\text{th}} j th column of C C C and D D D are swapped resulting in j th j^{\text{th}} j th column of the adjacency matrix col j ( A ) = : a j \operatorname{col}_j(A) =: a_j col j ( A ) =: a j ;
Pauli-Y Y Y measurement of j th j^{\text{th}} j th qubit: the j th j^{\text{th}} j th column of C C C and D D D are added resulting in a j + e j a_j + e_j a j + e j .
Hence, the maximization of the fidelity over S ( 220 ) \mathcal{S}_{(220)} S ( 220 ) is equivalent to the minimization of the rank of the n × n n \times n n × n matrix constructed by choosing either column e j e_j e j or a j a_j a j for each j ∈ [ n ] j \in[n] j ∈ [ n ] . Similarly, the maximization of the fidelity over S ( 222 ) \mathcal{S}_{(222)} S ( 222 ) is equivalent to the minimization of the rank of the n × n n \times n n × n matrix constructed by choosing column e j e_j e j or a j a_j a j or a j + e j a_j + e_j a j + e j for each j ∈ [ n ] j \in[n] j ∈ [ n ] .
Let the sets F ⊆ W ⊆ [ n ] F \subseteq W \subseteq[n] F ⊆ W ⊆ [ n ] denote our choices of measurement basis as follows. Let W W W be the set of qubits that we measured in either the X X X or Y Y Y basis, and let F F F be the subset of W W W for the qubits that we measured in the Y Y Y basis. The S ( 220 ) \mathcal{S}_{(220)} S ( 220 ) setting corresponds to a rank minimization over W W W subject to F = ∅ F = \varnothing F = ∅ while the S ( 222 ) \mathcal{S}_{(222)} S ( 222 ) setting corresponds to a rank minimization over both F F F and W W W .
Let us now consider the form of the X-component of the final tableau (prior to Z Z Z basis measurement) for a given choice of F F F and W W W . Since the rank of a matrix is invariant under the permutation of its rows and columns, we can apply such permutations to collect all the 1’s associated with qubits in W c : = [ n ] ∖ W W^{c}:=[n]\setminus W W c := [ n ] ∖ W (i.e., the qubits measured in the Pauli-Z Z Z basis) to the top left of the matrix. This results in a final matrix of the form:
C ( F , W ) : = [ I J 0 A [ W ] + D ( F ) ] (11) C(F,W):=
\begin{bmatrix}
I & J\\
0 & A[W]+D(F)
\end{bmatrix} \tag*{(11)} C ( F , W ) := [ I 0 J A [ W ] + D ( F ) ] (11)
where I I I is an identity matrix of size ∣ W c ∣ = n − ∣ W ∣ |W^{c}|=n-|W| ∣ W c ∣ = n − ∣ W ∣ , A [ W ] A[W] A [ W ] is the principal submatrix of A A A where rows and columns in W c W^{c} W c are deleted, D ( F ) D(F) D ( F ) is a diagonal matrix of size ∣ W ∣ |W| ∣ W ∣ with the diagonal entries in D ( F ) D(F) D ( F ) set to 1 if the associated qubit is in F F F and otherwise set to 0. The matrix J J J is unimportant for this proof but is associated with edges of G G G between a qubit in W W W and a qubit in W c W^{c} W c .
Hence:
− log 2 m ( ψ , S ( 222 ) ) = min F ⊆ W ⊆ [ n ] rank C ( F , W ) (12) -\log_{2}m(\psi,\mathcal{S}_{(222)})=
\min_{F\subseteq W\subseteq[n]}\operatorname{rank}C(F,W) \tag*{(12)} − log 2 m ( ψ , S ( 222 ) ) = F ⊆ W ⊆ [ n ] min rank C ( F , W ) (12)
= min F ⊆ W ⊆ [ n ] ( ∣ W c ∣ + rank [ A [ W ] + D ( F ) ] ) (13) =\min_{F\subseteq W\subseteq[n]}\left(|W^{c}|+\operatorname{rank}\left[A[W]+D(F)\right]\right) \tag*{(13)} = F ⊆ W ⊆ [ n ] min ( ∣ W c ∣ + rank [ A [ W ] + D ( F ) ] ) (13)
= min F ⊆ W ⊆ [ n ] ( n − ∣ W ∣ + rank [ A [ W ] + D ( F ) ] ) (14) =\min_{F\subseteq W\subseteq[n]}\left(n-|W|+\operatorname{rank}\left[A[W]+D(F)\right]\right) \tag*{(14)} = F ⊆ W ⊆ [ n ] min ( n − ∣ W ∣ + rank [ A [ W ] + D ( F ) ] ) (14)
= n + min F ⊆ W ⊆ [ n ] − η ( A [ W ] + D ( F ) ) (15) =n+\min_{F\subseteq W\subseteq[n]}-\eta\left(A[W]+D(F)\right) \tag*{(15)} = n + F ⊆ W ⊆ [ n ] min − η ( A [ W ] + D ( F ) ) (15)
= n − max F ⊆ W ⊆ [ n ] η ( A [ W ] + D ( F ) ) . (16) =n-\max_{F\subseteq W\subseteq[n]}\eta\left(A[W]+D(F)\right). \tag*{(16)} = n − F ⊆ W ⊆ [ n ] max η ( A [ W ] + D ( F ) ) . (16)
The Equation (10) claim is immediate. From this, we also attain the Equation (9) claim by enforcing F = ∅ F=\varnothing F = ∅ (disallowing Y Y Y measurements).
The graph construction
We will use the same reduction for each problem from independent set.
Let G = ( V , E ) G=(V,E) G = ( V , E ) be a simple graph. We will construct a new graph H H H by replacing each edge e = ( u , v ) ∈ E e=(u,v)\in E e = ( u , v ) ∈ E with a path of length 3. That is, for each edge e ∈ E e\in E e ∈ E , we introduce two internal vertices p e p_e p e and q e q_e q e , replacing e e e with the edges ( u , p e ) (u,p_e) ( u , p e ) , ( p e , q e ) (p_e,q_e) ( p e , q e ) , and ( q e , v ) (q_e,v) ( q e , v ) :
Figure 4.
Let P = { p e : e ∈ E } ∪ { q e : e ∈ E } P=\{p_e:e\in E\}\cup\{q_e:e\in E\} P = { p e : e ∈ E } ∪ { q e : e ∈ E } be the set of these extra path vertices. That is, the vertex set of H H H is V ( H ) = V ∪ P V(H)=V\cup P V ( H ) = V ∪ P .
Lemma 10.
max W ⊆ V ( H ) η ( H [ W ] ) = max W ⊆ V ( H ) , D ∈ diag ( ∣ W ∣ ) η ( H [ W ] + D ) = α ( G ) + ∣ E ∣ . \max_{W\subseteq V(H)}\eta(H[W])=
\max_{\substack{W\subseteq V(H),\\D\in\operatorname{diag}(|W|)}}\eta(H[W]+D)=\alpha(G)+|E|. W ⊆ V ( H ) max η ( H [ W ]) = W ⊆ V ( H ) , D ∈ diag ( ∣ W ∣ ) max η ( H [ W ] + D ) = α ( G ) + ∣ E ∣. We show that the maximum is achieved by choosing W W W such that:
W ∖ V W \setminus V W ∖ V contains exactly one vertex from each pair ( p e , q e ) (p_e, q_e) ( p e , q e ) for all e ∈ E e \in E e ∈ E subject to the constraint that no vertex from W ∩ V W \cap V W ∩ V is adjacent to a vertex from W ∖ V W \setminus V W ∖ V .
This is always possible since the independent set requirement ensures that no edge in E E E has both endpoints in W ∩ V W \cap V W ∩ V . By construction, this choice of W W W is an independent set of H H H of size α ( G ) + ∣ E ∣ \alpha(G) + |E| α ( G ) + ∣ E ∣ . We proceed by first showing that α ( G ) + ∣ E ∣ \alpha(G) + |E| α ( G ) + ∣ E ∣ lower bounds the maximization above since the above choice of W W W achieves this nullity. Then, we conclude by showing that all choices of W W W must result in a nullity that is at most α ( G ) + ∣ E ∣ \alpha(G) + |E| α ( G ) + ∣ E ∣ .
The lower bound in each case is immediate. Since the adjacency matrix of an independent set is the all-zeros matrix, the nullity is equal to the dimension, i.e., ∣ W ∣ = α ( G ) + ∣ E ∣ |W| = \alpha(G) + |E| ∣ W ∣ = α ( G ) + ∣ E ∣ .
NSPS(220)
We must show that η ( H [ W ] ) ≤ α ( G ) + ∣ E ∣ \eta(H[W]) \le\alpha(G) + |E| η ( H [ W ]) ≤ α ( G ) + ∣ E ∣ for any induced subgraph H [ W ] H[W] H [ W ] . We start by partitioning the edges of G G G into three sets based on their internal vertices in W W W : for each i ∈ { 0 , 1 , 2 } i \in\{0, 1, 2\} i ∈ { 0 , 1 , 2 } ,
E i = { e ∈ E : ∣ { p e , q e } ∩ W ∣ = i } E_i = \{e \in E : |\{p_e, q_e\} \cap W| = i\} E i = { e ∈ E : ∣ { p e , q e } ∩ W ∣ = i }
Let W G = W ∩ V W_G = W \cap V W G = W ∩ V be the vertices in H [ W ] H[W] H [ W ] that are also in G G G . Using these definitions, we get that the total number of vertices in H [ W ] H[W] H [ W ] is ∣ W ∣ = ∣ W G ∣ + ∣ E 1 ∣ + 2 ∣ E 2 ∣ |W| = |W_G| + |E_1| + 2|E_2| ∣ W ∣ = ∣ W G ∣ + ∣ E 1 ∣ + 2∣ E 2 ∣ .
Much of the analysis follows by a sequence of row/column reductions on the adjacency matrix for H [ W ] H[W] H [ W ] , so let us pick an order for the vertices W W W :
The vertices in W G W_G W G , followed by
The internal vertices from E 1 E_1 E 1 , followed by
The internal vertices from E 2 E_2 E 2 with adjacent vertices next to each other
In other words, the adjacency matrix of H [ W ] H[W] H [ W ] takes the block form:
( 0 B C B T 0 0 C T 0 D ) \begin{pmatrix}
0 & B & C \\
B^T & 0 & 0 \\
C^T & 0 & D
\end{pmatrix} 0 B T C T B 0 0 C 0 D
where B B B and C C C are arbitrary, and D D D is a 2 ∣ E 2 ∣ × 2 ∣ E 2 ∣ 2|E_2| \times2|E_2| 2∣ E 2 ∣ × 2∣ E 2 ∣ block matrix with blocks ( 0 1 1 0 ) \begin{pmatrix}0 & 1 \\ 1 & 0\end{pmatrix} ( 0 1 1 0 ) along the diagonal reflecting the edges between neighboring vertices of E 2 E_2 E 2 . The other zero submatrices appear because V V V is an independent set in H H H and the vertices of E 1 E_1 E 1 are isolated from each other.
Importantly, the matrix D D D is invertible (and, in fact, involutory D 2 = I D^2 = I D 2 = I ), so we can reduce the matrix into two principal submatrices through some simple row/column reductions:
( I 0 C D 0 I 0 0 0 I ) ( 0 B C B T 0 0 C T 0 D ) ( I 0 0 0 I 0 D C T 0 I ) = ( C D C T B 0 B T 0 0 0 0 D ) \begin{pmatrix}
I & 0 & CD \\
0 & I & 0 \\
0 & 0 & I
\end{pmatrix}
\begin{pmatrix}
0 & B & C \\
B^T & 0 & 0 \\
C^T & 0 & D
\end{pmatrix}
\begin{pmatrix}
I & 0 & 0 \\
0 & I & 0 \\
DC^T & 0 & I
\end{pmatrix}
=
\begin{pmatrix}
CDC^T & B & 0 \\
B^T & 0 & 0 \\
0 & 0 & D
\end{pmatrix} I 0 0 0 I 0 C D 0 I 0 B T C T B 0 0 C 0 D I 0 D C T 0 I 0 0 0 I = C D C T B T 0 B 0 0 0 0 D
In other words, we can compute the rank of the adjacency matrix of the induced graph H [ W ] H[W] H [ W ] as the sum of the ranks of the two principal submatrices:
rank ( H [ W ] ) = rank ( C D C T B B T 0 ) + rank D = rank ( C D C T B B T 0 ) + 2 ∣ E 2 ∣ ≥ 2 rank ( B ) + 2 ∣ E 2 ∣ . \operatorname{rank}(H[W]) = \operatorname{rank}\begin{pmatrix} CDC^T & B \\ B^T & 0 \end{pmatrix} + \operatorname{rank} D = \operatorname{rank}\begin{pmatrix} CDC^T & B \\ B^T & 0 \end{pmatrix} + 2|E_2| \ge2\operatorname{rank}(B) + 2|E_2|. rank ( H [ W ]) = rank ( C D C T B T B 0 ) + rank D = rank ( C D C T B T B 0 ) + 2∣ E 2 ∣ ≥ 2 rank ( B ) + 2∣ E 2 ∣.
Interestingly, C D C T CDC^T C D C T is the adjacency matrix of a subgraph of G G G with vertex set W G W_G W G and edge set E 2 E_2 E 2 . This may give some intuition for the construction since choosing two neighboring internal vertices in E 2 E_2 E 2 (which, by definition, will not be part of an independent set) will recreate the corresponding edge of G G G in C D C T CDCT C D C T , which affects the rank. That said, we will not actually need or use this interpretation.
Our rank calculation gives a straightforward bound on the nullity of H [ W ] H[W] H [ W ] :
η ( H [ W ] ) = ∣ W ∣ − rank ( H [ W ] ) ≤ ( ∣ W G ∣ + ∣ E 1 ∣ + 2 ∣ E 2 ∣ ) − ( 2 rank ( B ) + 2 ∣ E 2 ∣ ) \eta(H[W]) = |W| - \operatorname{rank}(H[W]) \leq(|W_G| + |E_1| + 2|E_2|) - (2\operatorname{rank}(B) + 2|E_2|) η ( H [ W ]) = ∣ W ∣ − rank ( H [ W ]) ≤ ( ∣ W G ∣ + ∣ E 1 ∣ + 2∣ E 2 ∣ ) − ( 2 rank ( B ) + 2∣ E 2 ∣ )
simplifying to
η ( H [ W ] ) ≤ ∣ W G ∣ + ∣ E 1 ∣ − 2 rank ( B ) . \eta(H[W]) \leq|W_G| + |E_1| - 2\operatorname{rank}(B). η ( H [ W ]) ≤ ∣ W G ∣ + ∣ E 1 ∣ − 2 rank ( B ) .
Recall that the matrix B B B has ∣ E 1 ∣ |E_1| ∣ E 1 ∣ columns, where each column corresponds to a single internal vertex from an edge in E 1 E_1 E 1 . Since this internal vertex connects to exactly one endpoint v ∈ V v \in V v ∈ V , its column is either the standard basis vector (if v ∈ W G v \in W_G v ∈ W G ) or the zero vector (if v ∉ W G v \notin W_G v ∈ / W G ). Therefore, the rank of B B B is exactly the number of distinct basis vectors it contains. Let U ⊆ W G U \subseteq W_G U ⊆ W G be this set of distinct vertices, so rank ( B ) = ∣ U ∣ \operatorname{rank}(B) = |U| rank ( B ) = ∣ U ∣ . Ultimately, we will show that the nullity is maximized when U = ∅ U = \varnothing U = ∅ , reflecting the fact that an independent set is the best choice.
To that end, let’s substitute ∣ W G ∣ = ∣ W G ∖ U ∣ + ∣ U ∣ |W_G| = |W_G \setminus U| + |U| ∣ W G ∣ = ∣ W G ∖ U ∣ + ∣ U ∣ into our bound for the nullity:
η ( H [ W ] ) ≤ ( ∣ W G ∖ U ∣ + ∣ U ∣ ) + ∣ E 1 ∣ − 2 ∣ U ∣ = ∣ W G ∖ U ∣ + ∣ E 1 ∣ − ∣ U ∣ \eta(H[W]) \leq(|W_G \setminus U| + |U|) + |E_1| - 2|U| = |W_G \setminus U| + |E_1| - |U| η ( H [ W ]) ≤ ( ∣ W G ∖ U ∣ + ∣ U ∣ ) + ∣ E 1 ∣ − 2∣ U ∣ = ∣ W G ∖ U ∣ + ∣ E 1 ∣ − ∣ U ∣
and so, our goal is to now bound the size of W G ∖ U W_G \setminus U W G ∖ U . Our plan will be to use Gallai’s lemma to relate the size W G ∖ U W_G \setminus U W G ∖ U to the size of its largest independent set. In particular, for the induced subgraph G [ W G ∖ U ] G[W_G \setminus U] G [ W G ∖ U ] , the sum of its independence number α ( W G ∖ U ) \alpha(W_G \setminus U) α ( W G ∖ U ) and its vertex cover number τ ( W G ∖ U ) \tau(W_G \setminus U) τ ( W G ∖ U ) equals its vertex count:
∣ W G ∖ U ∣ = α ( W G ∖ U ) + τ ( W G ∖ U ) . |W_G \setminus U| = \alpha(W_G \setminus U) + \tau(W_G \setminus U). ∣ W G ∖ U ∣ = α ( W G ∖ U ) + τ ( W G ∖ U ) .
Clearly, the max independent set size of an induced subgraph is at most the max independent set of the full graph: α ( W G ∖ U ) ≤ α ( G ) \alpha(W_G \setminus U) \leq\alpha(G) α ( W G ∖ U ) ≤ α ( G ) (which, recall, is part of the target bound on the nullity). To bound the size of the minimum vertex cover, we will use a standard trick—the size of the minimum vertex cover is at most the number of edges since we can choose one vertex of each edge to be part of the cover. This immediately gives the bound τ ( W G ∖ U ) ≤ ∣ E ( W G ∖ U ) ∣ ≤ ∣ E ∣ \tau(W_G \setminus U) \leq|E(W_G \setminus U)| \leq|E| τ ( W G ∖ U ) ≤ ∣ E ( W G ∖ U ) ∣ ≤ ∣ E ∣ .
Unfortunately, this bound isn’t quite tight enough for our needs. Thankfully, we can get a tighter bound using the fact that U U U contains all those vertices of W G W_G W G that are adjacent to an internal vertex from E 1 E_1 E 1 . Consequently, it is impossible for an edge in E 1 E_1 E 1 to have both of its endpoints in W G ∖ U W_G \setminus U W G ∖ U (since the endpoint adjacent to the internal vertex is either in U U U or not in W G W_G W G ). It follows that:
∣ E ( W G ∖ U ) ∣ ≤ ∣ E ∣ − ∣ E 1 ∣ |E(W_G \setminus U)| \leq|E| - |E_1| ∣ E ( W G ∖ U ) ∣ ≤ ∣ E ∣ − ∣ E 1 ∣
Plugging back into Gallai’s lemma, we get
∣ W G ∖ U ∣ = α ( W G ∖ U ) + τ ( W G ∖ U ) ≤ α ( G ) + ∣ E ∣ − ∣ E 1 ∣ |W_G \setminus U| = \alpha(W_G \setminus U) + \tau(W_G \setminus U) \leq\alpha(G) + |E| - |E_1| ∣ W G ∖ U ∣ = α ( W G ∖ U ) + τ ( W G ∖ U ) ≤ α ( G ) + ∣ E ∣ − ∣ E 1 ∣
and, substituting into our bound for the nullity yields
η ( H [ W ] ) ≤ ( α ( G ) + ∣ E ∣ − ∣ E 1 ∣ ) + ∣ E 1 ∣ − ∣ U ∣ = α ( G ) + ∣ E ∣ − ∣ U ∣ ≤ α ( G ) + ∣ E ∣ \eta(H[W]) \leq(\alpha(G) + |E| - |E_1|) + |E_1| - |U| = \alpha(G) + |E| - |U| \leq\alpha(G) + |E| η ( H [ W ]) ≤ ( α ( G ) + ∣ E ∣ − ∣ E 1 ∣ ) + ∣ E 1 ∣ − ∣ U ∣ = α ( G ) + ∣ E ∣ − ∣ U ∣ ≤ α ( G ) + ∣ E ∣
which concludes the proof.
NSPS(222)
As stated previously, the reduction for NSPS(222) is identical. However, the analysis is more involved. If not otherwise stated, we adopt all of the same notation from that proof. Adopting the same ordering on the vertices, we now seek to understand the rank of the matrix
A : = H [ W ] + Diag = ( 0 B C B T 0 0 C T 0 D ) + Diag A := H[W] + \operatorname{Diag} =
\begin{pmatrix}
0 & B & C \\
B^{T} & 0 & 0 \\
C^{T} & 0 & D
\end{pmatrix}
+ \operatorname{Diag} A := H [ W ] + Diag = 0 B T C T B 0 0 C 0 D + Diag
where Diag is an arbitrary diagonal matrix. The extra diagonal matrix will require us to subdivide the vertices in E 1 E_1 E 1 and E 2 E_2 E 2 by the values along the diagonal. For each internal vertex from E 1 E_1 E 1 , there is only one binary choice—either there is a 1 along the diagonal or there is not. For each pair of internal vertices in E 2 E_2 E 2 , there are now 4 possible principal submatrices
Non-invertible: ( 1 1 1 1 ) \begin{pmatrix}1 & 1 \\ 1 & 1\end{pmatrix} ( 1 1 1 1 )
Invertible: ( 0 1 1 0 ) \begin{pmatrix}0 & 1 \\ 1 & 0\end{pmatrix} ( 0 1 1 0 ) , ( 1 1 1 0 ) \begin{pmatrix}1 & 1 \\ 1 & 0\end{pmatrix} ( 1 1 1 0 ) , ( 0 1 1 1 ) \begin{pmatrix}0 & 1 \\ 1 & 1\end{pmatrix} ( 0 1 1 1 )
For i = 1 , 2 i = 1,2 i = 1 , 2 , we define the singular edges S i ⊆ E i S_i \subseteq E_i S i ⊆ E i to be the edges in E i E_i E i that have non-invertible blocks on the diagonal. The vertices are now ordered starting with W G W_G W G followed by the internal vertices from S 1 S_1 S 1 , E 1 ∖ S 1 E_1 \setminus S_1 E 1 ∖ S 1 , S 2 S_2 S 2 , and E 2 ∖ S 2 E_2 \setminus S_2 E 2 ∖ S 2 . In other words, we must analyze a matrix of the form
( Λ B 0 B 1 C 0 C 1 B 0 T 0 0 0 0 B 1 T 0 I 0 0 C 0 T 0 0 D 0 0 C 1 T 0 0 0 D 1 ) \begin{pmatrix}
\Lambda& B_0 & B_1 & C_0 & C_1 \\
B_0^{T} & 0 & 0 & 0 & 0 \\
B_1^{T} & 0 & I & 0 & 0 \\
C_0^{T} & 0 & 0 & D_0 & 0 \\
C_1^{T} & 0 & 0 & 0 & D_1
\end{pmatrix} Λ B 0 T B 1 T C 0 T C 1 T B 0 0 0 0 0 B 1 0 I 0 0 C 0 0 0 D 0 0 C 1 0 0 0 D 1
where Λ \Lambda Λ is an arbitrary diagonal matrix, D 0 D_0 D 0 is block diagonal with the non-invertible 2 × 2 2 \times2 2 × 2 submatrices above, and D 1 D_1 D 1 is block diagonal with the invertible 2 × 2 2 \times2 2 × 2 submatrices. Once again, we will use the invertible diagonal entries to row/column reduce our matrix. So,
η ( A ) = η ( ( M B 0 C 0 B 0 T 0 0 C 0 T 0 D 0 ) ) \eta(A) = \eta\left(
\begin{pmatrix}
M & B_0 & C_0 \\
B_0^{T} & 0 & 0 \\
C_0^{T} & 0 & D_0
\end{pmatrix}
\right) η ( A ) = η M B 0 T C 0 T B 0 0 0 C 0 0 D 0
where M = Λ + B 1 B 1 T + C 1 D 1 − 1 C 1 T M = \Lambda+ B_1B_1^{T} + C_1D_1^{-1}C_1^{T} M = Λ + B 1 B 1 T + C 1 D 1 − 1 C 1 T . Recall that D 0 D_0 D 0 is block diagonal with the blocks ( 1 1 1 1 ) \begin{pmatrix}1 & 1 \\ 1 & 1\end{pmatrix} ( 1 1 1 1 ) . Let’s focus on a principal submatrix corresponding to one of the blocks corresponding to the edge e e e :
( M a e b e a e T 1 1 b e T 1 1 ) \begin{pmatrix}
M & a_e & b_e \\
a_e^{T} & 1 & 1 \\
b_e^{T} & 1 & 1
\end{pmatrix} M a e T b e T a e 1 1 b e 1 1
where a e , b e a_e,b_e a e , b e are column vectors of length ∣ W G ∣ \lvert W_G\rvert ∣ W G ∣ . Once again, our plan will be to isolate a principal submatrix of full rank that can be removed:
( I 0 b e 0 1 1 0 0 1 ) ( M a e b e a e T 1 1 b e T 1 1 ) ( I 0 0 0 1 0 b e T 1 1 ) = ( M + b e b e T a e + b e 0 a e T + b e T 0 0 0 0 1 ) \begin{pmatrix}
I & 0 & b_e \\
0 & 1 & 1 \\
0 & 0 & 1
\end{pmatrix}
\begin{pmatrix}
M & a_e & b_e \\
a_e^{T} & 1 & 1 \\
b_e^{T} & 1 & 1
\end{pmatrix}
\begin{pmatrix}
I & 0 & 0 \\
0 & 1 & 0 \\
b_e^{T} & 1 & 1
\end{pmatrix}
=
\begin{pmatrix}
M + b_eb_e^{T} & a_e + b_e & 0 \\
a_e^{T} + b_e^{T} & 0 & 0 \\
0 & 0 & 1
\end{pmatrix} I 0 0 0 1 0 b e 1 1 M a e T b e T a e 1 1 b e 1 1 I 0 b e T 0 1 1 0 0 1 = M + b e b e T a e T + b e T 0 a e + b e 0 0 0 0 1
Note that a e + b e a_e + b_e a e + b e exactly encodes the incidence between the vertices in W G W_G W G and the edge e e e .
To summarize, after once again removing the full rank submatrices, we get
η ( A ) = η ( ( M ~ B 0 Δ B 0 T 0 0 Δ T 0 0 ) ) \eta(A)=\eta\left(\begin{pmatrix}\widetilde{M} & B_0 & \Delta\\ B_0^{T} & 0 & 0 \\ \Delta^{T} & 0 & 0\end{pmatrix}\right) η ( A ) = η M B 0 T Δ T B 0 0 0 Δ 0 0
where M ~ = M + ∑ e b e b e T \widetilde{M}=M+\sum_e b_e b_e^{T} M = M + ∑ e b e b e T and Δ \Delta Δ is the incidence matrix for the vertices W G W_G W G and edges S 2 S_2 S 2 . We are now in position to repeat large parts of the earlier proof, first, by bounding the rank of the matrix above:
rank ( ( M ~ B 0 Δ B 0 T 0 0 Δ T 0 0 ) ) ≥ 2 rank ( ( B 0 Δ ) ) \operatorname{rank}\left(\begin{pmatrix}\widetilde{M} & B_0 & \Delta\\ B_0^{T} & 0 & 0 \\ \Delta^{T} & 0 & 0\end{pmatrix}\right)\geq2\operatorname{rank}\left((B_0\ \ \Delta)\right) rank M B 0 T Δ T B 0 0 0 Δ 0 0 ≥ 2 rank ( ( B 0 Δ ) )
so that
η ( A ) ≤ ∣ W G ∣ + ∣ S 1 ∣ + ∣ S 2 ∣ − 2 rank ( ( B 0 Δ ) ) \eta(A)\leq|W_G|+|S_1|+|S_2|-2\operatorname{rank}\left((B_0\ \ \Delta)\right) η ( A ) ≤ ∣ W G ∣ + ∣ S 1 ∣ + ∣ S 2 ∣ − 2 rank ( ( B 0 Δ ) )
To bound the rank we analyze the columns of B 0 B_0 B 0 and Δ \Delta Δ . Once again, we will construct a set of vertices U ⊆ W G U\subseteq W_G U ⊆ W G such that its corresponding submatrix in ( B 0 Δ ) (B_0\ \ \Delta) ( B 0 Δ ) has full rank. Recall that each column of B 0 B_0 B 0 is either the all-zeroes vector or a standard basis vector. Similarly, each column of Δ \Delta Δ has zero, one, or two 1’s in it. Add all the vertices in W G W_G W G corresponding to one of the standard basis columns to U U U . After removing these rows from ( B 0 Δ ) (B_0\ \ \Delta) ( B 0 Δ ) , there may be a new set of columns that become standard basis vectors, so we add them to U U U as well, and repeat. That is, we perform Gaussian elimination on the columns of ( B 0 Δ ) (B_0\ \ \Delta) ( B 0 Δ ) using standard basis vectors as the pivots until each column is either the all-zeros vector or has two 1’s. The columns with two 1’s correspond to edges in S 2 S_2 S 2 with both endpoints in W G ∖ U W_G\setminus U W G ∖ U .
So, in summary rank ( B 0 Δ ) \operatorname{rank}(B_0\ \ \Delta) rank ( B 0 Δ ) is ∣ U ∣ |U| ∣ U ∣ plus the rank of the incidence matrix of W G ∖ U W_G\setminus U W G ∖ U with the edges in S 2 S_2 S 2 . We claim that the rank of this incidence matrix is the number of edges in any spanning forest F F F of the graph with vertex set W G ∖ U W_G\setminus U W G ∖ U and edge set S 2 S_2 S 2 . To see this, it suffices to note that any column corresponding to edge (say, col ( u , v ) ) \operatorname{col}(u,v)) col ( u , v )) is the sum of the columns forming a path from u u u to v v v :
col ( u , v ) = col ( u , x 1 ) + col ( x 1 , x 2 ) + ⋯ + col ( x k − 1 , x k ) + col ( x k , v ) \operatorname{col}(u,v)=\operatorname{col}(u,x_1)+\operatorname{col}(x_1,x_2)+\cdots+\operatorname{col}(x_{k-1},x_k)+\operatorname{col}(x_k,v) col ( u , v ) = col ( u , x 1 ) + col ( x 1 , x 2 ) + ⋯ + col ( x k − 1 , x k ) + col ( x k , v )
for edges ( x i , x i + 1 ) (x_i,x_{i+1}) ( x i , x i + 1 ) in the subgraph of vertices in W G ∖ U W_G\setminus U W G ∖ U with edges in S 2 S_2 S 2 . Therefore, we get rank ( B 0 Δ ) = ∣ U ∣ + ∣ E ( F ) ∣ \operatorname{rank}(B_0\ \ \Delta)=|U|+|E(F)| rank ( B 0 Δ ) = ∣ U ∣ + ∣ E ( F ) ∣ .
Plugging back into our nullity bound, we get
η ( A ) ≤ ∣ W G ∖ U ∣ + ∣ U ∣ + ∣ S 1 ∣ + ∣ S 2 ∣ − 2 ( ∣ U ∣ + ∣ E ( F ) ∣ ) = ∣ W G ∖ U ∣ + ∣ S 1 ∣ + ∣ S 2 ∣ − ∣ U ∣ − 2 ∣ E ( F ) ∣ \eta(A)\leq|W_G\setminus U|+|U|+|S_1|+|S_2|-2(|U|+|E(F)|)=|W_G\setminus U|+|S_1|+|S_2|-|U|-2|E(F)| η ( A ) ≤ ∣ W G ∖ U ∣ + ∣ U ∣ + ∣ S 1 ∣ + ∣ S 2 ∣ − 2 ( ∣ U ∣ + ∣ E ( F ) ∣ ) = ∣ W G ∖ U ∣ + ∣ S 1 ∣ + ∣ S 2 ∣ − ∣ U ∣ − 2∣ E ( F ) ∣
Once again, we will use Gallai’s lemma to bound ∣ W G ∖ U ∣ |W_G\setminus U| ∣ W G ∖ U ∣ , but we will need to be more careful with how we construct the vertex cover. To construct the cover, first notice that the edges of G [ W G ∖ U ] G[W_G\setminus U] G [ W G ∖ U ] can be partitioned into four sets: the edges in E 0 E_0 E 0 , the edges in E 1 ∖ S 1 E_1\setminus S_1 E 1 ∖ S 1 , the edges in S 2 S_2 S 2 , and the edges in E 2 ∖ S 2 E_2\setminus S_2 E 2 ∖ S 2 . Recall that no edge in S 1 S_1 S 1 can appear in G [ W G ∖ U ] G[W_G\setminus U] G [ W G ∖ U ] .
We choose one vertex from each edge in E 0 E_0 E 0 , E 1 ∖ S 1 E_1\setminus S_1 E 1 ∖ S 1 , and E 2 ∖ S 2 E_2\setminus S_2 E 2 ∖ S 2 to cover those edges. To cover the edges in S 2 S_2 S 2 , we choose all-but-one vertex in each connected component of the spanning forest. Altogether, we get a vertex cover of size
∣ E 0 ∣ + ∣ E 1 ∖ S 1 ∣ + ∣ E 2 ∖ S 2 ∣ − ∣ S 2 ∣ + ∣ E ( F ) ∣ . |E_0|+|E_1\setminus S_1|+|E_2\setminus S_2|-|S_2|+|E(F)|. ∣ E 0 ∣ + ∣ E 1 ∖ S 1 ∣ + ∣ E 2 ∖ S 2 ∣ − ∣ S 2 ∣ + ∣ E ( F ) ∣.
Plugging into Gallai’s lemma (using α ( W G ∖ U ) ≤ α ( G ) \alpha(W_G\setminus U)\leq\alpha(G) α ( W G ∖ U ) ≤ α ( G ) again), we get
∣ W G ∖ U ∣ = α ( W G ∖ U ) + τ ( W G ∖ U ) ≤ α ( G ) + ∣ E 0 ∣ + ∣ E 1 ∖ S 1 ∣ + ∣ E 2 ∖ S 2 ∣ − ∣ S 2 ∣ + ∣ E ( F ) ∣ |W_G\setminus U|=\alpha(W_G\setminus U)+\tau(W_G\setminus U)\leq\alpha(G)+|E_0|+|E_1\setminus S_1|+|E_2\setminus S_2|-|S_2|+|E(F)| ∣ W G ∖ U ∣ = α ( W G ∖ U ) + τ ( W G ∖ U ) ≤ α ( G ) + ∣ E 0 ∣ + ∣ E 1 ∖ S 1 ∣ + ∣ E 2 ∖ S 2 ∣ − ∣ S 2 ∣ + ∣ E ( F ) ∣
so, we get
η ( A ) ≤ ( α ( G ) + ∣ E 0 ∣ + ∣ E 1 ∖ S 1 ∣ + ∣ E 2 ∣ − ∣ S 2 ∣ + ∣ E ( F ) ∣ ) + ∣ S 1 ∣ + ∣ S 2 ∣ − ∣ U ∣ − 2 ∣ E ( F ) ∣ ≤ α ( G ) + ( ∣ E 0 ∣ + ∣ E 1 ∣ + ∣ E 2 ∣ ) − ∣ U ∣ − ∣ E ( F ) ∣ = α ( G ) + ∣ E ∣ − ∣ U ∣ − ∣ E ( F ) ∣ ≤ α ( G ) + ∣ E ∣ \begin{aligned}
\eta(A) &\leq\left(\alpha(G) + |E_0| + |E_1 \setminus S_1| + |E_2| - |S_2| + |E(F)|\right) + |S_1| + |S_2| - |U| - 2|E(F)| \\
&\leq\alpha(G) + \left(|E_0| + |E_1| + |E_2|\right) - |U| - |E(F)| \\
&= \alpha(G) + |E| - |U| - |E(F)| \\
&\leq\alpha(G) + |E|
\end{aligned} η ( A ) ≤ ( α ( G ) + ∣ E 0 ∣ + ∣ E 1 ∖ S 1 ∣ + ∣ E 2 ∣ − ∣ S 2 ∣ + ∣ E ( F ) ∣ ) + ∣ S 1 ∣ + ∣ S 2 ∣ − ∣ U ∣ − 2∣ E ( F ) ∣ ≤ α ( G ) + ( ∣ E 0 ∣ + ∣ E 1 ∣ + ∣ E 2 ∣ ) − ∣ U ∣ − ∣ E ( F ) ∣ = α ( G ) + ∣ E ∣ − ∣ U ∣ − ∣ E ( F ) ∣ ≤ α ( G ) + ∣ E ∣
completing the proof.
Statement on AI Use
Significant parts of the hardness proofs for NSPS(220) and NSPS(222) were found by an interactive prompting of Gemini 3.1 Pro. The proofs were read, understood, and rewritten by the authors, so little to no AI generated text remains. The NSPS(1**) hardness results are entirely human created. Gemini 3.1 Pro was also used to search for relevant results on various topics. Claude Opus 5.5 was used to check for correctness, bugs, and typos.
Acknowledgments
HP thanks Oliver Reardon-Smith and Kamil Korzekwa for useful discussions during the early stages of this project. HP acknowledges working on this project during previous employments at Dahlem Center for Complex Quantum Systems, Freie Universitat Berlin, Institute for Quantum Computing, University of Waterloo and Perimeter Institute for Theoretical Physics. LS is supported under NSERC RGPIN-2025-04875.
NSPS Variant Definitions and Reductions
We define the decision and search problem variants associated with the optimization problem from Definition 1 .
Definition 11 (NSPS(S n , S S_n,S S n , S )). For S ⊆ S a l l S \subseteq S_{\mathrm{all}} S ⊆ S all such that S ≠ ∅ S \ne\varnothing S = ∅ , we define the decision problem NSPS(S n , S S_n,S S n , S ) as follows:
Given any state ∣ ψ ⟩ ∈ S n |\psi\rangle\in S_n ∣ ψ ⟩ ∈ S n , k ∈ [ n ] k \in[n] k ∈ [ n ] and p ∈ N p \in\mathbb{N} p ∈ N , decide if:
π Y E S : m ( ψ , Π S , k ) ≥ 2 − p + 1 π N O : m ( ψ , Π S , k ) ≤ 2 − p . \begin{aligned}
\pi_{YES} &: m(\psi,\Pi_{S,k}) \ge2^{-p+1} \\
\pi_{NO} &: m(\psi,\Pi_{S,k}) \le2^{-p}.
\end{aligned} π Y E S π N O : m ( ψ , Π S , k ) ≥ 2 − p + 1 : m ( ψ , Π S , k ) ≤ 2 − p .
Definition 12 (Srch-NSPS(S n , S S_n,S S n , S )). For S ⊆ S a l l S \subseteq S_{\mathrm{all}} S ⊆ S all such that S ≠ ∅ S \ne\varnothing S = ∅ , we define the search problem Srch-NSPS(S n , S S_n,S S n , S ) as follows:
Given any state ∣ ψ ⟩ ∈ S n |\psi\rangle\in S_n ∣ ψ ⟩ ∈ S n and k ∈ [ n ] k \in[n] k ∈ [ n ] , output π ∈ Π S , k \pi\in\Pi_{S,k} π ∈ Π S , k satisfying:
∥ π ∣ ψ ⟩ ∥ 2 2 = m ( ψ , Π S , k ) (17) \lVert\pi|\psi\rangle\rVert_2^2 = m(\psi,\Pi_{S,k}) \tag*{(17)} ∥ π ∣ ψ ⟩ ∥ 2 2 = m ( ψ , Π S , k ) (17)
We show that for any fixed subset of projectors S S S , given the ability to access at most poly ( n ) \operatorname{poly}(n) poly ( n ) solutions to desired instances of any one of the problems NSPS(S n , S S_n,S S n , S ), Opt-NSPS(S n , S S_n,S S n , S ) or Srch-NSPS(S n , S S_n,S S n , S ), one can solve any given instance of the other two variants. We state this more concisely by using the following notation: for two problems A A A and B B B , we write A ≤ T p o l y B A \mathrel{\leq_{\mathrm{T}}^{\mathrm{poly}}} B A ≤ T poly B to denote that there exists a polynomial-time Turing reduction from A A A to B B B and hence solving A A A is possible in poly ( n ) \operatorname{poly}(n) poly ( n ) time with access to a solver for B B B .
Lemma 13. For any fixed S ⊆ S a l l S \subseteq S_{\mathrm{all}} S ⊆ S all , S ≠ ∅ S \ne\varnothing S = ∅ , all of the following hold:
Srch-NSPS ( S n , S ) ≤ T p o l y Opt-NSPS ( S n , S ) , (18) \operatorname{Srch\text{-}NSPS}(S_n,S) \mathrel{\leq_{\mathrm{T}}^{\mathrm{poly}}} \operatorname{Opt\text{-}NSPS}(S_n,S), \tag*{(18)} Srch - NSPS ( S n , S ) ≤ T poly Opt - NSPS ( S n , S ) , (18) Opt-NSPS ( S n , S ) ≤ T p o l y NSPS ( S n , S ) , (19) \operatorname{Opt\text{-}NSPS}(S_n,S) \mathrel{\leq_{\mathrm{T}}^{\mathrm{poly}}} \operatorname{NSPS}(S_n,S), \tag*{(19)} Opt - NSPS ( S n , S ) ≤ T poly NSPS ( S n , S ) , (19) NSPS ( S n , S ) ≤ T p o l y Srch-NSPS ( S n , S ) . (20) \operatorname{NSPS}(S_n,S) \mathrel{\leq_{\mathrm{T}}^{\mathrm{poly}}} \operatorname{Srch\text{-}NSPS}(S_n,S). \tag*{(20)} NSPS ( S n , S ) ≤ T poly Srch - NSPS ( S n , S ) . (20)
Proof. Equation (20) is immediately implied by the Gottesman–Knill theorem. To show Equation (18) and Equation (19) , let us fix S ⊆ S a l l S \subseteq S_{\mathrm{all}} S ⊆ S all with ∣ S ∣ = q |S|=q ∣ S ∣ = q and assume we are interested in solving some instance ψ ∅ ∈ S n \psi_{\varnothing} \in S_n ψ ∅ ∈ S n and k ∈ [ n ] k \in[n] k ∈ [ n ] . The case where q < 2 q < 2 q < 2 is trivial so we can assume q ≥ 2 q \geq2 q ≥ 2 .
We first show Equation (19) holds. For q ≥ 2 q \geq2 q ≥ 2 , − log 2 m ( ψ ∅ , Π S , k ) : = p ∗ ∈ { 0 , … , k } -\log_2 m(\psi_{\varnothing},\Pi_{S,k}) := p^* \in\{0,\ldots,k\} − log 2 m ( ψ ∅ , Π S , k ) := p ∗ ∈ { 0 , … , k } . Our strategy will simply be to do a binary search over the set { 0 , … , k } \{0,\ldots,k\} { 0 , … , k } by calling the oracle for NSPS(S n , S S_n,S S n , S ) on the same input state but different inputs of p p p from Definition 11. This requires O ( log 2 k ) O(\log_2 k) O ( log 2 k ) calls to the oracle.
We now show Equation (18) holds. The solution to the search problem involves a search over q k q^k q k projectors to find any projector π ∈ Π S , k \pi\in\Pi_{S,k} π ∈ Π S , k that satisfies Equation (17) . The projector satisfying this equation may not be unique however, given access to an oracle for Opt-NSPS(S n , S S_n,S S n , S ), we can conduct a search over the complete q q q -ary tree to find a solution to the search problem. This uses O ( q k ) = O ( k ) O(qk)=O(k) O ( q k ) = O ( k ) calls to the oracle for the optimization problem. For simplicity of notation, when the state ∣ ψ ′ ⟩ = a ∣ ψ ⟩ |\psi'\rangle=a|\psi\rangle ∣ ψ ′ ⟩ = a ∣ ψ ⟩ is unnormalized with ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ a normalized stabilizer state and a ∈ R a\in\mathbb{R} a ∈ R , we will use m ( ψ ′ , Π S , k ) m(\psi',\Pi_{S,k}) m ( ψ ′ , Π S , k ) to mean a 2 m ( ψ , Π S , k ) a^2m(\psi,\Pi_{S,k}) a 2 m ( ψ , Π S , k ) .
We label each node in the complete q q q -ary tree with x ∈ { ∅ } ∪ Z q ∪ Z q 2 ∪ … ∪ Z q k x\in\{\varnothing\}\cup\mathbb{Z}_q\cup\mathbb{Z}_q^2\cup\ldots\cup\mathbb{Z}_q^k x ∈ { ∅ } ∪ Z q ∪ Z q 2 ∪ … ∪ Z q k such that the root node has label x = ∅ x=\varnothing x = ∅ and nodes at level j j j have labels x ∈ Z q j x\in\mathbb{Z}_q^j x ∈ Z q j assigned in the natural way. That is, the children of node x = ( x 1 , … , x j ) x=(x_1,\ldots,x_j) x = ( x 1 , … , x j ) have labels ( x 1 , … , x j , a ) (x_1,\ldots,x_j,a) ( x 1 , … , x j , a ) for a ∈ Z q a\in\mathbb{Z}_q a ∈ Z q . Each node x x x is associated with an (unnormalized) stabilizer state ∣ ψ x ⟩ |\psi_x\rangle ∣ ψ x ⟩ . By labeling the distinct elements of S S S with π ( a ) \pi^{(a)} π ( a ) for a ∈ Z q a\in\mathbb{Z}_q a ∈ Z q , we define all states at level j j j using
∣ ψ x ⟩ : = π ( x 1 ) ⊗ ⋯ ⊗ π ( x j ) ⊗ I ⊗ n − j ∣ ψ ∅ ⟩ (21) |\psi_x\rangle:= \pi^{(x_1)}\otimes\cdots\otimes\pi^{(x_j)}\otimes I^{\otimes n-j}|\psi_{\varnothing}\rangle \tag*{(21)} ∣ ψ x ⟩ := π ( x 1 ) ⊗ ⋯ ⊗ π ( x j ) ⊗ I ⊗ n − j ∣ ψ ∅ ⟩ (21)
= π ( x ) ∣ ψ ∅ ⟩ . (22) = \pi(x)|\psi_{\varnothing}\rangle. \tag*{(22)} = π ( x ) ∣ ψ ∅ ⟩ . (22)
We now associate with each state ∣ ψ x ⟩ |\psi_x\rangle ∣ ψ x ⟩ the ‘m m m -value’ m x : = m ( ψ x , Π S , k ) m_x:=m(\psi_x,\Pi_{S,k}) m x := m ( ψ x , Π S , k ) . It is easy to see that as we traverse the tree from root to leaf:
the m m m -value associated with the nodes is non-increasing
at each step from parent to one of the children, there is always a choice of child that preserves the m m m -value.
Hence, finding the solution of the search problem is only a matter of starting at the root and walking along the tree via any path with constant m m m -value.
To establish the first property, we simply observe that for any π l o c ∈ S \pi_{\mathrm{loc}} \in S π loc ∈ S and stabilizer state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ , we have ∥ [ I ⊗ j − 1 ⊗ π l o c ⊗ I ⊗ n − j ] ∣ ψ ⟩ ∥ 2 2 ∈ { 0 , 1 / 2 , 1 } ⋅ ∥ ∣ ψ ⟩ ∥ 2 2 \left\|\left[I^{\otimes j-1} \otimes\pi_{\mathrm{loc}} \otimes I^{\otimes n-j}\right]|\psi\rangle\right\|_{2}^{2} \in\{0,1/2,1\}\cdot\||\psi\rangle\|_{2}^{2} [ I ⊗ j − 1 ⊗ π loc ⊗ I ⊗ n − j ] ∣ ψ ⟩ 2 2 ∈ { 0 , 1/2 , 1 } ⋅ ∥∣ ψ ⟩ ∥ 2 2 .
To establish the second property, observe that by definition of m x m_x m x , there exists π ∈ Π S , k \pi\in\Pi_{S,k} π ∈ Π S , k such that ∥ π ∣ ψ x ⟩ ∥ 2 2 = m x \|\pi|\psi_x\rangle\|_{2}^{2}=m_x ∥ π ∣ ψ x ⟩ ∥ 2 2 = m x . By Equation (22) and the optimality of π \pi π we have, π π ( x ) = π = π ( x 1 ) ⊗ … ⊗ π ( x k ) ⊗ I ⊗ n − k \pi\pi(x)=\pi=\pi^{(x_1)}\otimes\ldots\otimes\pi^{(x_k)}\otimes I^{\otimes n-k} π π ( x ) = π = π ( x 1 ) ⊗ … ⊗ π ( x k ) ⊗ I ⊗ n − k for some choice of x j + 1 , … , x k x_{j+1},\ldots,x_k x j + 1 , … , x k . Since the value of x j + 1 ∈ Z q x_{j+1}\in\mathbb{Z}_q x j + 1 ∈ Z q corresponds to one of the children of node ( x 1 , … , x j ) (x_1,\ldots,x_j) ( x 1 , … , x j ) we have m ( x 1 , … , x j ) = m ( x 1 , … , x j , x j + 1 ) m_{(x_1,\ldots,x_j)}=m_{(x_1,\ldots,x_j,x_{j+1})} m ( x 1 , … , x j ) = m ( x 1 , … , x j , x j + 1 ) .
Classical Simulation of Clifford Plus T Circuits
Below, we give an aggressively simplified account of the RawEstim algorithm of Ref. [30 ] that nevertheless, outlines the mathematical connection to Opt-NSPS(110). This simulation algorithm starts with the established approach [6 , 25 ] of using gate teleportation [37 ] to replace the T T T -gates with T T T -states (∣ T ⟩ = T ∣ + ⟩ |T\rangle=T|+\rangle ∣ T ⟩ = T ∣ + ⟩ state). If the n n n -qubit target circuit U U U originally contained t t t occurrences of the T T T -gate, this gate teleportation procedure results in a Clifford circuit C C C acting on ∣ 0 ⟩ ⊗ n ⊗ ∣ T ⟩ ⊗ t |0\rangle^{\otimes n}\otimes|T\rangle^{\otimes t} ∣0 ⟩ ⊗ n ⊗ ∣ T ⟩ ⊗ t . The Born rule probability p p p of observing the 0 n 0^n 0 n outcome when the original circuit U ∣ 0 n ⟩ U|0^n\rangle U ∣ 0 n ⟩ is measured in the computational basis, can be expressed in terms of the Born rule probability p ′ p' p ′ of observing the 0 n + t 0^{n+t} 0 n + t outcome when the new circuit is measured in the computational basis using p = 2 t p ′ p=2^t p' p = 2 t p ′ . The goal then becomes estimating
p ′ = ∣ ⟨ 0 n + t ∣ C ∣ 0 n T t ⟩ ∣ 2 = ∣ ⟨ ψ ∣ T t ⟩ ∣ 2 (23) p'=\left|\langle0^{n+t}|C|0^nT^t\rangle\right|^2=\left|\langle\psi|T^t\rangle\right|^2 \tag*{(23)} p ′ = ⟨ 0 n + t ∣ C ∣ 0 n T t ⟩ 2 = ⟨ ψ ∣ T t ⟩ 2 (23)
to sufficiently high precision (± 2 − t ϵ \pm2^{-t}\epsilon ± 2 − t ϵ ), where ∣ ψ ⟩ = ( ⟨ 0 n ∣ ⊗ I ⊗ t ) C † ∣ 0 n + t ⟩ |\psi\rangle=(\langle0^n|\otimes I^{\otimes t})C^\dagger|0^{n+t}\rangle ∣ ψ ⟩ = (⟨ 0 n ∣ ⊗ I ⊗ t ) C † ∣ 0 n + t ⟩ is a (sub-normalized) stabilizer state and we have used the concise notation ∣ 0 n T t ⟩ : = ∣ 0 ⟩ ⊗ n ⊗ ∣ T ⟩ ⊗ t |0^nT^t\rangle:=|0\rangle^{\otimes n}\otimes|T\rangle^{\otimes t} ∣ 0 n T t ⟩ := ∣0 ⟩ ⊗ n ⊗ ∣ T ⟩ ⊗ t . Ref. [30 ] proceeds by decomposing the magic states ∣ T t ⟩ |T^t\rangle ∣ T t ⟩ into a linear combination of stabilizer states, which can be simulated separately. The 1-norm of the stabilizer coefficients in this decomposition is the key driver of simulation runtime. The square of this 1-norm is minimized (achieving the so-called stabilizer extent ξ \xi ξ ) when the magic states are decomposed into a linear combination of ∣ + ⟩ |+\rangle ∣ + ⟩ and ∣ + i ⟩ |+i\rangle ∣ + i ⟩ states as follows:
∣ T t ⟩ = ξ ∑ ∣ ϕ ⟩ ∈ { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t e i θ ( ϕ ) 2 t ∣ ϕ ⟩ (24) |T^t\rangle=\sqrt{\xi}\sum_{|\phi\rangle\in\{|+\rangle,|+i\rangle\}^{\otimes t}}\frac{e^{i\theta(\phi)}}{2^t}|\phi\rangle \tag*{(24)} ∣ T t ⟩ = ξ ∣ ϕ ⟩ ∈ { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t ∑ 2 t e i θ ( ϕ ) ∣ ϕ ⟩ (24)
= ξ E ∣ ϕ ⟩ ∼ Unif { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t [ e i θ ( ϕ ) ∣ ϕ ⟩ ] , (25) =\sqrt{\xi}\mathop{\mathbb{E}}_{|\phi\rangle\sim\operatorname{Unif}\{|+\rangle,|+i\rangle\}^{\otimes t}}\left[e^{i\theta(\phi)}|\phi\rangle\right], \tag*{(25)} = ξ E ∣ ϕ ⟩ ∼ Unif { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t [ e i θ ( ϕ ) ∣ ϕ ⟩ ] , (25)
where θ ( ϕ ) \theta(\phi) θ ( ϕ ) are some phases that will not be important here. The estimation of the inner product:
⟨ ψ ∣ T t ⟩ = ξ E ∣ ϕ ⟩ ∼ Unif { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t [ e i θ ( ϕ ) ⟨ ψ ∣ ϕ ⟩ ] (26) \langle\psi|T^t\rangle=\sqrt{\xi}\mathop{\mathbb{E}}_{|\phi\rangle\sim\operatorname{Unif}\{|+\rangle,|+i\rangle\}^{\otimes t}}\left[e^{i\theta(\phi)}\langle\psi|\phi\rangle\right] \tag*{(26)} ⟨ ψ ∣ T t ⟩ = ξ E ∣ ϕ ⟩ ∼ Unif { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t [ e i θ ( ϕ ) ⟨ ψ ∣ ϕ ⟩ ] (26)
is achieved by using the mean of ξ e i θ ( ϕ ) ⟨ ψ ∣ ϕ ⟩ \sqrt{\xi}e^{i\theta(\phi)}\langle\psi|\phi\rangle ξ e i θ ( ϕ ) ⟨ ψ ∣ ϕ ⟩ based on many iid samples of ∣ ϕ ⟩ |\phi\rangle ∣ ϕ ⟩ . Using the Hoeffding inequality, the number of required samples, N N N , can be upper bounded by the square of the modulus:
N ≤ O ( ϵ − 2 max ∣ ϕ ⟩ ∈ { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t ∣ ξ e i θ ( ϕ ) ⟨ ψ ∣ ϕ ⟩ ∣ 2 ) = O ( ξ ϵ − 2 max ∣ ϕ ⟩ ∈ { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t ∣ ⟨ ϕ ∣ ψ ⟩ ∣ 2 ) . (27) N\leq\mathcal{O}\left(\epsilon^{-2}\max_{|\phi\rangle\in\{|+\rangle,|+i\rangle\}^{\otimes t}}\left|\sqrt{\xi}e^{i\theta(\phi)}\langle\psi|\phi\rangle\right|^2\right)=\mathcal{O}\left(\xi\epsilon^{-2}\max_{|\phi\rangle\in\{|+\rangle,|+i\rangle\}^{\otimes t}}|\langle\phi|\psi\rangle|^2\right). \tag*{(27)} N ≤ O ( ϵ − 2 ∣ ϕ ⟩ ∈ { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t max ξ e i θ ( ϕ ) ⟨ ψ ∣ ϕ ⟩ 2 ) = O ( ξ ϵ − 2 ∣ ϕ ⟩ ∈ { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t max ∣ ⟨ ϕ ∣ ψ ⟩ ∣ 2 ) . (27)
The RHS provides the direct link between Opt-NSPS(110) and the performance of this simulator. In Ref. [30 ] , it was noted that
max ∣ ϕ ⟩ ∈ { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t ∣ ⟨ ϕ ∣ ψ ⟩ ∣ 2 ≤ 2 − t \max_{|\phi\rangle\in\{ |+\rangle,|+i\rangle\}^{\otimes t}} |\langle\phi|\psi\rangle|^2 \le2^{-t} ∣ ϕ ⟩ ∈ { ∣ + ⟩ , ∣ + i ⟩ } ⊗ t max ∣ ⟨ ϕ ∣ ψ ⟩ ∣ 2 ≤ 2 − t
permitting a ± ϵ \pm\epsilon ± ϵ precision estimator for p p p using O ( ξ ϵ − 2 ) \mathcal{O}(\xi\epsilon^{-2}) O ( ξ ϵ − 2 ) samples. By a tighter bound for the RHS of Equation (27) the number of required samples and the simulation runtime can be improved by a factor of up to ∥ ∣ ψ ⟩ ∥ 2 2 \lVert|\psi\rangle\rVert_2^2 ∥ ∣ ψ ⟩ ∥ 2 2 .
Low-rank matrix completion
Lemma 9 gives us the following interpretation of the NSPS(220) problem over graph states: given a graph G G G , find an induced subgraph with maximal nullity. If we were to instead consider an arbitrary stabilizer input, then the tableau has the form [ C ∣ D ] [C|D] [ C ∣ D ] for matrices satisfying the symplectic condition ( C D T + D C T = 0 ) (CD^{T}+DC^{T}=0) ( C D T + D C T = 0 ) . Of course, the setting is strictly more general (and therefore NP-hard), but it is perhaps simpler to see that the NSPS(220) problem seeks the lowest-rank matrix we can obtain from taking, for each qubit i i i , the i i i th column of either C C C or D D D . In particular, an X X X -measurement on qubit i i i corresponds to taking the i i i th column of D D D , and a Z Z Z -measurement on qubit i i i corresponds to taking the i i i th column of C C C .
As it turns out, this fits into a large body of research surrounding rank minimization. In general, the input for such problems is a matrix filled with entries from some finite field (in our case, F 2 \mathbb{F}_2 F 2 ) as well as polynomially-many variables. The goal is then to find an assignment of the variables that minimizes the rank. Our NP-hardness proof can be thought of as an alternative to other NP-hardness results in this framework (most closely, the “MinRank” problem of [8 ] ) with some additional nice properties: there is exactly one variable per column, and each variable cannot appear in more than one column.
It is also worth mentioning a broad area of low-rank matrix completion problems initiated by Haemers that was inspired by the Shannon capacity of graphs [19 ] . This is a special case of the MinRank problem where the diagonal is fixed to 1, the off-diagonal entries at edges of an input graph are fixed to 0, and each remaining off-diagonal entry is assigned its own variable. It was first shown by Peeters [31 ] that this problem is NP-hard (even over F 2 \mathbb{F}_2 F 2 ). There were many subsequent follow-up works showing hardness for different fields, different patterns of variables, approximations, and positive-semidefinite completions [15 , 20 , 33 , 9 , 10 ] . To our knowledge, there is no direct reduction from these problems to our own (or vice versa).
Measures of entanglement
Entanglement has proven to be an important yet elusive property of quantum systems. Substantial effort has been expended in characterizing, quantifying and attributing operational significance to measures of entanglement. Here we will discuss the relative entropy E R ( ρ ) E_R(\rho) E R ( ρ ) , the geometric measure E G ( ∣ ψ ⟩ ) E_G(|\psi\rangle) E G ( ∣ ψ ⟩) and the Schmidt measure E S ( ∣ ψ ⟩ ) E_S(|\psi\rangle) E S ( ∣ ψ ⟩) of entanglement. Evaluating these entanglement measures for general states has proven to be computationally prohibitive. However, the rich multipartite entanglement properties exhibited by stabilizer states has provided some fertile ground for this research.
Restricting to stabilizer states somewhat simplifies the landscape revealing several elegant and powerful results. For all pure stabilizer states, the relative entropy of entanglement and the geometric measure are equal [22 , 27 ] . For all graph states ∣ G ⟩ |G\rangle ∣ G ⟩ , Ref. [27 ] showed the following connection between graph properties and entanglement:
τ ( G ) ≥ E R ( ∣ G ⟩ ) = E g ( ∣ G ⟩ ) . (28) \tau(G) \ge E_R(|G\rangle) = E_g(|G\rangle). \tag*{(28)} τ ( G ) ≥ E R ( ∣ G ⟩) = E g ( ∣ G ⟩) . (28)
The upper bound comes from the fact that measurement, in the Pauli-Z Z Z basis, of the qubits associated with the minimum vertex cover of G G G results in at most τ ( G ) \tau(G) τ ( G ) non-deterministic outcomes contributing at most τ ( G ) \tau(G) τ ( G ) factors of 1 / 2 1/2 1/2 to the fidelity. Thereafter, the remaining qubits are a maximum independent set as all edges of G G G have been removed by the previous measurement. Hence these qubits are in a Pauli-X X X basis state { ∣ + ⟩ , ∣ − ⟩ } ⊗ α ( G ) \{|+\rangle, |-\rangle\}^{\otimes\alpha(G)} { ∣ + ⟩ , ∣ − ⟩ } ⊗ α ( G ) and can be measured in the Pauli-X X X basis with deterministic outcome. This inequalities can be tightened by searching over LC orbits of G G G .
The canonical polyadic (CP) rank4 , R min R_{\min} R m i n , of an n n n -qubit state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ interpreted as an n n n -dimensional tensor quantifies the minimum number of terms needed to decompose ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ into a linear combination of product states. The Schmidt measure E s ( ∣ ψ ⟩ ) : = log 2 R min E_s(|\psi\rangle) := \log_2 R_{\min} E s ( ∣ ψ ⟩) := log 2 R m i n is a monotone under stochastic local operations and classical communication (SLOCC) [16 , 14 ] . The Schmidt measure for graphs states can also be upper bounded by the vertex cover number [24 , 23 , 27 ]
τ ( G ) ≥ E s ( ∣ G ⟩ ) . (29) \tau(G) \ge E_s(|G\rangle). \tag*{(29)} τ ( G ) ≥ E s ( ∣ G ⟩) . (29)
Our work associated with Opt-NSPS(222) (and to a lesser extent Opt-NSPS(220)) is a parallel line of inquiry that fits into and complements the prior work. It can be seen as a further simplification of the entanglement measurement problem where we restrict the optimizations associated with the geometric and Schmidt measure from all product states to the discrete set of all stabilizer product states. Concretely, we can define and denote the stabilizer product state equivalents of E g E_g E g and E s E_s E s by E s g E_{sg} E s g and E s s E_{ss} E ss respectively where for a stabilizer state ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ , E s g ( ∣ ψ ⟩ ) : = − log 2 m ( ψ , S ( 222 ) ) E_{sg}(|\psi\rangle) := -\log_2 m(\psi, S_{(222)}) E s g ( ∣ ψ ⟩) := − log 2 m ( ψ , S ( 222 ) ) and E s s ( ∣ ψ ⟩ ) E_{ss}(|\psi\rangle) E ss ( ∣ ψ ⟩) is defined as the base-2 logarithm of the smallest number of terms required to decompose ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ into a linear combination of stabilizer product states.
We observe that Equation (28) can be modified as follows:
τ ( G ) ≥ E s g ( ∣ G ⟩ ) ≥ E g ( ∣ G ⟩ ) . (30) \tau(G) \ge E_{sg}(|G\rangle) \ge E_g(|G\rangle). \tag*{(30)} τ ( G ) ≥ E s g ( ∣ G ⟩) ≥ E g ( ∣ G ⟩) . (30)
The upper bound to E s g ( ∣ G ⟩ ) E_{sg}(|G\rangle) E s g ( ∣ G ⟩) is immediate from the proof of the upper bound to E g ( ∣ G ⟩ ) E_g(|G\rangle) E g ( ∣ G ⟩) in Equation (28) since local Pauli measurements are used to derive the upper bound. The lower bound can be observed by noting that E g E_g E g is a relaxation of E s g E_{sg} E s g . Additionally, Equation (29) can be modified as follows:
E s g ( ∣ G ⟩ ) ≥ E s s ( ∣ G ⟩ ) ≥ E s ( ∣ G ⟩ ) . (31) E_{sg}(|G\rangle) \ge E_{ss}(|G\rangle) \ge E_s(|G\rangle). \tag*{(31)} E s g ( ∣ G ⟩) ≥ E ss ( ∣ G ⟩) ≥ E s ( ∣ G ⟩) . (31)
The lower bound can be observed by noting that E s E_s E s is a relaxation of E s s E_{ss} E ss . The upper bound can be observed by using Lemma 14 stated and proven below. This establishes the relation E s g ( ∣ G ⟩ ) ≥ E s s ( ∣ G ⟩ ) E_{sg}(|G\rangle) \ge E_{ss}(|G\rangle) E s g ( ∣ G ⟩) ≥ E ss ( ∣ G ⟩) between the stabilizer product state counterparts that does not hold generally between the geometric and Schmidt measure and, to our knowledge, is unknown to hold even when inputs are restricted to graph states.
To prove the NP-hardness of NSPS(220) and NSPS(222), we use a specific graph construction that maps an input graph G G G into a new graph H = H ( G ) H = H(G) H = H ( G ) (also known as the 3-subdivision of G G G [17 ] ) where each edge in G = ( V , E ) 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 E s g ( ∣ H ( G ) ⟩ ) = τ ( G ) + ∣ E ∣ = τ ( H ( G ) ) E_{sg}(|H(G)\rangle) = \tau(G) + |E| = \tau(H(G)) E s g ( ∣ H ( G )⟩) = τ ( G ) + ∣ E ∣ = τ ( H ( G )) . For graphs of the form H ( G ) H(G) H ( G ) that also have easy to compute vertex cover numbers, this provides a means to computing E s g ( ∣ H ( G ) ⟩ ) E_{\mathrm{sg}}(|H(G)\rangle) E sg ( ∣ H ( G )⟩) . As a simple example, let us consider the n n n -vertex ring graph G = R n G=R_n G = R n where H ( R n ) = R 3 n H(R_n)=R_{3n} H ( R n ) = R 3 n . Since τ ( R n ) = ⌈ n / 2 ⌉ \tau(R_n)=\lceil n/2\rceil τ ( R n ) = ⌈ n /2 ⌉ , our results immediately give E s g ( ∣ R 3 n ⟩ ) = ⌈ n / 2 ⌉ + n E_{\mathrm{sg}}(|R_{3n}\rangle)=\lceil n/2\rceil+n E sg ( ∣ R 3 n ⟩) = ⌈ n /2 ⌉ + n . Even the inefficient computation of τ ( G ) \tau(G) τ ( G ) requires vastly less computational resources [36 ] compared to the, admittedly more general5 , modern numerical methods for bounding E g E_g E g [35 ] . Beyond the special case where the target graph state is of the form ∣ H ( G ) ⟩ |H(G)\rangle ∣ H ( G )⟩ , one may still employ the above results by either identifying an LC-equivalence between the target graph and one of the form H ( G ) H(G) H ( G ) or alternatively resorting to bounds that can be computed by observing that the target state can, with a limited number of stabilizer measurements and CZ gates be transformed into the desirable form ∣ H ( G ) ⟩ |H(G)\rangle ∣ H ( G )⟩ . From this perspective, our results provide a computational tool for computing and/or bounding m ( ψ , S ( 220 ) ) , m ( ψ , S ( 222 ) ) m(\psi,S_{(220)}),m(\psi,S_{(222)}) m ( ψ , S ( 220 ) ) , m ( ψ , S ( 222 ) ) and E g ( ∣ ψ ⟩ ) E_g(|\psi\rangle) E g ( ∣ ψ ⟩) for certain stabilizer states.
We now show that a solution to a ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ instance of S r c h - N S P S ( 222 ) \mathrm{Srch\text{-}NSPS}(222) Srch - NSPS ( 222 ) immediately provides an orthogonal stabilizer product state decomposition of ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ with exactly 1 / m ( ψ , S ( 222 ) ) 1/m(\psi,S_{(222)}) 1/ m ( ψ , S ( 222 ) ) terms. This is a direct corollary of the next lemma.
Lemma 14. Let ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ be an n n n -qubit stabilizer state with known stabilizers. Let ∣ ϕ ⟩ |\phi\rangle ∣ ϕ ⟩ be an n n n -qubit stabilizer product state with α = ⟨ ϕ ∣ ψ ⟩ ≠ 0 \alpha=\langle\phi|\psi\rangle\ne0 α = ⟨ ϕ ∣ ψ ⟩ = 0 . Then, there is an orthogonal product state decomposition of ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ :
∣ ψ ⟩ = α ∑ u ∈ { 0 , 1 } m ( − 1 ) u ⋅ b + i u Q u T L ∣ u C ⟩ , (32) |\psi\rangle=\alpha\sum_{u\in\{0,1\}^{m}}(-1)^{u\cdot b+i u Q u^{T}}L|uC\rangle, \tag*{(32)} ∣ ψ ⟩ = α u ∈ { 0 , 1 } m ∑ ( − 1 ) u ⋅ b + i u Q u T L ∣ u C ⟩ , (32) where, m = − log 2 ∣ α ∣ 2 m=-\log_2|\alpha|^2 m = − log 2 ∣ α ∣ 2 and b ∈ { 0 , 1 } m b\in\{0,1\}^{m} b ∈ { 0 , 1 } m , Q ∈ { 0 , 1 } m × m Q\in\{0,1\}^{m\times m} Q ∈ { 0 , 1 } m × m and C ∈ { 0 , 1 } m × n C\in\{0,1\}^{m\times n} C ∈ { 0 , 1 } m × n are all efficiently computable. Additionally, L L L is a local Clifford unitary that satisfies L ∣ 0 n ⟩ = ∣ ϕ ⟩ L|0^n\rangle=|\phi\rangle L ∣ 0 n ⟩ = ∣ ϕ ⟩ .
The proof of this statement relies on using L † L^\dagger L † to locally rotate ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ into a preferred basis then observing basic properties of the standard quadratic form expansion [13 , 28 , 4 , 6 , 3 ] of this state.
Proof. Let ∣ ϕ ′ ⟩ |\phi'\rangle ∣ ϕ ′ ⟩ be a stabilizer product state that achieves the fidelity F = α α ∗ = ∣ ⟨ ϕ ′ ∣ ψ ′ ⟩ ∣ 2 F=\alpha\alpha^*=|\langle\phi'|\psi'\rangle|^2 F = α α ∗ = ∣ ⟨ ϕ ′ ∣ ψ ′ ⟩ ∣ 2 with the target state ∣ ψ ′ ⟩ |\psi'\rangle ∣ ψ ′ ⟩ . W.L.O.G., let us use local Clifford rotations to simultaneously rotate ∣ ϕ ′ ⟩ → ∣ ϕ ⟩ |\phi'\rangle\to|\phi\rangle ∣ ϕ ′ ⟩ → ∣ ϕ ⟩ and ∣ ψ ′ ⟩ → ∣ ψ ⟩ |\psi'\rangle\to|\psi\rangle ∣ ψ ′ ⟩ → ∣ ψ ⟩ such that ∣ ϕ ⟩ |\phi\rangle ∣ ϕ ⟩ becomes the computational basis state ∣ ϕ ⟩ = ∣ 0 n ⟩ |\phi\rangle=|0^n\rangle ∣ ϕ ⟩ = ∣ 0 n ⟩ . An orthogonal stabilizer product state decomposition of ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ with exactly R R R terms can then be converted back to an orthogonal stabilizer product state decomposition of ∣ ψ ′ ⟩ |\psi'\rangle ∣ ψ ′ ⟩ with exactly R R R terms by reversing the local Clifford rotations. Additionally, we observe that F = ∣ ⟨ ϕ ′ ∣ ψ ′ ⟩ ∣ 2 = ∣ ⟨ 0 n ∣ ψ ⟩ ∣ 2 F=|\langle\phi'|\psi'\rangle|^2=|\langle0^n|\psi\rangle|^2 F = ∣ ⟨ ϕ ′ ∣ ψ ′ ⟩ ∣ 2 = ∣ ⟨ 0 n ∣ ψ ⟩ ∣ 2 so we aim to construct an R R R -term decomposition where 1 / R = ∣ ⟨ 0 n ∣ ψ ⟩ ∣ 2 = F 1/R=|\langle0^n|\psi\rangle|^2=F 1/ R = ∣ ⟨ 0 n ∣ ψ ⟩ ∣ 2 = F to prove the claim.
Let us denote the n n n stabilizer generators of ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ by { g j } j ∈ [ n ] \{g_j\}_{j\in[n]} { g j } j ∈ [ n ] . We write these generators using the notation g j = i 2 b j + x ( j ) ⋅ z ( j ) X x ( j ) Z z ( j ) g_j=i^{2b_j+x(j)\cdot z(j)}X^{x(j)}Z^{z(j)} g j = i 2 b j + x ( j ) ⋅ z ( j ) X x ( j ) Z z ( j ) where for each j j j , b j ∈ { 0 , 1 } b_j\in\{0,1\} b j ∈ { 0 , 1 } determines the sign of the generator, x ( j ) , z ( j ) ∈ { 0 , 1 } n x(j),z(j)\in\{0,1\}^n x ( j ) , z ( j ) ∈ { 0 , 1 } n are row vectors and for a local Pauli P P P and column vector v ∈ { 0 , 1 } n v\in\{0,1\}^n v ∈ { 0 , 1 } n , the notation P v P^v P v represents the operator P v 1 ⊗ … ⊗ P v n P^{v_1}\otimes\ldots\otimes P^{v_n} P v 1 ⊗ … ⊗ P v n with P 0 P^0 P 0 interpreted as the identity. Let C x C_x C x and C z C_z C z be the n × n n\times n n × n matrices with x ( j ) x(j) x ( j ) and z ( j ) z(j) z ( j ) as their j t h j^{\mathrm{th}} j th row vectors respectively and let C = [ C x ∣ C z ] C=[C_x|C_z] C = [ C x ∣ C z ] be the associated n × 2 n n\times2n n × 2 n matrix. Define Q : = C x C z T Q:=C_xC_z^T Q := C x C z T where the diagonal entries of Q Q Q are computed modulo 4 4 4 while the off-diagonal entries are computed over F 2 \mathbb{F}_2 F 2 . The symmetry condition Q = Q T Q=Q^T Q = Q T is imposed by the fact that the generators commute. The stabilizers of ∣ ψ ⟩ |\psi\rangle ∣ ψ ⟩ take the form:
s ( y ) = g 1 y 1 × ⋯ × g n y n (33) s(y)=g_1^{y_1}\times\cdots\times g_n^{y_n} \tag*{(33)} s ( y ) = g 1 y 1 × ⋯ × g n y n (33)
=(-1)^{y^Tb}\times i^{yQy^T}X^{yC_x}Z^{yC_z}
{#eq:34}
for y ∈ { 0 , 1 } n y \in\{0,1\}^{n} y ∈ { 0 , 1 } n a row vector. Here, we compute the exponent y Q y T yQy^{T} y Q y T over the integers. Without loss of generality, we can assume that C C C is in reduced row echelon form and m m m is the matrix rank of C x C_x C x . This implies that [ Q ] i , j = 0 [Q]_{i,j}=0 [ Q ] i , j = 0 whenever max { i , j } > m \max\{i,j\}>m max { i , j } > m . We now split y = ( u , v ) ∈ { 0 , 1 } m × { 0 , 1 } n − m y=(u,v)\in\{0,1\}^{m}\times\{0,1\}^{n-m} y = ( u , v ) ∈ { 0 , 1 } m × { 0 , 1 } n − m and use C x ′ C_x' C x ′ and C z ′ C_z' C z ′ to denote submatrices made up of the top m m m rows of C x C_x C x and C z C_z C z respectively. We use Q ′ = C x ′ ( C z ′ ) T Q'=C_x'(C_z')^{T} Q ′ = C x ′ ( C z ′ ) T to denote the leading principal submatrix of order m m m of Q Q Q . Hence:
s ( u , v ) = g 1 u 1 × … × g m u m × g m + 1 v 1 × … × g n v n − m (34) s(u,v)=g_1^{u_1}\times\ldots\times g_m^{u_m}\times g_{m+1}^{v_1}\times\ldots\times g_n^{v_{n-m}} \tag*{(34)} s ( u , v ) = g 1 u 1 × … × g m u m × g m + 1 v 1 × … × g n v n − m (34)
= ( − 1 ) ( u , v ) ⋅ b × i u Q ′ u T X u C x Z v C z (35) =(-1)^{(u,v)\cdot b}\times i^{uQ'u^{T}}X^{uC_x}Z^{vC_z} \tag*{(35)} = ( − 1 ) ( u , v ) ⋅ b × i u Q ′ u T X u C x Z v C z (35)
= ( − 1 ) ( u , v ) ⋅ b × i u Q ′ u T X u C x ′ Z v C z . (36) =(-1)^{(u,v)\cdot b}\times i^{uQ'u^{T}}X^{uC_x'}Z^{vC_z}. \tag*{(36)} = ( − 1 ) ( u , v ) ⋅ b × i u Q ′ u T X u C x ′ Z v C z . (36)
That is, the quadratic form component of the phases and the Pauli-X X X components of the operator do not depend on v v v .
Since the overlap ⟨ 0 n ∣ ψ ⟩ \langle0^n|\psi\rangle ⟨ 0 n ∣ ψ ⟩ cannot be zero by assumption, we have:
∣ ψ ⟩ = 1 α ∗ ∣ ψ ⟩ ⟨ ψ ∣ ∣ 0 n ⟩ = 1 α ∗ 2 − n ∑ y ∈ { 0 , 1 } n s ( y ) ∣ 0 n ⟩ = 1 α ∗ 2 − n [ ∑ v ∈ { 0 , 1 } n − m ( − 1 ) ( 0 m , v ) ⋅ b ] ∑ u ∈ { 0 , 1 } m ( − 1 ) ( u , 0 n − m ) ⋅ b i u Q ′ u T ∣ u C x ′ ⟩ . \begin{aligned}
|\psi\rangle=\frac{1}{\alpha^*}|\psi\rangle\langle\psi|\,|0^n\rangle\\
&=\frac{1}{\alpha^*}2^{-n}\sum_{y\in\{0,1\}^{n}}s(y)|0^n\rangle\\
&=\frac{1}{\alpha^*}2^{-n}\left[\sum_{v\in\{0,1\}^{n-m}}(-1)^{(0^m,v)\cdot b}\right]\sum_{u\in\{0,1\}^{m}}(-1)^{(u,0^{n-m})\cdot b}i^{uQ'u^{T}}|uC_x'\rangle.
\end{aligned} ∣ ψ ⟩ = α ∗ 1 ∣ ψ ⟩ ⟨ ψ ∣ ∣ 0 n ⟩ = α ∗ 1 2 − n y ∈ { 0 , 1 } n ∑ s ( y ) ∣ 0 n ⟩ = α ∗ 1 2 − n v ∈ { 0 , 1 } n − m ∑ ( − 1 ) ( 0 m , v ) ⋅ b u ∈ { 0 , 1 } m ∑ ( − 1 ) ( u , 0 n − m ) ⋅ b i u Q ′ u T ∣ u C x ′ ⟩ .
The orthogonality of { ∣ u C x ′ ⟩ } u \{|uC_x'\rangle\}_u { ∣ u C x ′ ⟩ } u is ensured since C x ′ C_x' C x ′ has full rank. Taking the inner product with ∣ 0 n ⟩ |0^n\rangle ∣ 0 n ⟩ gives:
α = 1 α ∗ 2 − n [ ∑ v ∈ { 0 , 1 } n − m ( − 1 ) ( 0 m , v ) ⋅ b ] . (37) \alpha=\frac{1}{\alpha^*}2^{-n}\left[\sum_{v\in\{0,1\}^{n-m}}(-1)^{(0^m,v)\cdot b}\right]. \tag*{(37)} α = α ∗ 1 2 − n v ∈ { 0 , 1 } n − m ∑ ( − 1 ) ( 0 m , v ) ⋅ b . (37)
Hence,
∣ ψ ⟩ = α ∑ u ∈ { 0 , 1 } m ( − 1 ) ( u , 0 n − m ) ⋅ b i u Q ′ u T ∣ u C x ′ ⟩ . |\psi\rangle=\alpha\sum_{u\in\{0,1\}^{m}}(-1)^{(u,0^{n-m})\cdot b}i^{uQ'u^{T}}|uC_x'\rangle. ∣ ψ ⟩ = α u ∈ { 0 , 1 } m ∑ ( − 1 ) ( u , 0 n − m ) ⋅ b i u Q ′ u T ∣ u C x ′ ⟩ .
The normalization ⟨ ψ ∣ ψ ⟩ = 1 \langle\psi|\psi\rangle=1 ⟨ ψ ∣ ψ ⟩ = 1 and the orthogonality of { ∣ u C x ′ ⟩ } u \{|uC_x'\rangle\}_u { ∣ u C x ′ ⟩ } u implies that m = − log 2 ∣ α ∣ 2 m=-\log_2|\alpha|^2 m = − log 2 ∣ α ∣ 2 . Finally, we apply the local Clifford L L L to rotate to the original state:
∣ ψ ′ ⟩ = L ∣ ψ ⟩ = α ∑ u ∈ { 0 , 1 } m ( − 1 ) u ⋅ b ′ i u Q ′ u T L ∣ u C x ′ ⟩ , \begin{aligned}
|\psi'\rangle=L|\psi\rangle\\
&=\alpha\sum_{u\in\{0,1\}^{m}}(-1)^{u\cdot b'}i^{uQ'u^{T}}L|uC_x'\rangle,
\end{aligned} ∣ ψ ′ ⟩ = L ∣ ψ ⟩ = α u ∈ { 0 , 1 } m ∑ ( − 1 ) u ⋅ b ′ i u Q ′ u T L ∣ u C x ′ ⟩ ,
where we have used b ′ b' b ′ to denote the first m m m entries of the vector b b b . Relabeling the primed variables produces the claimed Equation (32) .
Classification into equivalence classes
We now classify all non-empty subsets S ⊆ S a l l S\subseteq S_{\mathrm{all}} S ⊆ S all into orbits under conjugation by U l o c ∈ C 1 U_{\mathrm{loc}}\in\mathcal{C}_1 U loc ∈ C 1 . For S ⊆ S a l l S\subseteq S_{\mathrm{all}} S ⊆ S all , and U l o c U_{\mathrm{loc}} U loc a single qubit Clifford, we define U l o c ↷ S : = { U l o c ∣ ϕ ⟩ ⟨ ϕ ∣ U l o c † ∣ ∣ ϕ ⟩ ⟨ ϕ ∣ ∈ S } U_{\mathrm{loc}}\curvearrowright S:=\{U_{\mathrm{loc}}|\phi\rangle\langle\phi|U_{\mathrm{loc}}^{\dagger}\mid|\phi\rangle\langle\phi|\in S\} U loc ↷ S := { U loc ∣ ϕ ⟩ ⟨ ϕ ∣ U loc † ∣ ∣ ϕ ⟩ ⟨ ϕ ∣ ∈ S } . This group action defines an equivalence relation ∼ l o c \sim_{\mathrm{loc}} ∼ loc on subsets S S S such that for any S , S ′ ⊆ S a l l S,S' \subseteq S_{\mathrm{all}} S , S ′ ⊆ S all , we have S ∼ l o c S ′ S \sim_{\mathrm{loc}} S' S ∼ loc S ′ iff S ′ S' S ′ is contained in the orbit of S S S :
Orb ( S ) : = { U l o c ↷ S ∣ U l o c ∈ C 1 } . (38) \operatorname{Orb}(S) := \{U_{\mathrm{loc}} \curvearrowright S \mid U_{\mathrm{loc}} \in C_1\}. \tag*{(38)} Orb ( S ) := { U loc ↷ S ∣ U loc ∈ C 1 } . (38)
As we will shortly show, Equation (5) provides the complete list of representatives for the orbits of all non-empty subsets of S a l l S_{\mathrm{all}} S all . As outlined in § 3 , if two subsets S , S ′ S,S' S , S ′ share an orbit, then they are related by the group action of some element U l o c ∈ C 1 U_{\mathrm{loc}} \in C_1 U loc ∈ C 1 . As per Equation (4) , this implies the existence of a symmetry U = U l o c ⊗ n U = U_{\mathrm{loc}}^{\otimes n} U = U loc ⊗ n in the optimization function which establishes a poly time reduction between NSPS ( S n , S ) \operatorname{NSPS}(S_n,S) NSPS ( S n , S ) and NSPS ( S n , S ′ ) \operatorname{NSPS}(S_n,S') NSPS ( S n , S ′ ) . Hence, we will show that for any non-empty S ′ ⊆ S a l l S' \subseteq S_{\mathrm{all}} S ′ ⊆ S all , the complexity of NSPS ( S n , S ′ ) \operatorname{NSPS}(S_n,S') NSPS ( S n , S ′ ) is (polynomial-time) equivalent to the complexity of NSPS ( S n , S ) \operatorname{NSPS}(S_n,S) NSPS ( S n , S ) for a unique S ∈ R e p s S \in\mathrm{Reps} S ∈ Reps .
Lemma 15. The set of all non-empty subsets of S a l l S_{\mathrm{all}} S all can be partitioned into nine equivalence classes with representatives R e p s \mathrm{Reps} Reps .
Proof. The total number of non-empty subsets S ⊆ S a l l S \subseteq S_{\mathrm{all}} S ⊆ S all is 2 6 − 1 = 63 2^6-1=63 2 6 − 1 = 63 . These can be partitioned into 63 = ( 6 1 ) + … + ( 6 6 ) 63 = \binom{6}{1}+\ldots+\binom{6}{6} 63 = ( 1 6 ) + … + ( 6 6 ) by cardinality, since equivalent subsets necessarily have the same cardinality. We claim that:
all subsets of cardinality 1 are equivalent to S ( 100 ) S_{(100)} S ( 100 )
all subsets of cardinality 2 are equivalent to either S ( 200 ) S_{(200)} S ( 200 ) or S ( 110 ) S_{(110)} S ( 110 )
all subsets of cardinality 3 are equivalent to either S ( 210 ) S_{(210)} S ( 210 ) or S ( 111 ) S_{(111)} S ( 111 )
all subsets of cardinality 4 are equivalent to either S ( 220 ) S_{(220)} S ( 220 ) or S ( 211 ) S_{(211)} S ( 211 )
all subsets of cardinality 5 are equivalent to S ( 221 ) S_{(221)} S ( 221 )
all subsets of cardinality 6 are equivalent to S ( 222 ) S_{(222)} S ( 222 )
Clearly, cardinality is preserved6 under the defined group action, hence each of the cardinalities is associated with at least one orbit. We will make use of another invariance that generalizes this observation. We note that the set of pairwise Hilbert–Schmidt inner products in any subset S ≠ ∅ S \ne\varnothing S = ∅ is invariant under the defined group action. For clarity, let us define the function:
N : { 0 , 1 / 2 , 1 } × P ( S a l l ) → N (39) N : \{0,1/2,1\} \times\mathcal{P}(S_{\mathrm{all}}) \to\mathbb{N} \tag*{(39)} N : { 0 , 1/2 , 1 } × P ( S all ) → N (39) ( v , S ) ↦ N v ( S ) : = ∣ { ( a , b ) ∈ S × S ∣ tr ( a b ) = v } ∣ , (40) (v,S) \mapsto N_v(S) := |\{(a,b) \in S \times S \mid\operatorname{tr}(ab)=v\}|, \tag*{(40)} ( v , S ) ↦ N v ( S ) := ∣ {( a , b ) ∈ S × S ∣ tr ( ab ) = v } ∣ , (40)
where, P ( S a l l ) \mathcal{P}(\mathcal{S}_{\mathrm{all}}) P ( S all ) denotes the power set of S a l l \mathcal{S}_{\mathrm{all}} S all . Since equivalent subsets are related by pairwise conjugation by a fixed unitary, if S ∼ l o c S ′ S \sim_{\mathrm{loc}} S' S ∼ loc S ′ then for all v ∈ { 0 , 1 / 2 , 1 } v \in\{0,1/2,1\} v ∈ { 0 , 1/2 , 1 } , we must have N v ( S ) = N v ( S ′ ) N_v(S) = N_v(S') N v ( S ) = N v ( S ′ ) . We note that N 1 ( S ) = ∣ S ∣ N_1(S) = |S| N 1 ( S ) = ∣ S ∣ which gives us the invariance of cardinality. Shortly we will also use N 0 ( ⋅ ) N_0(\cdot) N 0 ( ⋅ ) to distinguish orbits with the same cardinality.
We now prove claims 6, 1, 2 and 3 in that order. Claim 6 is trivial as S ( 222 ) \mathcal{S}_{(222)} S ( 222 ) is the only subset of size 6. Using Figure 2 , one can easily confirm that any element of S a l l \mathcal{S}_{\mathrm{all}} S all can be mapped to any other by a sequence of conjugations by Hadamard and phase gates. Hence every S ⊆ S a l l S \subseteq\mathcal{S}_{\mathrm{all}} S ⊆ S all with ∣ S ∣ = 1 |S| = 1 ∣ S ∣ = 1 is in Orb ( S ( 100 ) ) \operatorname{Orb}(\mathcal{S}_{(100)}) Orb ( S ( 100 ) ) .
Figure 2. The six single-qubit stabilizer states. The arrows indicate the transitions under the Hadamard (H H H ) and phase (Z \sqrt{Z} Z ) gates modulo a global phase.
For each of claims 2 and 3, we observe that there are (at least) two distinct orbits. Since:
N 0 ( S ( 200 ) ) = 2 ≠ 0 = N 0 ( S ( 110 ) ) N_0(\mathcal{S}_{(200)}) = 2 \ne0 = N_0(\mathcal{S}_{(110)}) N 0 ( S ( 200 ) ) = 2 = 0 = N 0 ( S ( 110 ) ) , i.e., subsets of cardinality 2 have at least 2 distinct orbits.
N 0 ( S ( 210 ) ) = 2 ≠ 0 = N 0 ( S ( 111 ) ) N_0(\mathcal{S}_{(210)}) = 2 \ne0 = N_0(\mathcal{S}_{(111)}) N 0 ( S ( 210 ) ) = 2 = 0 = N 0 ( S ( 111 ) ) , i.e., subsets of cardinality 3 have at least 2 distinct orbits.
We deal with each of the four orbits (associated with S ( 200 ) , S ( 110 ) , S ( 210 ) , S ( 111 ) \mathcal{S}_{(200)},\mathcal{S}_{(110)},\mathcal{S}_{(210)},\mathcal{S}_{(111)} S ( 200 ) , S ( 110 ) , S ( 210 ) , S ( 111 ) ) separately showing that the union of orbits S ( 200 ) , S ( 110 ) \mathcal{S}_{(200)},\mathcal{S}_{(110)} S ( 200 ) , S ( 110 ) encompass all subsets of cardinality 2 and the union of orbits S ( 210 ) , S ( 111 ) \mathcal{S}_{(210)},\mathcal{S}_{(111)} S ( 210 ) , S ( 111 ) encompass all subsets of cardinality 3.
The two element set S ( 200 ) \mathcal{S}_{(200)} S ( 200 ) contains an orthogonal pair of projectors. It is easy to verify that there are 3 such choices; these are associated with the ± 1 \pm1 ± 1 eigenprojections for the 3 Paulis X X X , Y Y Y and Z Z Z . We represent each of these subsets with the notation ( ± , 0 , 0 ) , ( 0 , ± , 0 ) (\pm,0,0),(0,\pm,0) ( ± , 0 , 0 ) , ( 0 , ± , 0 ) and ( 0 , 0 , ± ) (0,0,\pm) ( 0 , 0 , ± ) respectively. Since Z ↷ ( ± , 0 , 0 ) = ( 0 , ± , 0 ) \sqrt{Z} \curvearrowright(\pm,0,0) = (0,\pm,0) Z ↷ ( ± , 0 , 0 ) = ( 0 , ± , 0 ) and H ↷ ( ± , 0 , 0 ) = ( 0 , 0 , ± ) H \curvearrowright(\pm,0,0) = (0,0,\pm) H ↷ ( ± , 0 , 0 ) = ( 0 , 0 , ± ) , these 3 sets are connected by a group action and contain S ( 200 ) \mathcal{S}_{(200)} S ( 200 ) . Hence they are equivalent and represented by S ( 200 ) \mathcal{S}_{(200)} S ( 200 ) .
The two element set S ( 110 ) \mathcal{S}_{(110)} S ( 110 ) does not contain an orthogonal pair of projectors. We now claim that there are 3 × 2 × 2 = 12 3 \times2 \times2 = 12 3 × 2 × 2 = 12 such choices associated with choosing 2 of 3 Paulis from { X , Y , Z } \{X,Y,Z\} { X , Y , Z } and for each of the chosen Paulis, choosing one of two eigenprojections. We represent these in Table 2 . To show that all of these are connected under the group action of specific elements from C 1 C_1 C 1 , we show that the three elements in the top row of Table 2 are connected and that for any column, the top row element is connected to all other row elements. Observe that Z H ZH Z H maps ( + , + , 0 ) (+,+,0) ( + , + , 0 ) to ( 0 , + , + ) (0,+,+) ( 0 , + , + ) and Z † \sqrt{Z}^{\dagger} Z † maps ( 0 , + , + ) (0,+,+) ( 0 , + , + ) to ( + , 0 , + ) (+,0,+) ( + , 0 , + ) . Additionally, the three Paulis each move the eigenprojection choice “+1 and +1” to each of the other choices in the same column. Hence, all 12 elements are contained in Orb ( S ( 110 ) ) \operatorname{Orb}(\mathcal{S}_{(110)}) Orb ( S ( 110 ) ) . This accounts for all size 2 subsets as there are ( 6 2 ) = 15 = 3 + 12 \binom{6}{2} = 15 = 3 + 12 ( 2 6 ) = 15 = 3 + 12 .
Table 2. Table associated with subsets in Orb ( S ( 110 ) ) \operatorname{Orb}(\mathcal{S}_{(110)}) Orb ( S ( 110 ) )
The three element set S ( 210 ) \mathcal{S}_{(210)} S ( 210 ) contains an orthogonal pair of projectors. We now claim that there are 3 × 2 × 2 = 12 3 \times2 \times2 = 12 3 × 2 × 2 = 12 such choices associated with choosing 1 of 3 Paulis from { X , Y , Z } \{X,Y,Z\} { X , Y , Z } that will contribute both eigenprojectors, then choosing 1 of the remaining 2 Paulis and choosing one of its two eigenprojections. We represent each of these subsets in Table 3 . To show that all of these are connected under the group action of specific elements from C 1 C_1 C 1 , we first consider how the phase gate connects these subsets. Specifically, we consider the Z \sqrt{Z} Z -orbits of elements in Table 3 :
Table 3. Table associated with subsets in Orb ( S ( 210 ) ) \operatorname{Orb}(\mathcal{S}_{(210)}) Orb ( S ( 210 ) ) . The columns are associated with the choice of Pauli P ∈ { X , Y , Z } P \in\{X,Y,Z\} P ∈ { X , Y , Z } that contributes both eigenprojectors. The rows, are associated with the choice of the final projector. This is determined by choosing a Pauli Q ∈ { X , Y , Z } ∖ { P } Q \in\{X,Y,Z\} \setminus\{P\} Q ∈ { X , Y , Z } ∖ { P } and the sign associated with its eigenprojector. We label Q Q Q relative to P P P using the cyclic Pauli order X Y Z XYZ X Y Z so for example, if P = X P=X P = X then the next Pauli is Y Y Y and the previous Pauli is Z Z Z .
Orb ( S ) Z : = { Z p ↷ S ∣ p ∈ Z 4 } . (41) \operatorname{Orb}(S)_{\sqrt{Z}} := \left\{ \sqrt{Z}^{p} \curvearrowright S \mid p \in\mathbb{Z}_4 \right\}. \tag*{(41)} Orb ( S ) Z := { Z p ↷ S ∣ p ∈ Z 4 } . (41)
Since the phase gate acts trivially on the Pauli Z Z Z eigenprojectors, the number and sign of Z Z Z eigenprojectors remains invariant. The phase gate acts as a 4-cycle permuting the entries in the rightmost column of Table 3 ; let us call these the ± Z \pm Z ± Z Z \sqrt{Z} Z -orbit. Another 4-cycle Z \sqrt{Z} Z -orbit is given by { ( ± , + , 0 ) , ( − , ± , 0 ) , ( ± , − , 0 ) , ( + , ± , 0 ) } \{(\pm,+,0),(-,\pm,0),(\pm,-,0),(+,\pm,0)\} {( ± , + , 0 ) , ( − , ± , 0 ) , ( ± , − , 0 ) , ( + , ± , 0 )} which we call the empty-Z Z Z Z \sqrt{Z} Z -orbit. Additionally, two 2-cycle Z \sqrt{Z} Z -orbits are given by { ( ± , 0 , + ) , ( 0 , ± , + ) } \{(\pm,0,+),(0,\pm,+)\} {( ± , 0 , + ) , ( 0 , ± , + )} and { ( ± , 0 , − ) , ( 0 , ± , − ) } \{(\pm,0,-),(0,\pm,-)\} {( ± , 0 , − ) , ( 0 , ± , − )} which we call the + Z +Z + Z and the − Z -Z − Z Z \sqrt{Z} Z -orbits respectively. We now note that the action of the Hadamard gate connects each of the + Z +Z + Z , − Z -Z − Z and empty-Z Z Z Z \sqrt{Z} Z -orbits to the ± Z \pm Z ± Z Z \sqrt{Z} Z -orbit. Specifically, H ↷ ( ± , 0 , + ) = ( + , 0 , ± ) H \curvearrowright(\pm,0,+)=(+,0,\pm) H ↷ ( ± , 0 , + ) = ( + , 0 , ± ) , H ↷ ( ± , 0 , − ) = ( − , 0 , ± ) H \curvearrowright(\pm,0,-)=(-,0,\pm) H ↷ ( ± , 0 , − ) = ( − , 0 , ± ) and H ↷ ( ± , − , 0 ) = ( 0 , + , ± ) H \curvearrowright(\pm,-,0)=(0,+,\pm) H ↷ ( ± , − , 0 ) = ( 0 , + , ± ) . Hence all 12 subsets in Table 3 lie in Orb ( S ( 210 ) ) \operatorname{Orb}(\mathcal{S}_{(210)}) Orb ( S ( 210 ) ) .
The three element set S ( 111 ) \mathcal{S}_{(111)} S ( 111 ) does not contain any orthogonal pair of projectors. We now claim that there are 2 × 2 × 2 = 8 2 \times2 \times2=8 2 × 2 × 2 = 8 such choices associated with choosing 1 of 2 eigenprojectors for each of the 3 Paulis { X , Y , Z } \{X,Y,Z\} { X , Y , Z } . Each of these can be represented as one of the strings ( + , + , + ) , ( + , + , − ) , ( + , − , + ) , ( + , − , − ) , ( − , + , + ) , ( − , + , − ) , ( − , − , + ) , ( − , − , − ) (+,+,+),(+,+,-),(+,-,+),(+,-,-),(-,+,+),(-,+,-),(-,-,+),(-,-,-) ( + , + , + ) , ( + , + , − ) , ( + , − , + ) , ( + , − , − ) , ( − , + , + ) , ( − , + , − ) , ( − , − , + ) , ( − , − , − ) . The action of phase gates breaks these up into two 4-cycles. Recycling our naming convention, we call these the + Z +Z + Z and − Z -Z − Z Z \sqrt{Z} Z -orbits. We observe that a Pauli X X X connects these Z \sqrt{Z} Z -orbits. Hence all 8 subsets lie in Orb ( S ( 111 ) ) \operatorname{Orb}(\mathcal{S}_{(111)}) Orb ( S ( 111 ) ) . This accounts for all size 3 subsets as there are ( 6 3 ) = 20 = 12 + 8 \binom{6}{3}=20=12+8 ( 3 6 ) = 20 = 12 + 8 .
Only claims 4 and 5 remain to be proven. We prove these by reducing them to the already proven claims 2 and 1 respectively. For this, we use the set complement function:
¬ : P ( S a l l ) → P ( S a l l ) S ↦ ¬ S : = S a l l ∖ S . \begin{aligned}
\neg&: \mathcal{P}(\mathcal{S}_{\mathrm{all}}) \to\mathcal{P}(\mathcal{S}_{\mathrm{all}}) \\
S &\mapsto\neg S := \mathcal{S}_{\mathrm{all}} \setminus S.
\end{aligned} ¬ S : P ( S all ) → P ( S all ) ↦ ¬ S := S all ∖ S .
We claim that this bijection has the property that for all S , S ′ ⊆ S a l l S,S' \subseteq\mathcal{S}_{\mathrm{all}} S , S ′ ⊆ S all , S ∼ l o c S ′ ⟺ ¬ S ∼ l o c ¬ S ′ S \sim_{\mathrm{loc}} S' \Longleftrightarrow\neg S \sim_{\mathrm{loc}} \neg S' S ∼ loc S ′ ⟺ ¬ S ∼ loc ¬ S ′ . This implies that for all S ⊆ S a l l S \subseteq\mathcal{S}_{\mathrm{all}} S ⊆ S all , the set of entry-wise complements of Orb ( S ) \operatorname{Orb}(S) Orb ( S ) form an orbit Orb ( ¬ S ) \operatorname{Orb}(\neg S) Orb ( ¬ S ) . In particular:
Since ¬ S ( 221 ) = ( 0 , 0 , − ) ∈ Orb ( S ( 100 ) ) \neg\mathcal{S}_{(221)}=(0,0,-)\in\operatorname{Orb}(\mathcal{S}_{(100)}) ¬ S ( 221 ) = ( 0 , 0 , − ) ∈ Orb ( S ( 100 ) ) ; this implies that Orb ( S ( 221 ) ) \operatorname{Orb}(\mathcal{S}_{(221)}) Orb ( S ( 221 ) ) is the entry-wise complement of Orb ( S ( 100 ) ) \operatorname{Orb}(\mathcal{S}_{(100)}) Orb ( S ( 100 ) ) .
Since ¬ S ( 220 ) = ( 0 , ± , 0 ) ∈ Orb ( S ( 200 ) ) \neg\mathcal{S}_{(220)}=(0,\pm,0)\in\operatorname{Orb}(\mathcal{S}_{(200)}) ¬ S ( 220 ) = ( 0 , ± , 0 ) ∈ Orb ( S ( 200 ) ) ; this implies that Orb ( S ( 220 ) ) \operatorname{Orb}(\mathcal{S}_{(220)}) Orb ( S ( 220 ) ) is the entry-wise complement of Orb ( S ( 200 ) ) \operatorname{Orb}(\mathcal{S}_{(200)}) Orb ( S ( 200 ) ) .
Since ¬ S ( 211 ) = ( 0 , − , − ) ∈ Orb ( S ( 110 ) ) \neg\mathcal{S}_{(211)}=(0,-,-)\in\operatorname{Orb}(\mathcal{S}_{(110)}) ¬ S ( 211 ) = ( 0 , − , − ) ∈ Orb ( S ( 110 ) ) ; this implies that Orb ( S ( 211 ) ) \operatorname{Orb}(\mathcal{S}_{(211)}) Orb ( S ( 211 ) ) is the entry-wise complement of Orb ( S ( 110 ) ) \operatorname{Orb}(\mathcal{S}_{(110)}) Orb ( S ( 110 ) ) .
It only remains to prove the claimed property of the complement map. Suppose S ∼ l o c S ′ S \sim_{\mathrm{loc}} S' S ∼ loc S ′ , this means that there exists U l o c ∈ C 1 U_{\mathrm{loc}}\in C_1 U loc ∈ C 1 such that U l o c ↷ S = S ′ U_{\mathrm{loc}}\curvearrowright S=S' U loc ↷ S = S ′ . Now, we observe that when U l o c U_{\mathrm{loc}} U loc acts by conjugation on the elements of S a l l \mathcal{S}_{\mathrm{all}} S all , it permutes them. Since S a l l \mathcal{S}_{\mathrm{all}} S all is the disjoint union of S S S and ¬ S \neg S ¬ S , this establishes that U l o c ↷ S = ¬ ( U l o c ↷ ¬ S ) U_{\mathrm{loc}} \curvearrowright S = \neg(U_{\mathrm{loc}} \curvearrowright\neg S) U loc ↷ S = ¬ ( U loc ↷ ¬ S ) as per the commutative diagram Figure 3 . Hence, U l o c ↷ S = S ′ ⟹ U l o c ↷ ¬ S = ¬ S ′ U_{\mathrm{loc}} \curvearrowright S = S' \Longrightarrow U_{\mathrm{loc}} \curvearrowright\neg S = \neg S' U loc ↷ S = S ′ ⟹ U loc ↷ ¬ S = ¬ S ′ . Applying the same argument in reverse using U l o c † U_{\mathrm{loc}}^\dagger U loc † proves the reverse implication.
Figure 3. The commutative diagram for the complement map and entry-wise conjugation by any fixed U l o c U_{\mathrm{loc}} U loc . Since the top row and the bottom row are both disjoint unions of S a l l \mathcal{S}_{\mathrm{all}} S all and entry-wise conjugation by any fixed U l o c U_{\mathrm{loc}} U loc permutes the entries of S a l l \mathcal{S}_{\mathrm{all}} S all , it must hold that ¬ ( U l o c ↷ S ) = U l o c ↷ ¬ S \neg(U_{\mathrm{loc}} \curvearrowright S) = U_{\mathrm{loc}} \curvearrowright\neg S ¬ ( U loc ↷ S ) = U loc ↷ ¬ S .