The Pure-State Consistency of Local Density Matrices Problem: In PSPACE and Complete for a Class Between QMA and QMA(2)
Abstract
In this work we investigate the computational complexity of the pure consistency of local density matrices () and pure -representability (--; analog of for bosonic or fermionic systems) problems. In these problems the input is a set of reduced density matrices and the task is to determine whether there exists a global pure state consistent with these reduced density matrices. While mixed , i.e. where the global state can be mixed, was proven to be -complete by Broadbent and Grilo [JoC 2022], almost nothing was known about the complexity of the pure version. Before our work the best upper and lower bounds were and . Our contribution to the understanding of these problems is twofold.
Firstly, we define a pure state analogue of the complexity class of Aharanov and Regev [FOCS 2003], which we call . We prove that both -- and are complete for this new class. Along the way we supplement Broadbent and Grilo by proving hardness for 2-qubit reduced density matrices and showing that mixed - is -complete.
Secondly, we improve the upper bound on . Using methods from algebraic geometry, we prove that . Our methods, and the upper bound, are also valid for with exponential or even perfect precision, hence is not -complete, unless . We view this as evidence for a negative answer to the longstanding open question whether is -complete.
The techniques we develop for our upper bound are quite general. We are able to use them for various applications: from proving upper bounds on other quantum problems to giving an efficient parallel () algorithm for (non-convex) quadratically constrained quadratic programs with few constraints.
Keywords and phrases:
Quantum Complexity Theory, PSPACE, QMA(2), Consistency of Local Density Matrices, Polynomial OptimizationFunding:
Jonas Kamminga: supported by the DFG under grant number 450041824.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Quantum complexity theoryAcknowledgements:
The authors would like to thank Dima Grigoryev for suggesting that the GP algorithm could be parallelized, pointing to helpful references, and giving us advice on how this could be proven.Editor:
Shubhangi SarafSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
“Are these local density matrices consistent with some global state?” This quantum variant of the -complete marginal problem is known as the consistency of local density matrices problem () or quantum marginal problem and as the -representability problem () when dealing with indistinguishable particles. It is of fundamental interest to quantum physics. In fact, it was already recognized as an important question in the sixties [10]. At that time, the hope was that the ground state energy of quantum systems could be found using reduced density matrices. This hope was supported by the fact that Hamiltonians showing up in nature are all local. One requirement would be that it is possible to check that alleged reduced density matrices are indeed consistent with a valid global quantum state, hence the interest in the problem.
Over the years it became apparent that this hope would not materialize, especially when Kitaev proved that computing ground state energies of local Hamiltonians is -hard [20]. Also the problem itself was proven to be hard. First by Liu, who proved that the (mixed state) problem is contained in and -complete under Turing reductions [22] and later, together with Christandl and Verstraete, proved that the -representability problem is also -complete under Turing reductions [23]. This was improved by Broadbent and Grilo who showed that the mixed is also -hard under Karp reductions, establishing it as -complete [9].
In this work we focus our attention on a variant of that is of interest to physics and complexity theory. This variant, the pure consistency of local density matrices problem, or asks not whether there exists any state consistent with the reduced density matrices, but demands that this consistent state is pure. Physically, this restriction to pure states is well motivated as isolated systems will always be in a pure state. If one has some reduced density matrices of some molecule it might be more interesting to know whether these are consistent with some global state of the molecule in isolation, i.e. a pure state, rather than some larger state where the molecule is entangled with its environment.
From a complexity point of view is interesting because of its connections with the class . While the complexity of mixed is well understood to be , the best known upper bound to is the class and it has been a longstanding open question whether is complete for [23]. If it would be complete that would be interesting for several reasons. Firstly, it would be a highly physically motivated complete problem for , a class that has attracted a lot of attention but generally lacks physical complete problems. Secondly, there has been a large interest in the relation between purity testing and . In many ways, the power of seems to come from the ability to do SWAP tests [16]. On the other hand, a correspondence between protocols over separable states and protocols with a purity constraint has been used in several works (e.g. [16, 32]). Recently, it has been suggested that purity testing could already be enough to give its power [4]. Establishing as a complete problem for would suggest that indeed SWAP tests are not necessary to capture the power of and indeed a purity constraint is already enough.
1.1 Our results
In this work we investigate the complexity of and and give evidence towards a negative answer to the longstanding open question whether they are -complete.
Definition 1.1 (, informal).
We are given pairs , where the are reduced density matrices and with for all . Additionally, we are given parameters and with . Decide whether:
-
YES: there exists a consistent pure state, that is, a state such that for all .
-
NO: all pure states are “far from” consistent, that is, for all , there is an with .
1.1.1 is complete for
Our first main result on the complexity of is that it is complete for the class of (promise) problems decided by a “super-verifier” (c.f. [2]) that is given a pure state proof. Following [2] we call this class .111[2] use the name , but recently has been used to refer to with proofs with nonnegative amplitudes [17, 5]. As is sometimes referred to as with a super-verifier, we use .
Definition 1.2 (, informal).
A promise problem is in if there exist constraints such that:
-
, that is, the accept with acceptance probability at most away from .
-
, that is, at least a fraction of the accept with probability more than away from .
Here denotes the acceptance probability of the circuit when ran on input .
In the following we refer to as the number of checks or constraints and to and as precision parameters. We denote the union of where is polynomial and and are inverse polynomial as .
We show that the definition of can be significantly simplified: we can set all and all without changing the complexity. Our proof of -completeness holds already for , which is with “exact consistency” as well as for Bosonic/Fermionic .
Theorem 1.3.
is -complete for all .
Corollary 1.4.
Fermionic/bosonic is -complete.222Technical details of are in the full version [18].
Note that as the complete complexity class is quite natural, since Liu’s proof for also goes via . Since a pure state analogue to this latter statement is not known, we have to remain the super-verifier regime. Along the way to Theorem 1.3, we show that the problem is already -hard for . This improves upon the results by Broadbent and Grilo [9] who show hardness for . We also resolve one of their open questions by showing that the (mixed) fermionic and bosonic -representability problems are -hard, already for -particle reduced density matrices.
1.1.2 as a “light” version of
Next, we prove results suggesting can be viewed as a “light” version of . It lies between and but contains already with -size proofs and becomes when the number of checks and the precision are exponential. This mirrors that also contains with -size proofs [6] and becomes equal to when made exponentially precise [26]. On the other hand, with -size proofs is equal to [24], which is believed not to contain , and [11] is believed to be different from . Figure 1 depicts the relationships between the classes discussed here.
Proposition 1.5.
.
Proposition 1.6.
can be decided in already with -size proofs.
Proposition 1.7.
1.1.3 is upper bounded by
Proving a non-trivial upper bound on the complexity of is a major open question in the field. As such, one might wonder whether our “light” version of does admit a non-trivial upper bound. Our second main result is that it does indeed, namely . This sharpens the upper bound on the complexity of from to .
Theorem 1.8.
.
Our proof relies on methods from algebraic geometry and also works for with exponential or even perfect precision as long as the number of constraints is polynomial.
What does this mean for ? Of course showing that is -hard would imply but there is a catch. To prove Theorem 1.8 we use methods from algebraic geometry that also work for with exponential precision and even with perfect precision. This allows us to obtain the following corollary.
Corollary 1.9.
If is -hard, then .
This corollary can be interpreted either as evidence that is not -hard, or as a barrier to a hardness proof: any such proof must fail in the precise case, assuming that .
Furthermore, by combining Propositions 1.5 and 1.3 we conclude that can only be -complete if a polynomial number of constraints give the same power as exponentially many constraints.
Corollary 1.10.
If , then is not -hard.
Lastly, the fact that contains already with -size proofs is sometimes taken as evidence that could be equal to . We argue that our results imply that this is not evidence at all. Indeed, also contains with -size proofs but is contained in .
1.1.4 Solving systems of quadratic equations efficiently in parallel
To prove Theorem 1.8 we rely on techniques by Grigoriev and Pasechnik [14] for solving certain polynomials. We call such polynomials GP systems.
Definition 1.11 (GP system (informal)).
A GP system is a polynomial of the form , where is a degree polynomial in “few” variables, and is quadratic in “many” variables. We assume the coefficients of and are integers of bit size at most . A solution to the system is a point such that .
Grigoriev and Pasechnik give an algorithm that can compute a set of univariate representation of solutions of that intersects all connected components of the solution set [14, Theorem 1.2]. Their algorithm requires arithmetic operations.
We show how to write a verifier as a GP system with and such that the system has a solution iff the verifier accepts some pure proof. The results by Grigoriev and Pasechnik then immediately imply . To prove containment in we modify the algorithm to work efficiently in parallel. The techniques we develop turn out to be much more general. They also show that solving quadratic systems with few constraints is in , or Nick’s Class, which captures efficient parallel computation.
Definition 1.12 (Nick’s Class [3]).
The -th level of , , consists of all languages decidable in time using parallel processors. is the union of over all .333Equivalently, can be defined as the class of languages decidable by an -depth circuit of size .
The class of all decision problems decidable in time on processors is equal to [7]. Our modification of Grigoriev and Pasechnik’s algorithm yields:
Theorem 1.13.
Let be a GP system. There is a parallel algorithm for deciding whether has a root. The algorithm uses parallel processors and needs time. In particular, if the computation can be done in . If and then the algorithm is in .
We further build upon [14] and consider the following optimization problem which includes the task of quantifying how inconsistent local density matrices are.
Definition 1.14 (OptGP).
An OptGP instance consists of a degree polynomial and a GP system with bounded solution set . The task is to compute or approximate .
We give a parallel algorithm for approximating the optimum of a OptGP system as well as approximating a witness to this optimum.
Theorem 1.15.
Let be an OptGP instance. There is a parallel algorithm that computes a -approximation to and to some with and . The algorithm uses parallel processors and needs time.
Grigoriev and Pasechnik [14, Theorem 1.5] also state a theorem with a sequential algorithm for the optimization problem that also applies to unbounded , but their proof is not yet available to the best of our knowledge.
Finally, we showcase the applicability of the developed algorithms. The formal treatment of these applications are deferred to the full version [18] but we already state the results.
First, we improve upon a result by Shi and Wu. In [30] they give a algorithm for optimizing the energy of “decomposable” Hamiltonians over separable states. Using our framework we are able to reprove this fact, and even get a better runtime dependence on the error.
Second, we show that deciding if there exists a unique444We say a state is the unique state consistent with some local density matrices if any state that is orthogonal to is far from consistent. pure state that is consistent with given local density matrices is also in . In other words, we can decide in whether the local density matrices fully describe the physics of the system.
Third, we show how to decide a variant of , where the input only specifies the spectrum of the local density matrices. This version is sometimes referred to as the quantum marginal problem, although others use that name for our .
Fourth, we consider a pure-state variant of . This class (see [1, 8]) captures protocols where Merlin promises to send many copies of a proof in tensor product, but Arthur has measure each copy independently and then decide to accept or reject based on the classical measurement outcomes. It turns out that is actually equal to [8]. The variant we consider, adds the additional promise that the proof is pure and does not obviously equal . It is easily seen that as Arthur can approximate the acceptance probability of the checks by doing many independent measurements. We slightly strengthen Theorem 1.8 by proving that also .
Lastly, we consider an entirely classical problem: quadratic programming with few constraints. A quadratically constrained quadratic program (QCQP) is an optimization problem of the form
| (1a) | ||||
| subject to | (1b) | |||
As a final application of the GP framework, we show that QCQPs can be solved in if the number of constraints is constant. Note that we do not require any assumptions on the such as positivity, symmetry or bounds on the condition number.
1.2 Proof techniques
Sketches of our proof can be found in Sections 4, 5, and 6. The formal proofs can be found in the full version [18].
1.3 Related work
The computational complexity of (mixed) and has previously been studied by Liu, Broadbent and Grilo, as mentioned before. Liu [22] proves that (mixed) is contained in and hard under Turing reductions. Similar results for are proven in [23]. This was improved by Broadbent and Grilo who proved (among other results regarding zero-knowledge proof systems) that (mixed) is also -hard under Karp reductions, thereby fully resolving its complexity [9]. Both Liu, and Broadbent and Grilo do not intensively study , although [23] does show containment of fermionic in , leaving hardness as an open question. A similar containment for bosonic was shown in [31].
That does not mean that and have not been studied before. There is a large body of work focussing on finding necessary and/or sufficient conditions for reduced density matrices to be consistent with a global state. Among these works is [21], which focuses on the case where the reduced density matrices are non-overlapping. The paper establishes conditions that are necessary and sufficient for the existence of a consistent pure state in this case. Mazziotti [25] derives necessary conditions for a two-fermion density matrix to have a consist global -fermion pure state.
[32] rewrite as an optimization problem over separable state. They then apply the method of symmetric extensions to this notoriously hard problem to describe as a hierarchy of SDP’s. That is, they describe SDP’s depending on a parameter such that any “No” instance will be discovered by the SDP for sufficiently large . They do not, however, prove any upper bounds on the size of required.
In [4], the authors consider with an internally separable proof. They prove that when this proof is mixed, the class is contained in , whereas it is equal to if the proof is pure. This provides the, to our knowledge first, instance where pure proofs are provably stronger than mixed proofs, modulo standard complexity theoretic assumptions.
An algorithm for solving polynomial systems more general than those considered in Theorem 1.13 is given in [13]. It shows that a system of polynomials of degree in variables can be solved in time . One downside to this algorithm is that it finds a solution over the complex numbers instead of the reals. This makes it hard to constrain the norm of variables, as the complex conjugate is not a polynomial.
1.4 Discussion and open questions
Our work sheds some more light on the complexity of and . However, the story is far from complete as the relation between and or remains poorly understood. We conjecture
Conjecture 1.16.
.
We give some evidence that differs from . Indeed, we prove that their precise versions are equal only if . However, this does not necessarily carry over from the precise setting to the “standard” setting. It would therefore be nice to see more evidence that , such as an oracle separation. Of course, separating from relative to an oracle is at least as hard as separating from in this way, something that has been eluding researchers to this date. Perhaps, however, the new perspective offered by can lead to new insights.
Recently, it has been suggested that purity testing is at the heart of ’s power [4]. While we provide evidence that is not -hard, that does not mean the end for this suggestion. One way to formalize the idea that ’s power derives from purity would be to prove that . Note that our results do not provide evidence against this equality, as the upper bound crucially relies on there being only polynomially many constraints.
The relationship between and with a constant number of checks could also be interesting. It can be shown that with a single check as there is no single check passed by a mixed state but not by a pure state555If there exists a mixed state passing the check then there exist pure states such that is accepted with probability and is accepted with probability . By interpolating between these states and the Intermediate Value Theorem it follows that there exists some pure state accepted with probability exactly . We have been unable to find a set of 2 constraints with a consistent mixed state but no consistent pure state but leave as an open question.
Lastly, it would be nice to see if the GP system framework used for our upper bound can find other uses. An approach one could take here is to try to use it for a or upper bound on . There are two main obstacles here. Firstly, any such approach needs to make essential use of the promise gap in order to work for but not for (assuming ). Secondly, naively converting a instance into polynomials yields degree 3, for which the techniques from [14] no longer work.
2 Preliminaries
The main object of study in this paper is the problem on qubits.
Definition 2.1 ().
We are given a set of reduced density matrices with bits of precision, where each acts on qubits with , as well as thresholds with . Decide:
-
YES: There exists a state such that for all .
-
NO: For all states , there exists an such that .
For , we denote the problem by . Define and analogously, but allowing a mixed state in place of .
Note that and (mixed) are indeed different. The following example shows that a consistent mixed state may exist even if no consistent pure state exists.
Example 2.2.
Let , where . Then all -local reduced density matrices of are . Assume there exists a pure state such that for all . Then since has no overlap with any string of Hamming weight . Hence, must be of the form with . Then , where . However, then since their rank differs, which contradicts the choice of .
3 PureSuperQMA
In this section we define the complexity class . Following the definition we prove that contains and some other properties of the class, suggesting it can be thought of as a “light” version of . We end the section by establishing a canonical form for , cleaning up the definition. This canonical form will be important in the next section, where we use it for the hardness proof.
Definition 3.1 (, c.f. [2]).
A promise problem is in if there exists a uniformly generated super-verifier666Our definition of a super verifier here might seem slightly different from Aharanov and Regev’s definition. Note that their definition can be recovered from our by repeating the same constraint as necessary. on proof qubits and ancilla qubits () such that
-
,
-
,
where is the set of unit vectors on qubits, is drawn uniformly at random, and denotes the acceptance probability of on input .777Here and in the following, we use to denote the density operator . We call each triple a constraint or a check. Let
| (2) |
Lemma 3.2.
for
Proposition 1.5. [Restated, see original statement.]
.
Proof sketch.
First note that follows by setting and in the definition of . For the other inclusion we use the fact that [16]. With probability each, the verifier performs one of the following tests: (i) Run swap tests between random disjoint pairs of the registers to ensure the input state is close to a state of the form . (ii) Pick uniformly at random and run on all proofs, recording the outcomes as , and let . Accept if . For sufficiently large , we can use Hoeffding’s inequality to prove completeness and soundness.
Note that we still get containment in , even with an exponential number of constraints, as long as in the NO-case the acceptance probability deviates from for a significant fraction of constraints. However, we do have some reason to believe that is only hard for with a polynomial number of constraints since the hardness proof works for any precision parameter and (see Theorem 1.13) even for exponentially small precision. In contrast, if we have both an exponential number of constraints and exponential precision, then contains .
See 1.6 Following [6]’s proof of containment of in with -size proofs, the idea behind the proof is verify a -coloring instance by having the prover send a state of the form . To forcing the prover to send a proof of this form we design constraints to force every vertex to show up in the superposition and to have exactly one color associated to it. For the technical details, see the full version [18].
A similar proof using succinct -coloring rather than normal -coloring shows the following result.
Proposition 1.7. [Restated, see original statement.]
Since (i.e. with exponentially small promise gap) by the same argument as Proposition 1.5, we also recover the following known result:
To prove that is -complete, we will use a simplified but equivalent definition:
Definition 3.4 ().
A promise problem is in if there exists a uniformly generated super-verifier on proof qubits and ancilla qubits () such that
-
,
-
,
where is the set of unit vectors on qubits.
Let .
In other words, is where all the ’s are set to and all the ’s to 0.
Lemma 3.5.
.
4 2-PureCLDM is PureSuperQMA-complete
Proof sketch.
Containment holds by Lemma 3.2. It remains to prove that is -hard (Lemma 3.5). For simplicity, we only prove hardness of , but is analogous since simulatability works for any .
Our proof closely follows the proof for the -completeness of the (mixed) problem by Broadbent and Grilo [9] based on locally simulatable codes. The broad idea behind their proof is as follows: starting with a verifier we can use Kitaev’s circuit-to-Hamiltonian construction to build a Hamiltonian that has low-energy state if and only if would accept. This low-energy state, the history state, encodes the behavior of the verifier. Broadbent and Grilo’s aim is to construct local density matrices that are consistent with the history state if accepts, and are inconsistent otherwise.
The main difficulty is that the behavior of the verifier, and hence the history state, depend on the proof given to the verifier. This is solved by considering a different verifier that mirrors the actions of but acts on encoded data. By choosing an -simulatable code for this encoding this has as crucial advantage that the -local density matrices at any point during the computation can be computed efficiently.888Note that these no longer depend on the proof. Intuitively, all information contained in the proof has been moved to the correlations between larger sets of qubits.
One technical detail that will be especially important to us is that the new verifier needs to check whether the proof it received is properly encoded. To ensure that the local density matrices can still be computed during this checking procedure, Broadbent and Grilo have the prover send the original proof encoded under a one-time pad and the one-time pad keys. It is this one-time pad constructions that causes the Broadbent Grilo proof to fail for as a cheating prover could send different pure states for each key, making the full state behave like a mixed state.
We will now sketch our construction. Highlighting especially where we deviate from Broadbent and Grilo. For the technical details and proofs we refer to the full version [18].
Consider a problem that is decided by a super-verifier on proof qubits and ancilla qubits. We will now describe how is reduced to a instance that is consistent if the super-verifier accepts and inconsistent if it rejects.
First, we define a modified super-verifier that accepts a one-time padded proof. A crucial difference with Broadbent and Grilo is that we use the same key to encrypt every qubit. The expected proof will be of the form
| (3) |
where the are proofs accepted by that can (but do not have to) depend on . Every individual qubit will still be maximally mixed, but there are only different keys. By projecting the key register down to fixed values of , the modified super-verifier can check that is indeed accepted by . As there are only a 4 different key values (rather than exponentially many for BG), the super-verifier can include checks for each of the possible projections.
Next, we unify all constraints in into a single circuit that we can apply a circuit-to-Hamiltonian construction to, and, following Broadbent and Grilo, make this circuit act on encoded data using an -simulatable code.
Definition 4.1 (-simulatable code [9]999Our definition deviates from [9, Definition 4.1] in that it does not require transversal circuits for all gates. In fact the simulatable codes in [9] also use non-transversal gates for the -gadgets given in [9, Section 4.3].).
Let be an -QECC, and a universal gateset, such that for each logical gate on qubits, there exists a physical circuit with that implements with the help of an -qubit magic state . We say is -simulatable if there exists a deterministic -time algorithm with , , , , and output , such that for any -qubit state
| (4) |
where denotes the encoding of under .
The unified circuit expects the proof to be encoded with , such that is -simulatable. has a proof register on logical qubits, and an ancilla register on , where the additional ancilla qubits are used as resources for the -gates. is defined in Figure 2
The way we combine the might seem puzzling at first: we run the encoded version of , decode its output qubit, encode it again and run the encoded version of . While this acts as the identity, we will be able to extract the acceptance behavior of the from the history state of .
Unlike Broadbent and Grilo, we use the 2-local circuit-to-Hamiltonian construction from [19] to obtain a Hamiltonian .101010Broadbent and Grilo use Kitaev’s original 5-local construction. Let us now briefly state an important property of the -local construction and the Extraction Lemma, which we use to extract the acceptance probabilities of the from the history state.
Lemma 4.3 (Variant of [19, Lemma 5.1]).
Let be a quantum circuit on qubits that only consists of -local gates and CZ gates followed and preceded by two gates, , and . Then there exists a -local Hamiltonian on qubits and , such that for all , and if , then there exists a state in (pure if is pure), such that , where for ,
| (5) |
Note that circuits consisting of only -local gates and CZ gates followed and preceded by two gates are universal. We can thus assume that all circuits we consider have this form.
Lemma 4.4 (Extraction Lemma).
Let as defined in Lemma 4.3 with for some . Let , , , and . There exists a linear function (independent of the circuit) such that and for all .
Now suppose we have a state approximately consistent with a set of -local density matrices that has low energy with respect to the -local Hamiltonian of Lemma 4.3. Thus and must be close to a history state. In general, we do not know how to compute local density matrices of an accepting history state. However, by the properties of the -simulatable code, these can be computed for the encoded portion of the circuit. Using the Extraction Lemma, we also know the -local density matrices of an output qubit after decoding.
Let be the history state for , such that the input satisfies every constraint in perfectly:
| (6) |
Using the properties of the simulatable code, it can be argued that reduced density matrices of can be classically efficiently computed.
Claim 4.5.
There exists a deterministic classical algorithm that outputs a classical description of for with in time .
To apply the Extraction Lemma we would like to force any state consistent with the output of the reduction to be close to a history state. To achieve this we use the following trick: the reduction computes the energy of the reduced density matrices it would output (this is possible since is -local). If this energy is too high, the reduction simply outputs a trivial “No” instance111111We would like to reject here, but as we are describing the reduction we cannot directly do this. Instead, we output a trivial “No” instance which has the same effect.. If the energy is sufficiently small, we can show that any consistent state must be close to a history state as desired.
We have now assembled all the pieces and are ready to sketch the actual reduction and hardness proof. Let be as at the beginning of Section 4, and let be as defined below Lemma 4.2. Given an instance , we compute a instance as follows:
-
1.
Compute the Hamiltonian with by applying Lemma 4.3 to for (to be determined in the soundness proof).
-
2.
For all , compute .
-
3.
Compute .
-
(a)
If , output and (to be determined in the soundness proof).
-
(b)
Otherwise, output a NO-instance for .
-
(a)
This reduction clearly runs in time.
If , then the history state defined in Equation 6 is consistent with density matrices by ˜4.5.
Using the Extraction Lemma it can be argued that if , that is, if there is a check that fails, and the -local density matrices are low-energy, then there is no consistent state, exactly as desired. Note that the fact that the local density matrices are low-energy is enforced by the reduction (if they are not, a trivial NO instance is output).
5 is in
In this section we set out to prove the containment of in . However, the techniques we develop for this result turn out to be much more general and lead to a poly-logarithmic time parallel algorithm (i.e., ) for solving quadratic systems with few constraints.
See 1.8 At a high level, the proof consists of three steps. First, we reduce to deciding if has any zeros. Here is a degree polynomial in variables and is a quadratic polynomial. Next, we use results by Grigoriev and Pasechnik [14] that reduce finding zeros of to finding limits of zeros of smaller systems. There will be smaller systems, each consisting of equations of degree at most . Crucially, these equation will have at most variables. We modify this reduction to work in . We then compute these limits efficiently in parallel using an algorithm for the first-order theory of the reals by Renegar [27], making the total computation a computation and proving the theorem.
5.1 as a polynomial system
We first describe how to reduce to a GP system.
Definition 5.1 (Grigoriev-Pasechnik system (GP system) [14]).
A GP system is a polynomial of the form where is a degree polynomial and is a quadratic map. Both are assumed to have coefficients in .121212The techniques by Grigoriev and Pasechnik are valid in the more general case where is replaced by an arbitrary real closed field and with a computable subring of that field. We say a GP system is satisfiable if there exists such that .
Consider a super-verifier where . In this section we will let denote the POVM measurement operator implemented by the circuit so that the acceptance probability . In the YES-case, there exists some quantum state such that for all ,
| (7) |
whereas in the NO-case there will be at least one for which . Note that depending on the parameter in Definition 3.1, there could be more such but this is not required for our methods. What is required for our method to work is that , the total number of different the super-verifier could output, is polynomial.
To distinguish the two cases, we write the -qubit state as an exponentially long vector in . Here and in the rest of this section . For each entry of the vector we introduce two variables: one for the real part and one for the complex part. That is, we write
| (8) |
Note that for any assignment of the variables we get an (unnormalized) vector in . We now construct a GP system that is satisfiable if and only if an accepting proof state exists.
First, to ensure that the represent a normalized quantum state we define
| (9) |
Next, note that is already a quadratic equations. Although can have a complex part will be real since is positive semidefinite. We define
| (10) |
In order to handle the inequalities in Equation 7 we will add slack variables and define We now put all constraints together and define
| (11) |
We then have
| (12) |
Note that will be zero only when all component parts are zero. The first term enforces that the norm of is . Meanwhile, the -th term in the sum makes sure that can be made equal to by adding some nonnegative value . In other words, it ensures that . We conclude that has a zero if and only if there exists some quantum state such that for all , , which is exactly as we set out to construct.
5.2 Reducing the number of variables
In this subsection, we consider a general GP system and describe Grigoriev and Pasechnik’s methods for reducing the number of variables. The full version [18] of the work contains a quite thorough treatment of their methods, reproducing large parts of their construction. We hope this makes their methods easily accessible to other quantum theorists.
Without loss of generality, we can write as
| (13) |
Define for all .
For their main construction, Grigoriev and Pasechnik rely on some assumptions. These assumptions hold generically, but could fail in certain degenerate cases. We will later discuss how these assumptions are removed. We assume the following:
-
(1)
The set of zeros of is bounded, i.e., there is some such that . In our case, this assumption is trivially satisfied because of the normalization constraint Equation 9.
-
(2)
is a regular value of and . That is, there exists no (respectively ) with (respectively ) for which (respectively ).
-
(3)
The matrices obtained from by deleting the first row are in -general position. I.e.,
(14) Note that Assumption 2 implies that is never in the above.
We are now ready to summarize Grigoriev and Pasechnik’s construction as the following theorem.
Theorem 5.2 ([14, Theorem 4.5]).
Let be a GP system satisfying the three assumptions above. Then, one can construct sets , such that intersects every connected component of .
The sets , also called “pieces”, are indexed by row sets and column sets such that . For such a , let denote the polynomial
| (15) |
Here . For each , the set is defined as the set of points satisfying the following equations:
| (16a) | ||||
| (16b) | ||||
| (16c) | ||||
| (16d) | ||||
| (16e) | ||||
Here and is the inverse of on , given by
| (17) |
If (which will be ensured later with Lemma 5.4), then there are pieces, each defined by polynomials of degree in variables.
Lastly, if the coefficients of and are integers of bit length at most , then and the equations defining the can be computed from the coefficients of and in time using parallel processors.
Remark 5.3.
Theorem 5.2 still holds with the same runtime and processor bounds when the GP system has coefficients in of degree (instead of ), for real constants and . The algorithm then also outputs the equations for the pieces with coefficients in . Note that the input and output representations treat these constants symbolically (i.e. like free variables), so that the output is independent of the actual value of . In the proof of Theorem 5.2 the additional constants can be handled just like the variables.
5.2.1 Removing the assumptions
We now turn to the removal of the assumptions made in Theorem 5.2. To do so, Grigoriev and Pasechnik use limit arguments. The key idea is that if we perturb the initial system of polynomials slightly, there will be at most finitely many values of the perturbation for which the assumptions fail. Hence, if the perturbation is sufficiently small, all assumptions will hold. They then argue that the solutions to our initial system are equal to the solutions of the perturbed system if we let the perturbation go to zero. The assumptions will hold in the limit. We will later discuss how we can compute these limits.
The following lemma deals with the general position assumption.
Lemma 5.4 ([14, Lemma 5.2]).
Let be a GP system and write as
| (18) |
Define to be the matrix with diagonal and perturb by defining
| (19) |
Then, there is some constant such that for , the matrices obtained by deleting the first row of will be in general position. In fact, for all the matrix
| (20) |
will have .
Next, Grigoriev and Pasechnik deal with the assumption 2 by showing that any that is sufficiently close to zero is a regular value of and .
Lemma 5.5 ([14, Lemma 5.3]).
Let and be polynomials. Then and each have at most finitely many critical values.
We have now established that satisfies all assumptions required for Theorem 5.2 when are sufficiently small. In order to use this to find solutions to our original equation we need to relate to . Clearly, if and are very small and is a zero of then will be close to zero. This could suffice for finding approximate solutions, but to solve the problem exactly we need something more. Grigoriev and Pasechnik provide this by proving that coincides exactly with the limit of as . They consider the solutions of as Puiseux series in and and prove that the limits of these are exactly the zeros of . For us, however, it will be more convenient to consider as sets depending on and and take the limit of these sets as . In the rest of the paper we use the following notion of limits of sets. Strictly speaking, our definition is that of the Kuratowski limit inferior, which of course coincides with the Kuratowski limit if this exists.
Definition 5.6.
For let . Then we define
| (21) |
Theorem 5.7 ([14, Theorem 5.4]).
For fixed , let be the zeros of and let be the zeros of . Then we have
| (22) |
To test whether is empty, it suffices to check whether there is a sequence of nonempty .
Lemma 5.8.
iff there exists a sequence such that .
Proof.
If , then by Theorem 5.7, for every sufficiently small , there exists an , such that for all . Thus, we can easily construct the sequence with .
Now given a sequence with , we can select , and since is bounded (for sufficiently small ), we can apply the Bolzano-Weierstrass theorem to pick a subsequence . We have . Due to continuity it follows and .
5.3 Solving the smaller systems using algorithms for the first-order theory of the reals
We now have a way to determine if has a zero: first, we consider the perturbed system . By Lemma 5.8 it suffices to check if there is a sequence of nonempty . For sufficiently small we can use Theorem 5.2 with Remark 5.3 (setting ) to find sets such that intersects all connected components of . In particular, a sequence of nonempty exists iff there exists a sequence of nonempty . Here
| (23) |
The sets will be defined as the solutions to
| (24a) | ||||
| (24b) | ||||
| (24c) | ||||
| (24d) | ||||
| (24e) | ||||
where we have written (see Lemma 5.4) and for the matrix with the first row deleted.
We will write the existence of such a sequence of as a sentence in the first-order theory of the reals.
Definition 5.9 (First-order theory of the reals).
The first-order theory of the reals is concerned with sentences of the form
| (25) |
where
-
the are alternating quantifiers
-
is a quantifier-free Boolean formula in atomic formulas of the form . Here is a polynomial with integer coefficients and is one of the relation symbols .
We write the set of all true sentences of this form as .
Theorem 5.10 ([27, Theorem 1.1]).
There is an algorithm that, given a sentence of the form of Equation 25 involving only polynomials with integer coefficients131313To deal with algebraic coefficients we can add additional variables and polynomials enforcing that these variables take the value of the required algebraic numbers., decides whether . The algorithm uses parallel processors and requires time. Here denotes the maximal bit size of the coefficients of the polynomials in , the number of polynomial (in)equalities in , the maximal degree of these polynomials, and the worst case time required for computing when the atomic formulas are substituted for Boolean values.
Proof.
By Lemma 5.8, it suffices to check whether there exists a sequence of , such that . By Lemma 5.4, assumption (3) is satisfied for sufficiently small (independent of ). By Lemma 5.5, for every there exist only a finite number of critical values (or “bad” ). Thus, if there exist a suitable sequence , we may also assume that the assumptions of Section 5.2 hold. By Theorem 5.2, there must be a subsequence and such that for all . Therefore is equivalent to the following FOTR sentence being true for some , which we can test in parallel:
| (26) |
where is shorthand for satisfies Equation 24, which then implies . We can test this sentence using Theorem 5.10. The complexity bounds follow from those of Theorems 5.10 and 5.2.
The proof of Theorem 1.8 now follows directly from applying Theorem 1.13 to the discussion in Section 5.1.
6 Approximation and Optimization
In the previous section, we showed how to solve the (decision) problem. Next, we give a parallel polynomial time algorithm (i.e. (function) ) to compute an approximate description of the consistent state. It is worth emphasizing that our algorithm computes an approximation to an exactly consistent state, and not just a state that is approximately consistent.
If the density matrices are slightly perturbed, there may not be a perfectly consistent state. We can compute the state that minimizes the “error” (e.g. the minimum such that the given instance is a YES-instance per Definition 2.1) by solving OptGP as defined in Definition 1.14.
Theorem 1.15. [Restated, see original statement.]
Let be an OptGP instance. There is a parallel algorithm that computes a -approximation to and to some with and . The algorithm uses parallel processors and needs time.
6.1 Computing the minimum
The first step in solving the approximation problem of Theorem 1.15 is to compute . For that, we will use Renegar’s algorithm for finding approximate solutions to first-order theory of the reals formulas.
Theorem 6.1 ([29, Theorem 1.2]).
Let be a formula as in Equation 25 involving free variables , let be powers of and define . Then there exists an algorithm that constructs a set , such that for every connected component of , there is at least one within distance of the component.
The algorithm can be implemented using parallel processors. It then requires time Here is the number of polynomials in , their maximum degree, the maximum bit length of the coefficients of these polynomials, the number of quantifiers and the worst case parallel time to compute when the atomic formulas are substituted for Boolean values.
It is relatively straightforward to compute with the above theorem. To that end, define . We will compute by finding the minimum for which . Since is compact, the minimum must exist. Hence, there must exist a piece , such that the FOTR sentence is true, where is defined as in Equation 26, but with the additional parameter (see Remark 5.3). Note that since is minimal, cannot hold. Formally, is minimal iff the sentence following sentence is true:
| (27) |
Since is a free variable in the above sentence, we can approximate it using Theorem 6.1 for all pieces in parallel, and then take the minimum.
6.2 Computing the solution vector
Next, we are going to show how to compute such that and and thereby prove Theorem 1.15. Naively, we could use Theorem 6.1 to compute . However, that will not lead to the desired runtime since the dimension of is exponentially large. We modify from Equation 26 to find “good enough” with , such that there exists some with for some desired accuracy parameter , which can be chosen exponentially small in . The existence of follows by a similar to the proof of Lemma 5.8.
We will use a univariate representation to compute exactly and then Theorem 6.1 to obtain approximations to the entries of in parallel. 141414One could also compute numerically, but then numerical errors need to be considered. The next theorem shows how to compute univariate representations of the solutions to an FOTR sentence. It is a straightforward combination of [27, Proposition 2.3.1 and 3.8.1] and [28, Proposition 6.2.2].
Theorem 6.2.
Let be a formula of the form Equation 25 with free variables . Then, there exists a set of pairs of polynomials where and with the following property. For every connected component of , there is a such that for some root of , is well defined and in . Here denotes the affine image
The sets can be constructed in parallel using processors and time . Here is the number of polynomial (in)equalities appearing in , and is their maximum degree.
We have now established all the components to prove Theorem 1.15. The proof can be found in the full version [18].
References
- [1] Scott Aaronson, Salman Beigi, Andrew Drucker, Bill Fefferman, and Peter Shor. The power of unentanglement. In 2008 23rd Annual IEEE Conference on Computational Complexity, pages 223–236, 2008. doi:10.1109/CCC.2008.5.
- [2] D. Aharonov and O. Regev. A lattice problem in quantum NP. In 44th Annual IEEE Symposium on Foundations of Computer Science, 2003. Proceedings., pages 210–219, 2003. doi:10.1109/SFCS.2003.1238195.
- [3] Sanjeev Arora and Boaz Barak. Computational Complexity: A Modern Approach. Cambridge University Press, April 2009. doi:10.1017/cbo9780511804090.
- [4] Roozbeh Bassirian, Bill Fefferman, Itai Leigh, Kunal Marwaha, and Pei Wu. Quantum Merlin-Arthur with an internally separable proof, 2024. doi:10.48550/arXiv.2410.19152.
- [5] Roozbeh Bassirian, Bill Fefferman, and Kunal Marwaha. Quantum Merlin-Arthur and proofs without relative phase. In Venkatesan Guruswami, editor, 15th Innovations in Theoretical Computer Science Conference (ITCS 2024), volume 287 of Leibniz International Proceedings in Informatics (LIPIcs), pages 9:1–9:19, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ITCS.2024.9.
- [6] Hugue Blier and Alain Tapp. A quantum characterization of NP. computational complexity, 21(3):499–510, September 2012. doi:10.1007/s00037-011-0016-2.
- [7] Allan Borodin. On relating time and space to size and depth. SIAM Journal on Computing, 6(4):733–744, 1977. doi:10.1137/0206054.
- [8] Fernando G. S. L. Brandão and Aram W. Harrow. Quantum de finetti theorems under local measurements with applications. Communications in Mathematical Physics, 353(2):469–506, July 2017. doi:10.1007/s00220-017-2880-3.
- [9] Anne Broadbent and Alex Bredariol Grilo. QMA-hardness of consistency of local density matrices with applications to quantum zero-knowledge. SIAM Journal on Computing, 51(4):1400–1450, 2022. doi:10.1137/21M140729X.
- [10] A. J. Coleman. Structure of fermion density matrices. Rev. Mod. Phys., 35:668–686, July 1963. doi:10.1103/RevModPhys.35.668.
- [11] Bill Fefferman and Cedric Lin. Quantum Merlin Arthur with exponentially small gap, 2016. arXiv:1601.01975.
- [12] Sevag Gharibian, Miklos Santha, Jamie Sikora, Aarthi Sundaram, and Justin Yirka. Quantum generalizations of the polynomial hierarchy with applications to QMA(2). computational complexity, 31(2):13, September 2022. doi:10.1007/s00037-022-00231-8.
- [13] Dima Grigoriev. Polynomial complexity of solving systems of few algebraic equations with small degrees. In Vladimir P. Gerdt, Wolfram Koepf, Ernst W. Mayr, and Evgenii V. Vorozhtsov, editors, Computer Algebra in Scientific Computing, pages 136–139, Cham, 2013. Springer International Publishing. doi:10.1007/978-3-319-02297-0_11.
- [14] Dima Grigoriev and Dmitrii V. Pasechnik. Polynomial-time computing over quadratic maps i: sampling in real algebraic sets. Comput. Complex., 14(1):20–52, April 2005. doi:10.1007/s00037-005-0189-7.
- [15] Alex B. Grilo, William Slofstra, and Henry Yuen. Perfect zero knowledge for quantum multiprover interactive proofs. In 2019 IEEE 60th Annual Symposium on Foundations of Computer Science (FOCS), pages 611–635, 2019. doi:10.1109/FOCS.2019.00044.
- [16] Aram W. Harrow and Ashley Montanaro. Testing product states, quantum Merlin-Arthur games and tensor optimization. J. ACM, 60(1), February 2013. doi:10.1145/2432622.2432625.
- [17] Fernando Granha Jeronimo and Pei Wu. The power of unentangled quantum proofs with non-negative amplitudes. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, pages 1629–1642, New York, NY, USA, 2023. Association for Computing Machinery. doi:10.1145/3564246.3585248.
- [18] Jonas Kamminga and Dorian Rudolph. On the complexity of pure-state consistency of local density matrices, 2025. arXiv:2411.03096.
- [19] Julia Kempe, Alexei Kitaev, and Oded Regev. The complexity of the local hamiltonian problem. SIAM Journal on Computing, 35(5):1070–1097, 2006. doi:10.1137/S0097539704445226.
- [20] A. Kitaev, A. Shen, and M. Vyalyi. Classical and Quantum Computation. American Mathematical Society, May 2002. doi:10.1090/gsm/047.
- [21] Alexander Klyachko. Quantum marginal problem and representations of the symmetric group, 2004. arXiv:quant-ph/0409113.
- [22] Yi-Kai Liu. Consistency of local density matrices is QMA-complete. In Josep Díaz, Klaus Jansen, José D. P. Rolim, and Uri Zwick, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, pages 438–449, Berlin, Heidelberg, 2006. Springer Berlin Heidelberg. doi:10.1007/11830924_40.
- [23] Yi-Kai Liu, Matthias Christandl, and F. Verstraete. Quantum computational complexity of the -representability problem: QMA complete. Phys. Rev. Lett., 98:110503, March 2007. doi:10.1103/PhysRevLett.98.110503.
- [24] Chris Marriott and John Watrous. Quantum Arthur–Merlin games. computational complexity, 14(2):122–152, June 2005. doi:10.1007/s00037-005-0194-x.
- [25] David A Mazziotti. Pure-N-representability conditions of two-fermion reduced density matrices. Physical Review A, 94(3):032516, 2016.
- [26] Attila Pereszlényi. Multi-prover quantum Merlin-Arthur proof systems with small gap, 2012. arXiv:1205.2761.
- [27] James Renegar. On the computational complexity and geometry of the first-order theory of the reals. part I: Introduction. preliminaries. the geometry of semi-algebraic sets. the decision problem for the existential theory of the reals. Journal of Symbolic Computation, 13(3):255–299, 1992. doi:10.1016/S0747-7171(10)80003-3.
- [28] James Renegar. On the computational complexity and geometry of the first-order theory of the reals. part II: The general decision problem. preliminaries for quantifier elimination. Journal of Symbolic Computation, 13(3):301–327, 1992. doi:10.1016/S0747-7171(10)80004-5.
- [29] James Renegar. On the computational complexity of approximating solutions for real algebraic formulae. SIAM Journal on Computing, 21(6):1008–1025, 1992. doi:10.1137/0221060.
- [30] Yaoyun Shi and Xiaodi Wu. Epsilon-net method for optimizations over separable states. Theoretical Computer Science, 598:51–63, 2015. doi:10.1016/j.tcs.2015.03.031.
- [31] Tzu-Chieh Wei, Michele Mosca, and Ashwin Nayak. Interacting boson problems can be QMA hard. Phys. Rev. Lett., 104:040501, January 2010. doi:10.1103/PhysRevLett.104.040501.
- [32] Xiao-Dong Yu, Timo Simnacher, Nikolai Wyderka, H. Chau Nguyen, and Otfried Gühne. A complete hierarchy for the pure state marginal problem in quantum mechanics. Nature Communications, 12(1):1012, February 2021. doi:10.1038/s41467-020-20799-5.
