On the Pure Quantum Polynomial Hierarchy and Quantified Hamiltonian Complexity
Abstract
We prove several new results concerning the pure quantum polynomial hierarchy . First, we show that , i.e., two unentangled existential provers can be simulated by competing existential and universal provers. We further prove that . Second, we give an error reduction result for , and, as a consequence, prove that . A key ingredient in this result is an improved dimension-independent disentangler. Finally, we initiate the study of quantified Hamiltonian complexity, the quantum analogue of quantified Boolean formulae. We prove that the quantified pure sparse Hamiltonian problem is -complete. By contrast, other natural variants (pure/local, mixed/local, and mixed/sparse) admit nontrivial containments but fail to be complete under known techniques. For example, we show that the -mixed local Hamiltonian problem lies in .
Keywords and phrases:
quantum complexity theory, quantum polynomial hierarchy, pure quantum polynomial hierarchy, QPH, QMA(2), quantum proof systems, interactive proofs, quantified Hamiltonian complexity, local Hamiltonian problem, sparse Hamiltonians, disentanglersCategory:
Track A: Algorithms, Complexity and GamesFunding:
Sabee Grewal: SG was supported in part by an IBM PhD Fellowship.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Quantum complexity theory ; Theory of computation Problems, reductions and completenessAcknowledgements:
We thank Justin Yirka, Sevag Gharibian, and William Kretschmer for helpful conversations. This work was done in part while the authors were visiting the Simons Institute for the Theory of Computing.Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
The polynomial hierarchy () [32] plays a central role in complexity theory. It has been instrumental in understanding the power of computational models such as [31, 28], low-depth classical circuits [14], counting classes [34], and non-uniform computation [24]. More recently, has been used to provide evidence for the hardness of simulating quantum circuits and has underpinned theoretical foundations for quantum supremacy demonstrations [8, 1, 7].
Quantum generalizations of the polynomial hierarchy have been explored intermittently over the past two decades [36, 22, 15, 13, 18, 2, 5], and have recently begun to find broader applications within quantum complexity theory [3]. Given the central role of , it is natural to study its quantum analogues and their role in quantum complexity theory.
As with most prior work, we focus on the quantifier-based definitions of the quantum polynomial hierarchy. In this setting, the th level, denoted , consists of promise problems that can be decided by a quantum polynomial-time verifier interacting with rounds of quantum proofs, where the quantifiers alternate between existential and universal. More concretely, (resp. ) consists of problems where the interaction begins with an existential (resp. universal) quantum proof, followed by alternating quantifiers over polynomial-size quantum states, with the verifier required to accept with high probability in the YES case and reject in the NO case. The union over all levels defines the quantum polynomial hierarchy . The pure quantum polynomial hierarchy is defined analogously, except that the quantified quantum proofs are restricted to be pure states.111There is also a third natural variant: the entangled quantum polynomial hierarchy, where the provers are allowed to entangle their proofs across rounds. Grewal and Yirka [18] showed that this variant collapses to its second level.
A central challenge in defining a quantum analogue of the polynomial hierarchy is determining the “right” formulation among several possible variants. This question has been raised before [15, 2], but it remains unresolved. This work tackles the problem directly: we prove several new results about that, taken together, provide compelling evidence that it is the most natural quantifier-based definition of the quantum polynomial hierarchy.
At the same time, each of our results is interesting in its own right. Our first contribution gives a new upper bound on , placing it in the second level of . This shows that two existential provers can be simulated by competing provers and recasts as a min-max optimization problem (rather than a nonconvex optimization over separable states). Our second and most technical result is an error reduction procedure for , which in turn implies ; the key tool is a new dimension-independent disentangler, extending recent work of Jeronimo and Wu [21]. Finally, we initiate the study of quantified Hamiltonian complexity, a quantum analogue of quantified Boolean formulae. These problems capture robust ground-state questions, such as whether there exists a state on one subsystem that ensures the overall system remains low-energy regardless of perturbations to the rest.
1.1 Our Results
Our first result establishes that , i.e., that the second level of is sandwiched between and the third level of . Prior work has shown that [15].
Theorem 1 (Combination of Theorems 14 and 15).
.
Informally, is the class of promise problems decidable given two unentangled quantum proofs. Since its introduction in 2001 [27], it has been known that . However, whether is “closer” to or to remains a central open problem in quantum complexity theory.
What Theorem 1 contributes to this question is nuanced. Our result shows that can be captured by a one-round quantum refereed-game model with an existential prover followed by an (adversarial) universal prover who has perfect knowledge of the first message. Conceptually, this recasts the nonconvex “maximize over separable witnesses” view of as a single alternation
that is, a saddle-point optimization problem. This perspective opens the door to applying techniques from min–max optimization, game theory, and the study of quantum refereed games to better understand the true power of . Moreover, in closely related models where provers are allowed mixed-state strategies, the game value can be approximated in [20]. We view this as qualitative evidence that is perhaps not equal to .
Our second result is an error reduction result for , resolving an open problem of Gharibian et al. [15] and Agarwal et al. [2].
Theorem 2 (Restatement of Theorem 16).
with and , where is an arbitrary polynomial.
That is, we show that any protocol in can be converted into one in whose completeness (resp. soundness) is -close to (resp. ) at the cost of a constant-factor increase in the number of alternations.
Observe that Theorem 2 says that every level of is contained in some level of , i.e., that . The reverse containment is easy to see: the provers can simply send purifications of the proofs in the protocol. Hence, the following corollary is immediate.
Corollary 3 (Restatement of Corollary 17).
.
We emphasize that the equivalence of and is far from obvious. To illustrate, consider the following simple two-player game: Player 1 sends a state to the verifier, and Player 2, after learning Player 1’s message, must send the same state.222All of the protocols and proof systems we study can be viewed as games of perfect information, meaning that each prover (or player) is fully aware of all moves made in the game so far. Indeed, even has this game-theoretic interpretation. The verifier runs a SWAP test, declaring “Player 1 wins” if the test fails and “Player 2 wins” if it passes. If the players are restricted to sending pure states, then Player 2 can always win with probability , by perfectly replicating Player 1’s state. By contrast, if mixed states are allowed, Player 1 can send the maximally mixed state, in which case Player 2’s winning probability drops to approximately .
Indeed, Theorems 2 and 3 are our most technically involved results. To establish them, we construct a new dimension-independent disentangler.
Lemma 4 (Restatement of Lemma 23).
Let , , and . There exist parameters and a quantum channel
with the following properties: for all states , there exists a distribution over product states such that
| (1) |
Furthermore, for every pure product state , .
Our construction builds on the disentangler of Jeronimo and Wu [21], but strengthens it in a key way. While the Jeronimo-Wu channel guarantees closeness to a convex combination of product states, our disentangler ensures that the output is close to a convex combination of only product states, where is a parameter that can be chosen. In other words, not only is the disentangled output structured, but it is also supported on a small set of product states, which is crucial for our amplification procedure. The tradeoff is that we use four unentangled input states whereas the Jeronimo-Wu channel only uses two.
Our final set of results concerns quantified Hamiltonian complexity. We study natural generalizations of the local Hamiltonian problem, which asks: given a local Hamiltonian , decide whether there exists a state with energy , or if instead all states satisfy , promised one of these is the case. The local Hamiltonian problem is well known to be -complete [26, 25].
We extend this to the quantified setting, in analogy with quantified Boolean formulae [6]. For instance, the -mixed local Hamiltonian problem (-MLH) is defined as follows: given a local Hamiltonian , decide whether there exists a mixed state such that for all mixed states , , or if instead, for all , there exists a such that , promised one of these is the case. For this problem, we obtain the following containment:
Proposition 5 (Restatement of Corollary 31).
The -mixed local Hamiltonian problem is in .
Since no complete problems are known for , we find it implausible that -MLH is complete for . Moreover, hardness for either or would collapse these two classes, which also seems unlikely.
In addition to the mixed/local case, we also study the mixed/sparse, pure/local, and pure/sparse variants. These are defined analogously: the “sparse” condition means the Hamiltonian is row-sparse rather than local, while the “pure” versus “mixed” distinction specifies whether the quantified states are pure or mixed. For the mixed/sparse and pure/local variants, our findings parallel the mixed/local case: we can establish containments but are unable to prove hardness. In fact, existing circuit-to-Hamiltonian constructions appear inadequate for obtaining hardness in these settings, suggesting that either new techniques would be required or that these variants fail to be complete problems for any class studied in this work.
The pure/sparse variant stands out as the only case where we can establish a completeness result. To capture this formally, we define the and problems (generalizing the -complete separable sparse Hamiltonian problem [12]), in which the input is a sparse Hamiltonian and the problem quantifies over quantum proofs (see Definition 26). In this setting, we obtain the following completeness theorem:
Theorem 6 (Restatement of Theorem 37).
is -complete and is -complete.
These completeness results show that admits natural complete problems, in contrast to the other variants of the quantum polynomial hierarchy. This highlights as perhaps the most natural quantifier-based definition of the quantum polynomial hierarchy.
1.2 Main Ideas
Proving .
The proof that is similar to the simple two-player game described earlier: one player sends a pure state, and the other must reproduce it exactly. With pure states, honesty can be enforced by a SWAP test. If the second player deviates, the SWAP test detects the inconsistency with constant probability.
A structural result of Harrow and Montanaro [19] ensures that in the two unentangled proofs may be taken to be identical. Thus, in , the existential prover sends one copy of this proof , while the universal prover is challenged to send the same state. The verifier first applies a SWAP test and, if the test fails, immediately accepts (since the universal prover failed its task). If the SWAP test passes, the verifier then runs the verification on the two states. Interestingly, the verification procedure is run on the post-measurement states after the SWAP test is applied; a careful analysis shows that this simulation succeeds.
The second inclusion, , also relies on the SWAP test, but now it is used to enforce purity rather than equality. In the setting, the verifier receives three states: and from the existential prover, and from the universal prover. The goal is to simulate the protocol, where one prover supplies a pure state and the other supplies a pure state .
A simple observation is that the universal prover in has no incentive to send a mixed state, since they move last; hence, we can safely take to play the role of . To certify that is effectively pure, the verifier asks for two copies, and , and with some probability runs a SWAP test between them (rejecting if the test fails, and accepting otherwise). Otherwise, the verifier simulates the original verification using .
Amplification and .
Our amplification procedure is the most technically involved part of this work. As a first step, we transform the standard alternating-proof system – where the provers take turns sending states in the order – into a system where, in each turn, a prover sends four unentangled proofs simultaneously. We achieve this by increasing the number of rounds by a factor of . In seven rounds the verifier receives states , where the odd-indexed states () come from the existential prover and the even-indexed states () come from the universal prover. The verifier discards the even-indexed states by default, leaving a block of four unentangled states from the existential prover, . An analogous construction handles the universal prover’s turns. In this way, each turn of the game is simulated by a block of seven rounds, giving us a protocol where the verifier receives four unentangled proofs per prover per turn.
Our goal now is to simulate in this -round system where each prover sends four unentangled mixed proofs per turn (which, as explained, can be simulated in ). For each block of four proofs, the verifier applies our disentangler (Lemma 4) to reduce the input to a convex mixture over a small set of product states. Conceptually, in the th round, each product state in the mixture can be viewed as , where encodes a transcript of the first rounds and is the candidate response for the current round given that transcript. In this way, every round can be interpreted as producing a distribution over transcript–answer pairs, and the verifier’s job is to make sure the prover sends a pair consistent with the ongoing interaction.
The verifier maintains a “canonical transcript” that grows round by round. At each step, the disentangler outputs a mixture of possible continuations, each consisting of a transcript prefix and a candidate answer. The verifier checks consistency between the candidate transcript and the actual transcript accumulated so far using repeated SWAP tests; if the tests succeed, the answer is appended to the canonical transcript. If they fail, the current prover loses the round (accepting if it is the universal prover’s turn, rejecting otherwise). After rounds, the verifier runs the original verifier on fresh copies of the canonical transcript and performs standard majority amplification to decide the outcome.
Quantified Hamiltonian Complexity.
Our approach to proving Proposition 5 proceeds in two steps. First, we show that -MLH lies in and, similarly, that -MLH lies in . This step uses the fact that checking consistency of local density matrices – given local reduced density matrices, decide whether they arise from some global quantum state – can be solved with a single query [29]. At a high level, the prover supplies classical descriptions of the reduced density matrices for the first witness . A single oracle call is then used to check that these matrices are indeed consistent with some global state. Once this is certified, the verifier can “compress” the Hamiltonian into a smaller Hamiltonian that only acts on the Hilbert space corresponding to the universal prover’s state. Deciding whether all states satisfy can then be handled with a query, which is equivalent to a query. The proof concludes by observing that -MLH and -MLH are equivalent by a minimax theorem.
We now turn to our completeness proofs of and . These problems can be viewed as the - and -pure sparse Hamiltonian (PSH) problems generalized to an arbitrary constant number of quantifiers. The containment is relatively straightforward. We use the techniques of Aharonov and Ta-Shma [4] to efficiently simulate the dynamics of sparse Hamiltonians in , which places and inside and , respectively.
The hardness direction requires extending the circuit-to-Hamiltonian framework to the quantified setting. Our construction generalizes the Hamiltonians of Chailloux and Sattath [12], who proved that -PSH is -complete.333In the terminology of Chailloux and Sattath [12], the separable sparse Hamiltonian problem is -complete. In our language, this corresponds exactly to the -PSH problem. We extend their approach to handle an arbitrary constant number of alternating quantifiers, ensuring that the Hamiltonian faithfully encodes the transcript of the underlying quantified proof system.
2 Preliminaries
For matrices, denotes the Schatten -norm (also known as the trace norm or nuclear norm). For quantum states , define the trace distance between and as . If and , then . Let denote the set of density operators on Hilbert space . The following is a basic fact about trace distance.
Fact 7.
Let and be quantum states with . Then for any POVM element , .
We also make use of two standard tools in quantum computation and quantum information, the SWAP test and the Gentle Measurement lemma, which we record below.
Lemma 8 (SWAP test [10]).
The SWAP test between two quantum states and fails with probability .
Lemma 9 (Gentle measurement [35]).
Consider a quantum state and a measurement operator where . The post-measurement state then satisfies
Finally, we turn to the formal definitions of and . We begin by specifying the individual levels of these hierarchies.
Definition 10 ().
Let be a promise problem. We say that is in for poly-time computable functions if there exists a polynomial and a poly-time uniform family of quantum circuits such that for every -bit input , takes in quantum proofs and outputs a single qubit, such that:
-
Completeness: s.t. .
-
Soundness: s.t. .
Here, is when is odd and otherwise, and is the complementary quantifier to . Finally, define Define analogously, restricting to pure states.
Remark 11.
All messages being qubits is without loss of generality, even for , as the verifier can project messages onto a smaller subspace and let the sender lose if the projection fails.
and are the union over all levels of their hierarchies.
Definition 12 ( and [15, 2]).
The quantum polynomial hierarchy is defined as and the pure quantum polynomial hierarchy is defined as
One has to be careful when discussing oracles to promise problems, e.g., . We say a deterministic Turing machine with access to a promise oracle accepts/rejects robustly if accepts/rejects regardless of how invalid queries are answered (see also [16, Definition 3]).
Definition 13 ( with promise oracle [2, Footnote 3]).
Let be a promise problem. We say if there exists a polynomial-time deterministic Turing machine , such that
-
accepts robustly.
-
rejects robustly.
This definition may be considered the weakest “reasonable” definition for with promise oracle, without outright forbidding invalid queries.
3 Sandwiching the Second Level of
We prove the inclusions , i.e., that the second level of lies between and the third level of . It is known from prior work that [15]. We begin by establishing the first inclusion, showing that any protocol can be simulated within the second level of .
Theorem 14.
.
Proof.
Let . By [19], there exists a verifier , such that
| (2a) | ||||
| (2b) | ||||
where denotes the POVM element corresponding to acceptance on input , and . We now construct a verifier as follows. On input , receives two states and and acts as follows:
-
1.
Perform a SWAP test on registers and . If the SWAP test fails, then accept.
-
2.
Otherwise, run on registers and , and accept only if accepts.
We let denote the POVM element corresponding to acceptance on input for the verifier .
First, we prove the soundness of , which is straightforward. Suppose . By Equation 2b, we have In this case, the no-prover will always send , which ensures the SWAP test accepts with probability (Lemma 8) and leaves the state undisturbed. The verifier then proceeds to run on , which will accept with probability at most . Therefore, the overall acceptance probability of is at most .
Now suppose . We will show for some constant , which suffices to complete the proof. Let be the witness guaranteed by Equation 2a. For an arbitrary state , define , so . By Lemma 8, accepts in step (1) (i.e., the SWAP test fails) with probability If the SWAP test succeeds, let , and let be the post-measurement state conditioned on the SWAP test succeeding. By the Gentle Measurement Lemma (Lemma 9), Let . By the triangle inequality,
| (3) |
Thus, by Fact 7 and Equation 2a, accepts with probability at least
| (4) |
Therefore, the overall acceptance probability of on is
| (5) |
Consider the case where . The term vanishes, so the acceptance probability is simply , minimized when is as small as possible, i.e., . Now consider the case where . The expression becomes , which is decreasing on the interval , so the minimum also occurs at . In both cases, the minimizing value is , giving
| (6) |
for sufficiently large .
We now show that the second level of is contained in the third level of .
Theorem 15.
.
Proof.
Let . Then there exists a verifier with completeness , soundness , and , together with a POVM element for each input , such that
| (7a) | ||||
| (7b) | ||||
Define a verifier with POVM on input as follows. Let be the proof sent by the yes-prover in the first round, be the proof sent by the no-prover in the second round, and be the proof sent by the yes-prover in the third round. then proceeds as follows:
-
1.
With probability , run , accepting or rejecting according to ’s output.
-
2.
With probability , run a SWAP test between and , and accept only if the SWAP test passes.
We must exhibit completeness/soundness paramters with , such that
| (8a) | ||||
| (8b) | ||||
Suppose . We have because the yes-prover can send from Equation 7a and the no-prover gains no advantage from sending a mixed state by convexity.
Now suppose . Let be the probability that the SWAP test between and passes. Then, by Lemma 8, , which implies by Hölder’s inequality. Let be the corresponding eigenvector. By Equation 7b, there exists a “refutation” (depending on ) such that Let the no-prover send . Using linearity and that , we get
| (9) | ||||
where, in the first line we use the fact that for some state , and, in the last line, we use the fact that . The overall acceptance probability of is thus
| (10) | ||||
We choose , which ensures that because . Then
| (11) | ||||
| (12) |
so the two terms in the function become equal. Therefore, . Our completeness parameter becomes
| (13) |
Therefore, the completeness/soundness gap is
| (14) |
Because by assumption and , we have , which completes the proof.
4 Amplification of via Disentanglers
In this section, we give an error reduction result for . We show that any protocol in can be converted into one in whose completeness is arbitrarily close to 1 and whose soundness is arbitrarily close to 0 (up to ). In other words, we can amplify the gap between YES and NO cases at the cost of a constant-factor increase in the number of alternations.
Theorem 16.
with and , where is an arbitrary polynomial.
Theorem 16 shows that every level of is contained in . The reverse inclusion is straightforward: given mixed-state proofs, the provers can instead send purifications, and the verifier can trace out the auxiliary registers to recover the original mixed states. Putting these two directions together, we conclude that the hierarchies are equal.
Corollary 17.
.
The remainder of this section is devoted to proving Theorem 16. Before presenting the proof, we construct a disentangler tailored to our purposes, building on the dimension-independent disentangler of Jeronimo and Wu [21].
Theorem 18 (Disentangler [21]).
Let and . There exists an efficient quantum channel , such that for all states , there exists a distribution on pure states , such that
| (15) |
Furthermore, for all .
Note that by Carathéodory’s theorem [11], we always have
| (16) |
for some distribution on pure states .
We also use the following facts about the SWAP test and the product test of Harrow and Montanaro [19]. We let and denote the acceptance probability of the SWAP test and the product test, respectively. We let .
Lemma 19 (Product Test [19, Theorem 3]).
Given , let
| (17) |
Then .
Lemma 20 ([19, Proof of Lemma 5]).
.
Lemma 21.
.
To proceed, we need the following combinatorial lemma about distributions. Intuitively, it says that if a certain event happens with non-negligible probability, then a small “hitting set” of outcomes suffices to capture the event with high conditional probability. The proof is given in the full version [17].
Lemma 22.
Let be independent probability distributions over . Let satisfy . Then there exists a set of size such that .
We now combine our combinatorial lemma with the dimension-independent disentangler of Jeronimo and Wu to obtain a new disentangler suited for our setting.
Lemma 23.
Let , , and . There exist parameters and a quantum channel with the following properties: for all states , there exists a distribution over product states such that
| (18) |
Furthermore, for every pure product state , .
Proof.
Let denote the channel from Theorem 18, now parameterized to output copies rather than , where will be chosen later. We define as follows:
-
1.
Apply twice to obtain and on registers and respectively.
-
2.
For , perform a product test between and .
-
(a)
If all product tests accept, output registers .
-
(b)
Otherwise, output , where .
-
(a)
Let be the output of our channel. Note that, by Theorems 18 and 16, and in step 1 can be approximated as
| (19) |
where denotes the error due to (Equation 15). We will eventually choose so that .
Let be the channel corresponding to step 2 in the definition of above. By contractivity, we have Let be the probability that all product tests accept in step (2a). If , then
| (20) |
Hence, assume . It holds that
| (21) |
Define for to be determined later. Let . Then
| (22) |
We will use Lemma 22 to approximate with with a small distribution. However, there is still a chance that the product tests in (2a) accept (event ) even if :
| (23) |
For all , where gives for to be determined later. By Lemma 22 with parameters and to be determined later, there exists a set of size (recall ) such that
| (24) |
For all , define for some with . These must be close to product as . By Lemma 20,
By Lemma 19, there exists such that . Additionally by Lemma 21. Hence, for an appropriate constant ,
| (25) | ||||
where the last step uses Bernoulli’s inequality.
Finally we approximate the idealized output state as (with small support):
| (26) | ||||
| (27) |
To bound , we need to bound three sources of error: (i) Accepting , which occurs with probability by Equation 23; (ii) Getting , but , which occurs with probability ; (iii) Approximation error from Equation 25. Therefore, we get
| (28) | ||||
We set Thus, by Theorem 18, and the overall error is
| (29) |
Amplified verifier on input
Input: Messages , where each is a product across 4 registers.
1. Selection of canonical transcript (rounds to ):
-
Disentangle: Apply the channel from Lemma 23 to to obtain a state close to a mixture of only poly-many pure states .
-
Response table: The disentangler ensures that has the tensor product structure where represents a candidate history and is the proposed response.
-
Select player response:
-
–
Perform SWAP tests between the current canonical transcript and the candidate history .
-
–
If all tests accept for some index , update the transcript
-
–
If no index passes all SWAP tests, the current player loses immediately.
-
–
2. Verification: Run the original verifier on copies of the final transcript . Accept if at least runs accept.
Using the above lemma, we now show the containment . The main challenge is that a mixed state behaves like a probability distribution over pure states. For instance, when Bob sends a mixed state proof , Alice does not know which the verifier will actually observe. The disentangler of Lemma 23 resolves this issue. If each proof is required to be product across four registers, then, after running the disentangler, the proof can be written in the form , where each , and, crucially, the number of terms is polynomially bounded.
This structure means that Alice no longer needs to know which the verifier observes. Instead, she can provide a response to every possible simultaneously, encoded in tensor product form. Concretely, the th message contains a table (in tensor product form) listing all possible transcripts of rounds together with Alice’s corresponding responses. The disentangler ensures enough copies of each transcript are available, and the verifier can then use SWAP tests to select which transcript to use. See Figure 1 for an informal description of the full verifier protocol.
To enforce that each message is a product across four registers, we increase the number of rounds by a factor of . In other words, we show . Within each block of seven quantifiers, we discard every other quantifier (positions ) and bundle the remaining four into a single quantifier ranging over product states:
| (30) |
Thus, by increasing the number of rounds by a factor of , we simulate a proof system where the provers send states that are in tensor product across the four registers.
Theorem 16. [Restated, see original statement.]
with and , where is an arbitrary polynomial.
Proof.
Let . Then there exist functions with , a polynomial , and a polynomial-time uniform family of verifiers such that, for every , we have
| (31a) | ||||
| (31b) | ||||
where if is even and if is odd. Here denotes the acceptance probability of on input state , with .
We prove that by constructing a verifier that receives messages in , where will be determined later (and depend on our application of Lemma 23). As described in Equation 30, the verifier discards of these messages and simulates an -round protocol in which each round- message has the product form . Thus, it suffices to prove
| (32a) | ||||||
| (32b) | ||||||
where denotes the acceptance probability of and each is restricted to the four-register product form above. Given as input with , the verifier acts as follows (see Figure 1 for an informal description):
-
1.
(Determine the canonical transcript) For :
-
(a)
(Disentangle) Let denote the disentangler from Lemma 23 with parameters and to be specified later. For the th iteration, we write , since each application will act on a different-sized Hilbert space. Define . By Lemma 23, there exists a mixed state with such that . Additionally, each can be written as for (and ), , . For analysis, fix a pure branch from this distribution (pretending the verifier receives a random pure state from the mixed state). Each is a transcript-answer pair; i.e., is the prover’s message on the th round conditioned on being the transcript for the previous rounds. Note that grows with each round because the transcript gets progressively longer each round.
-
(b)
(Select player response to current transcript) If , set and . Otherwise, for each , perform (to be determined later) SWAP tests between and (choose sufficiently large to have enough copies and ).444Note that each contains a copy of each transcript and that we have copies of . If all SWAP tests accept for some , set . Else, let the current player lose, i.e., accept if is even and reject if is odd.
-
(a)
-
2.
Simulate on fresh copies of times and accept if the number accepting runs, , satisfies .
Completeness. Let . By Equation 31a, Alice (first player, odd rounds) can always win with probability at least , regardless of which pure state Bob sends in the even rounds. Let be the best state Alice can choose in round . For any Bob message in round , there exists , such that Alice can win with probability . Inductively define as Alice’s best response in round , given Bob’s messages and Alice’s messages .
We need to show that Equation 32a holds. We can analyze on the disentangled states as
| (33) |
where denotes the acceptance probability of when each is replaced by . For Alice’s rounds, we can assume since Alice can always send a state of the correct product form. Further, Alice’s answer in round may depend on , since only depends on , and the approximation is merely an analytical tool and so Alice can choose any satisfying Lemma 23.
For , Alice simply sends copies of . Now consider odd round . There are possible choices for the canonical transcript (which includes Bob’s message) after round . Alice sends copies of , where denotes Alice’s best answer given transcript in the first rounds. This let’s Alice pass the SWAP test in (1b) with probability (in the analysis with chosen by Alice).
We argue that always chooses a transcript that is accepted with probability almost . There are two sources of error. The first is Bob cheating and altering the transcript, so that the verifier selects in step (1b) of Bob’s round. For , Alice’s chance of winning decreases by at most . If , then and the probability of all SWAP tests accepting is
| (34) |
for with and . The second source of error is (1b) choosing a wrong for in Alice’s round. Alice does not lose in (1b), but there may be multiple close to . Again, Alice’s winning probability decreases by at most , and the probability of choosing a “bad” transcript is bounded by Equation 34. We can take the union bound over all rounds and entries in the tables to bound the probability that a bad transcript is selected by . Thus, Alice’s winning probability decreases at most in total, which gives where the probability is taken over the choice of in step (1a) and outcome of the SWAP tests in (1b). Assuming and thus , the probability of rejecting in step 2 can be bounded with Hoeffding’s inequality
| (35) |
for . Setting , and taking into account the disentangler error of Equation 33, Alice wins with probability . We have now assigned all parameters to polynomials in . For all of the SWAP tests and simulations of , we need copies of each message. Note grows exponentially in .
Soundness. For the analysis is analogous, just swapping the roles of Alice and Bob, i.e., “” is now Bob. The only difference is that now the second player wins, which is insignificant for the above analysis.
5 Quantified Hamiltonian Complexity
In this section, we initiate the study of quantified Hamiltonian problems. Our primary motivation is to identify complete problems for the various definitions of to better understand these classes and the relationship among their different variants. At the same time, quantified Hamiltonian problems are natural in their own right: they naturally generalize quantified Boolean formulae from classical complexity theory [33] to the quantum Hamiltonian setting. From a physical perspective, these problems capture robust versions of ground-state questions. For example, these problems allow us to ask: “Does there exist a state on one subsystem such that, no matter how the rest of the system is perturbed, the total system remains in a low-energy state?”
5.1 Quantified Hamiltonian Problems
We now formally define the quantified Hamiltonian problems studied in this work. There are four natural variants we consider, determined by the following choices: (i) whether the quantified states are restricted to be pure or may be mixed, and (ii) whether the Hamiltonian is local or sparse. Our definitions generalize the separable local Hamiltonian problem (or -PLH in our notation) and separable sparse Hamiltonian problem (or -PSH) of Chailloux and Sattath [12] to the alternating quantifier setting. Note that pure/mixed makes no difference in the case due to convexity.
Definition 24 (--LH).
Let be the number of qubits, a fixed constant, and satisfying . Given a -local Hamiltonian as input, the task is to decide, under the promise that one of these holds:
-
(YES case): , or
-
(NO case): .
We write --MLH (mixed, local Hamiltonian) for the version where and may be mixed states and --PLH (pure, local Hamiltonian) for the version where and are pure states.
To move from local to sparse Hamiltonians, we replace the locality constraint with a sparsity condition on the input operator.
Definition 25 (Row-sparse operators).
An operator is row-sparse if:
-
Each row of has at most nonzero entries, and
-
There exists a polynomial-time algorithm which, given a row index , outputs the list of all pairs such that .
We can now extend the quantified local Hamiltonian problems to their sparse-Hamiltonian counterparts. We define the problems below for an arbitrary constant number of quantifiers, as we will later prove completeness at every level.
Definition 26 (Quantified sparse Hamiltonian problems).
Let and fix a polynomial . The promise problem is defined as follows:
-
(Input): A -sparse Hamiltonian on qubits with , thresholds with , and is defined by a circuit that given outputs all entries in row (see Definition 25).555The parameters are implicitly bounded in terms of input size via the circuit description of .
-
(YES case): .
-
(NO case): .
Here, is when is odd and when is even, and is the complementary quantifier. Each is quantified over with .
The pure variant is defined identically, except that are restricted to pure states. Finally, and are obtained by inverting all quantifiers.
Generally, a problem is in if and only if its complement is in . Although is not equal to the complement of , there is a trivial poly-time reduction.
Lemma 27.
and for all , i.e., is the complement of , up to poly-time many-one (aka Karp) reductions. The analogous statement holds for the mixed/sparse, pure/local, and mixed/local variants.
Proof.
follows directly from Definition 26.
In the remainder of this section, we establish containment and hardness results for the quantified Hamiltonian problems defined above. The results we obtain for the two-quantifier versions are summarized in Table 1; generalizing these to more quantifiers is relatively straightforward.
| Local | Sparse | |
|---|---|---|
| Mixed | (Corollary 31) | (Proposition 33) |
| Pure | (Proposition 32) | -complete (Theorem 37) |
5.2 Quantified Local Hamiltonian: with a Oracle
We begin by analyzing the pure/local and mixed/local variants of the quantified Hamiltonian problem. In particular, we show that these solved by oracle classes of the form for a promise class , and we refer the reader to Definition 13 for a definition of with an oracle to a promise class.
A key step in our proofs is checking the consistency of local density matrices: given a collection of reduced density matrices, does there exist a global quantum state that is consistent with all of them? If the global state is allowed to be mixed, checking consistency is known to be -complete [29, 9]. If, instead, one must decide whether there exists a global pure state consistent with the reduced density matrices, the problem is -complete [23].666In , the verifier runs -many circuit checks on the same pure witness state that all must accept with probability exactly in the YES case. In the NO case, at least one check has acceptance probability bounded away from . See [23] for a formal definition.
Because the Hamiltonian is local, each term in acts on only a constant number of qubits. This means that for any purported proof state, it suffices for the prover to supply the reduced density matrices on just those local subsystems. The first witness for the quantified Hamiltonian problem can therefore be succinctly described by a classical list of local density matrices. The remaining task – verifying that these matrices are consistent with a true quantum state – can be outsourced to a oracle. We formalize this now.
Proposition 28.
--.
Proof.
Let be the given -local Hamiltonian. The prover provides the collection of reduced density matrices of the candidate state on the supports of the local terms .
First, the verifier checks that these reduced density matrices are consistent with some global state. This can be done using a single query, since consistency of local density matrices is -complete [29, 9].
Next, for each term , the verifier computes an effective operator where is the reduced density matrix of on the qubits that acts upon. Let . Then is an operator acting only on the Hilbert space corresponding to the -prover’s state .
Finally, the verifier queries a oracle to check whether Since the procedure requires only one query (for consistency) and one query (which can be implemented using ), the entire protocol lies in .
It turns out that . It is not clear whether a single query in Proposition 29 suffices to simulate , because one query is a -query and the other is a -query. The proof is given in the full version [17].
Proposition 29.
.
By Lemma 27, we immediately get an analogous result for --MLH.
Proposition 30.
--.
Proof.
Because --MLH is in , it’s immediate that is in . Lemma 27 implies that there is a reduction from --MLH to , which completes the proof.
Corollary 31.
--.
Proof.
By a min-max theorem (e.g., [18, Theorem 2.2]), we have that -MLH = -MLH. Thus, Propositions 28 and 30 implies the result.
An argument essentially identical to that of Proposition 28 yields the following containment for the pure/local case.
Proposition 32.
--.
Here, one query to the oracle verifies that the provided local density matrices are consistent with some global pure state (a complete problem for [23]), and a second query is used exactly as in the proof of Proposition 28. We omit the details, since the argument carries over verbatim.
We remark that, unlike in the mixed-state case, we do not obtain containment in , because the minimax theorem invoked in Corollary 31 does not apply when the proofs are restricted to pure states.
At present, there is no known approach to proving hardness for the intersection class . Moreover, such hardness results appear unlikely: we do not know of any complete problems for even and if the -MLH problem were hard for either or , it would imply , an equality that seems implausible.
5.3 Quantified Sparse Hamiltonian: Complete Problems for
We now turn to the sparse variants of the quantified Hamiltonian problem. Our first result establishes that the -mixed sparse Hamiltonian problem lies in . More significantly, we prove that the quantified pure sparse Hamiltonian (PSH) problems are complete for each level of the pure quantum polynomial hierarchy. That is, for every , is -complete and is -complete. This gives the first natural family of complete problems for .
Proposition 33.
- is contained in .
Proof.
The proof is identical to the containment result give in Theorem 37 (below); we defer the details to that proof.
Our completeness result requires the following lemmas. The first lemma is a simple but useful structural fact: if two registers are almost symmetric, then one register must be close to containing a copy of the other. This lets us “pull out” a clean copy of a state whenever the verifier enforces near-symmetry via a SWAP test. The proof is given in the full version [17].
Lemma 34.
Let and with , and denote the projector onto the symmetric subspace. If , then there exists , such that .
Next, we recall Kitaev’s circuit-to-Hamiltonian construction, which is the backbone of essentially all Hamiltonian complexity reductions.
Lemma 35 (Kitaev’s circuit-to-Hamiltonian mapping [26]777This lemma is only implicit [26]. A direct proof can be found in [30, Remark 3.3].).
Let be a quantum circuit of -local gates with ancilla qubits and input qubits. Then there exists a Hamiltonian that is the sum of -local projectors, such that
| (36) |
where is the ancilla register, is the input register, and is the clock register. has a spectral gap of .
The final tool we need is a variant of the well-known Projection Lemma, which frequently appears in Hamiltonian complexity.
Lemma 36 (State Projection Lemma [23]).
Let be the sum of two Hamiltonians acting on Hilbert space , where is the kernel of and the other eigenvalues are at least . Let be a state in such that . Then there exists a state (pure if is pure) in , such that and , for .
We are now ready to prove our completeness result.
Theorem 37.
is -complete and is -complete.
Proof.
Containment. is completely analogous to the containment of the Separable Sparse Hamiltonian problem (i.e. ) in [12]. Given -sparse -qubit Hamiltonian with and error , [12] constructs a circuit (using Hamiltonian simulation and phase estimation) that runs in time , such that for all states , we have So all the -verifier needs to do is normalize the input Hamiltonian to satisfy and simulate with , which gives a promise gap of .
Hardness. Let . We will show is -hard for even , and is -hard for odd . The other two cases follow by Lemma 27. Let be even and (the proof for odd and is completely analogous). Given , we construct Hamiltonian in time , such that for to be determined later,
| (37a) | ||||||
| (37b) | ||||||
There exists a poly-time uniform family of verifiers , such that
| (38a) | ||||||
| (38b) | ||||||
where denotes the acceptance probability of on input . Let be the number of gates of and (without loss of generality) the number of qubits in each message. Denote the message registers of by of qubits each. The Hamiltonian will act on registers , where is the ancilla register of qubits, is the input register to of qubits, and is the clock register of qubits. In terms of Definition 26, we have and . Finally define the Hamiltonian
| (39) |
with from Lemma 35, the projector onto the symmetric subspace across the cut / , and sufficiently large . is -sparse since is local and has terms, and is -sparse.
Let and , where . Note that the gap and bound for can be achieved by padding the last message (i.e. increasing ) and letting act as identity on the padding qubits. We lose purity of the last message, but that is not an issue since Equations 38a and 38b are still true when replacing the pure with a mixed (by convexity).
For , we have Equation 38a we argue that
| (40) |
holds with for all . For rounds , Alice (taking the game interpretation with Bob as first player () and Alice as second player ) can simply send the same response as in (38a), i.e., for even . In the last round, Alice sends a valid history state of the form
| (41) |
where corresponds to Alice’s last message in (38a), and are the gates of with output register . Then we get since rejects with probability .
Now consider and assume
| (42) |
We will show that this contradicts Equation 38b. Let , and . By Lemmas 35 and 36 and choosing sufficiently large , there exists a state , such that for some input state :
| (43) | ||||
By Lemma 34 and choosing sufficiently large , there exists a state , such that
| (44) |
and therefore , with
| (45) |
Hence,
| (46) |
Thus, . Therefore,
| (47) |
which means that Alice can win with probability at least by choosing the even messages with as in Equation 42, and as in Equation 44. This contradicts Equation 38b.
We note that proving that -MSH is -hard seems out of reach with current techniques. Theorem 37 relies on the SWAP test, but this approach fails in the mixed-state setting, because the SWAP test fails to check equality of mixed states. Any hardness proof would therefore require fundamentally new ideas.
6 Open Problems
-
1.
Are there complete problems for variants of the quantum polynomial hierarchy beyond ? For example, can the pure/local, mixed/local, or mixed/sparse Hamiltonian problems be shown complete for any class?
-
2.
It is striking that the local variants of the quantified Hamiltonian problem only required quantum computation in the oracle part of the machine. For instance, in Proposition 32, the base machine is merely . A natural direction is to better understand the relationship between and .
-
3.
Is --PLH complete for ? A positive answer would imply that
giving the first connection between oracle-based and quantifier-based definitions of the quantum polynomial hierarchy.
-
4.
Can one construct disentanglers with guarantees stronger than those in Theorem 18? In particular, is it possible to design a disentangler whose output is always (close to) a pure state?
References
- [1] Scott Aaronson and Alex Arkhipov. The Computational Complexity of Linear Optics. In Forty-Third Annual ACM Symposium on Theory of Computing, STOC ’11, pages 333–342. ACM, 2011. doi:10.1145/1993636.1993682.
- [2] Avantika Agarwal, Sevag Gharibian, Venkata Koppula, and Dorian Rudolph. Quantum Polynomial Hierarchies: Karp-Lipton, Error Reduction, and Lower Bounds. In 49th International Symposium on Mathematical Foundations of Computer Science (MFCS 2024), volume 306, pages 7:1–7:17, 2024. doi:10.4230/LIPIcs.MFCS.2024.7.
- [3] Avantika Agarwal and Srijita Kundu. A Cautionary Note on Quantum Oracles, 2025. doi:10.48550/arXiv.2504.19470.
- [4] Dorit Aharonov and Amnon Ta-Shma. Adiabatic Quantum State Generation. SIAM Journal on Computing, 37(1):47–82, 2007. doi:10.1137/060648829.
- [5] Kartik Anand, Kabgyun Jeong, and Junseo Lee. Collapses in quantum-classical probabilistically checkable proofs and the quantum polynomial hierarchy, 2025. doi:10.48550/arXiv.2506.19792.
- [6] Sanjeev Arora and Boaz Barak. Computational Complexity: A Modern Approach. Cambridge University Press, 2009. doi:10.1017/CBO9780511804090.
- [7] Adam Bouland, Bill Fefferman, Chinmay Nirkhe, and Umesh Vazirani. On the Complexity and Verification of Quantum Random Circuit Sampling. Nature Physics, 15(2):159–163, 2019. doi:10.1038/s41567-018-0318-2.
- [8] Michael J. Bremner, Richard Jozsa, and Dan J. Shepherd. Classical Simulation of Commuting Quantum Computations Implies Collapse of the Polynomial Hierarchy. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 467(2126):459–472, 2010. doi:10.1098/rspa.2010.0301.
- [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, August 2022. doi:10.1137/21m140729x.
- [10] Harry Buhrman, Richard Cleve, John Watrous, and Ronald De Wolf. Quantum Fingerprinting. Physical Review Letters, 87(16):167902, 2001. doi:10.1103/PhysRevLett.87.167902.
- [11] C. Carathéodory. Über den variabilitätsbereich der fourier’schen konstanten von positiven harmonischen funktionen. Rendiconti del Circolo Matematico di Palermo (1884-1940), 32(1):193–217, 1911. doi:10.1007/BF03014795.
- [12] Andre Chailloux and Or Sattath. The Complexity of the Separable Hamiltonian Problem. In Proceedings of the 2012 IEEE Conference on Computational Complexity, CCC ’12, pages 32–41, 2012. doi:10.1109/CCC.2012.42.
- [13] Chirag Falor, Shu Ge, and Anand Natarajan. A Collapsible Polynomial Hierarchy for Promise Problems, 2023. doi:10.48550/arXiv.2311.12228.
- [14] Merrick Furst, James B. Saxe, and Michael Sipser. Parity, Circuits, and the Polynomial-Time Hierarchy. Mathematical Systems Theory, 17(1):13–27, 1984. doi:10.1007/BF01744431.
- [15] Sevag Gharibian, Miklos Santha, Jamie Sikora, Aarthi Sundaram, and Justin Yirka. Quantum Generalizations of the Polynomial Hierarchy with Applications to . computational complexity, 31(2):13, 2022. doi:10.1007/s00037-022-00231-8.
- [16] Oded Goldreich. On Promise Problems: A Survey, pages 254–290. Springer Berlin Heidelberg, Berlin, Heidelberg, 2006. doi:10.1007/11685654_12.
- [17] Sabee Grewal and Dorian Rudolph. On the pure quantum polynomial hierarchy and quantified hamiltonian complexity, 2025. doi:10.48550/arXiv.2510.06522.
- [18] Sabee Grewal and Justin Yirka. The Entangled Quantum Polynomial Hierarchy Collapses. In 39th Computational Complexity Conference (CCC 2024), volume 300, pages 6:1–6:23, 2024. doi:10.4230/LIPIcs.CCC.2024.6.
- [19] Aram W. Harrow and Ashley Montanaro. Testing Product States, Quantum Merlin-Arthur Games and Tensor Optimization. Journal of the ACM, 60(1), 2013. doi:10.1145/2432622.2432625.
- [20] Rahul Jain and John Watrous. Parallel Approximation of Non-interactive Zero-sum Quantum Games. In 24th Annual IEEE Conference on Computational Complexity, pages 243–253, 2009. doi:10.1109/CCC.2009.26.
- [21] Fernando Granha Jeronimo and Pei Wu. Dimension Independent Disentanglers from Unentanglement and Applications. In 39th Computational Complexity Conference (CCC 2024), volume 300 of CCC ’24, pages 26:1–26:28, 2024. doi:10.4230/LIPIcs.CCC.2024.26.
- [22] Joshua Lockhart and Carlos E. González-Guillén. Quantum State Isomorphism, 2017. arXiv:1709.09622.
- [23] Jonas Kamminga and Dorian Rudolph. On the Complexity of Pure-State Consistency of Local Density Matrices, 2025. arXiv:2411.03096.
- [24] Richard M. Karp and Richard J. Lipton. Some Connections Between Nonuniform and Uniform Complexity Classes. In Proceedings of the Twelfth Annual ACM Symposium on Theory of Computing, STOC ’80, pages 302–309, 1980. doi:10.1145/800141.804678.
- [25] 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.
- [26] A. Yu. Kitaev, A. H. Shen, and M. N. Vyalyi. Classical and Quantum Computation. American Mathematical Society, USA, 2002.
- [27] Hirotada Kobayashi, Keiji Matsumoto, and Tomoyuki Yamakami. Quantum certificate verification: Single versus multiple quantum certificates, 2001. arXiv:quant-ph/0110006.
- [28] Clemens Lautemann. and the Polynomial Time Hierarchy. Information Processing Letters, 17:215–218, 1983.
- [29] Yi-Kai Liu. Consistency of Local Density Matrices is -Complete. In Proceedings of the 9th International Conference on Approximation Algorithms for Combinatorial Optimization Problems, and 10th International Conference on Randomization and Computation, APPROX’06/RANDOM’06, pages 438–449, 2006. doi:10.1007/11830924_40.
- [30] Dorian Rudolph, Sevag Gharibian, and Daniel Nagaj. Quantum 2-SAT on Low Dimensional Systems Is -Complete: Direct Embeddings and Black-Box Simulation. In 16th Innovations in Theoretical Computer Science Conference (ITCS 2025), volume 325, pages 85:1–85:24, 2025. doi:10.4230/LIPIcs.ITCS.2025.85.
- [31] Michael Sipser. A Complexity Theoretic Approach to Randomness. In 15th Symposium on Theory of Computing, pages 330–335. ACM Press, 1983. doi:10.1145/800061.808762.
- [32] Larry J. Stockmeyer. The Polynomial-Time Hierarchy. Theoretical Computer Science, 3(1):1–22, 1976. doi:10.1016/0304-3975(76)90061-X.
- [33] Larry J. Stockmeyer and Albert R. Meyer. Word Problems Requiring Exponential Time (Preliminary Report). In Proceedings of the Fifth Annual ACM Symposium on Theory of Computing, STOC ’73, pages 1–9. Association for Computing Machinery, 1973. doi:10.1145/800125.804029.
- [34] Seinosuke Toda. Is as Hard as the Polynomial-Time Hierarchy. SIAM Journal on Computing, 20(5):865–877, 1991. doi:10.1137/0220053.
- [35] Andreas Winter. Coding Theorem and Strong Converse for Quantum Channels. IEEE Transactions on Information Theory, 45(7):2481–2485, 1999. doi:10.1109/18.796385.
- [36] Tomoyuki Yamakami. Quantum and a Quantum Hierarchy. In 2nd IFIP International Conference on Theoretical Computer Science, pages 323–336. Kluwer Academic Publishers, 2002.
