Difference between revisions of "Complexity Zoo:Q"

From Complexity Zoo
Jump to navigation Jump to search
 
(22 intermediate revisions by 8 users not shown)
Line 17: Line 17:
  
 
It is contained in [[#qacwf0|QAC<sub>f</sub><sup>0</sup>]], but it is not known if it contains [[Complexity Zoo:A#ac0|AC<sup>0</sup>]]. Notice that the latter containment is not obvious, since the set of gates in QAC<sup>0</sup> do not allow to implement fanout in any way we may take for granted.
 
It is contained in [[#qacwf0|QAC<sub>f</sub><sup>0</sup>]], but it is not known if it contains [[Complexity Zoo:A#ac0|AC<sup>0</sup>]]. Notice that the latter containment is not obvious, since the set of gates in QAC<sup>0</sup> do not allow to implement fanout in any way we may take for granted.
 
  
 
----
 
----
Line 40: Line 39:
 
Defined in [[zooref#moo99|[Moo99]]], where it was also shown that QAC<sub>f</sub><sup>0</sup> =
 
Defined in [[zooref#moo99|[Moo99]]], where it was also shown that QAC<sub>f</sub><sup>0</sup> =
 
[[#qac0m|QAC<sup>0</sup>]][2] = [[#qacc0|QACC<sup>0</sup>]].
 
[[#qac0m|QAC<sup>0</sup>]][2] = [[#qacc0|QACC<sup>0</sup>]].
 +
Is equivalent to [[#qncf0|QNC<sub>f</sub><sup>0</sup>]] due to [[zooref#tak12|[Tak12]]].
  
 
----
 
----
Line 47: Line 47:
 
Defined by Marriott and Watrous [[zooref#mw05|[MW05]]].
 
Defined by Marriott and Watrous [[zooref#mw05|[MW05]]].
  
Contains [[#qma|QMA]] and is contained in [[#qip2|QIP[2]]] and [[Zoo Operators#bp|BP&#149;]][[Complexity Zoo:P#pp|PP]] (and therefore [[Complexity Zoo:P#pspace|PSPACE]]).
+
Contains [[#qma|QMA]] and is contained in [[#qip2|QIP[2]]] and [[Zoo Operators#bp|BP•]][[Complexity Zoo:P#pp|PP]] (and therefore [[Complexity Zoo:P#pspace|PSPACE]]).
  
 
----
 
----
Line 56: Line 56:
 
----
 
----
 
===== <span id="qcma" style="color:red">QCMA</span>: Quantum Classical [[Complexity Zoo:C#ma|MA]] =====
 
===== <span id="qcma" style="color:red">QCMA</span>: Quantum Classical [[Complexity Zoo:C#ma|MA]] =====
The class of decision problems for which a "yes" answer can be verified by a <i>quantum</i> computer with access to a <i>classical</i> proof. Also known as the subclass of of QMA with classical witnesses.
+
The class of decision problems for which a "yes" answer can be verified by a <i>quantum</i> computer with access to a <i>classical</i> proof. Also known as the subclass of of QMA with classical witnesses. Defined in [[zooref#an02|[AN02]]].
  
 
Called '''MQA''' by Watrous [[zooref#wat09|[Wat09]]].  
 
Called '''MQA''' by Watrous [[zooref#wat09|[Wat09]]].  
Line 76: Line 76:
  
 
Contained in P<sup>PP<sup>PP</sup></sup> [[zooref#gsssy18|[GSSSY18]]].  
 
Contained in P<sup>PP<sup>PP</sup></sup> [[zooref#gsssy18|[GSSSY18]]].  
 +
 +
----
 +
 +
===== <span id="qeph" style="color:red">QEPH</span>: Entangled Quantum [[Complexity Zoo:P#ph|PH]] =====
 +
Like [[Complexity Zoo:Q#qph|QPH]], but the provers may entangle their earlier proofs with their later proofs.
 +
 +
Defined in [[zooref#gy24|[GY24]]], and was shown to collapse to [[Complexity Zoo:Q#qrg1|QRG(1)]].
 +
<br> The hierarchy collapses even with a polynomial number of rounds, whereas PH with polynomial rounds equals [[Complexity Zoo#p:pspace|PSPACE]].
  
 
----
 
----
Line 161: Line 169:
 
Defined in [[zooref#kmy01|[KMY01]]].  
 
Defined in [[zooref#kmy01|[KMY01]]].  
  
It was shown in {{zcite|ABD+08|abd08}} that a conjecture they call the ''Strong Amplification Conjecture'' implies that QMA(2) is contained in {{zcls|p|pspace}}. The authors also show that there exists no ''perfectly disentangler'' that can be used to simulate QMA(2) in QMA, though other approaches to showing QMA = QMA(2) may still exist.
+
In {{zcite|BT09|bt09}}, the authored presented a QMA<sub>log</sub>(2) (that is, the length of the certificates is logarithmic in the size of the problem -- see, e.g., [[#qmalog|QMA<sub>log</sub>]]) protocol for 3-Coloring, with perfect completeness and 1-1/poly(n) soundness. Note that a similar construction for QMA is highly unlikely, since it would imply NP is contained in QMA<sub>log</sub>=BQP. An analogous result, with constant soundness but with quadratic proof length was shown in {{zcite|ABD+08|abd08}}. It was shown shown there  that a conjecture they call the ''Strong Amplification Conjecture'' implies that QMA(2) is contained in {{zcls|p|pspace}}. The authors also show that there exists no ''perfectly disentangler'' that can be used to simulate QMA(2) in QMA, though other approaches to showing QMA = QMA(2) may still exist.
  
 
It was shown in {{zcite|HM13|hm13}} that QMA(k) = QMA(2) for k >= 2. However we still do not know if QMA(2) = [[#qma|QMA]]. It was shown in {{zcite|BCY11|bcy11}} that QMA(2) = [[#qma|QMA]] if the verifier is restricted to one-way LOCC protocols.
 
It was shown in {{zcite|HM13|hm13}} that QMA(k) = QMA(2) for k >= 2. However we still do not know if QMA(2) = [[#qma|QMA]]. It was shown in {{zcite|BCY11|bcy11}} that QMA(2) = [[#qma|QMA]] if the verifier is restricted to one-way LOCC protocols.
  
The best known unconditional upper bound is {{zcls|n|nexp}}. If QMA(2)={{zcls|n|nexp}}, then Q&#931;<sub>2</sub>=Q&#928;<sub>2</sub> (see  [[#qph|QPH]]) (alternating quantifiers provide no additional power in the quantum setting). If [[#qcph|QCPH]]=[[#qph|QPH]] (quantum proofs provide no additional power in the presence of alternating quantifiers), then QMA(2) is in P<sup>PP<sup>PP</sup></sup> [[zooref#gsssy18|[GSSSY18]]].
+
The best known unconditional upper bound is {{zcls|n|nexp}}. If QMA(2)={{zcls|n|nexp}}, then Q&#931;<sub>2</sub>=Q&#928;<sub>2</sub> (see  [[#qph|QPH]]) (alternating quantifiers provide no additional power in the quantum setting) [[zooref#gsssy18|[GSSSY18]]]. If [[#qcph|QCPH]]=[[#qph|QPH]] (quantum proofs provide no additional power in the presence of alternating quantifiers), then QMA(2) is in P<sup>PP<sup>PP</sup></sup> [[zooref#gsssy18|[GSSSY18]]].
  
 
Approximating the minimal energy of a sparse Hamiltonian with respect to a separable state (which is known as the Separable Sparse Hamiltonian problem) is QMA(2)-complete {{zcite|CS12|cs12}}. This is in contrast to the Separable Local Hamiltonian problem which is in  [[#qma|QMA]] {{zcite|CS12|cs12}}.
 
Approximating the minimal energy of a sparse Hamiltonian with respect to a separable state (which is known as the Separable Sparse Hamiltonian problem) is QMA(2)-complete {{zcite|CS12|cs12}}. This is in contrast to the Separable Local Hamiltonian problem which is in  [[#qma|QMA]] {{zcite|CS12|cs12}}.
Line 177: Line 185:
  
 
This result was later improved in [[zooref#gn13|[GN13]]] where it was shown that Quantum 3-SAT is QMA<sub>1</sub>-complete.  
 
This result was later improved in [[zooref#gn13|[GN13]]] where it was shown that Quantum 3-SAT is QMA<sub>1</sub>-complete.  
 
  
 
----
 
----
Line 207: Line 214:
 
Defined in [[zooref#km02|[KM02]]].
 
Defined in [[zooref#km02|[KM02]]].
  
Shown to be equal to [[Complexity Zoo:M#mipstar|MIP*]] in [[zooref#ruv12|[RUV12]]].
+
Shown to be equal to [[Complexity Zoo:M#mipstar|MIP*]] in [[zooref#ruv12|[RUV12]]], and thus [[Complexity Zoo:R#re|RE]] [[zooref#jnvwy20|[JNVWY20]]].
  
 
QMIP contains [[Complexity Zoo:N#nexp|NEXP]] simply because [[Complexity Zoo:M#mipstar|MIP*]] contains [[Complexity Zoo:N#nexp|NEXP]] [[zooref#iv12|[IV12]]]. Since we know that [[Complexity Zoo:N#nexp|NEXP]] = [[#qmipne|QMIP<sub>ne</sub>]], this tells us that giving the provers unlimited prior entanglement does not make the class less powerful.
 
QMIP contains [[Complexity Zoo:N#nexp|NEXP]] simply because [[Complexity Zoo:M#mipstar|MIP*]] contains [[Complexity Zoo:N#nexp|NEXP]] [[zooref#iv12|[IV12]]]. Since we know that [[Complexity Zoo:N#nexp|NEXP]] = [[#qmipne|QMIP<sub>ne</sub>]], this tells us that giving the provers unlimited prior entanglement does not make the class less powerful.
Line 246: Line 253:
  
 
----
 
----
 +
 +
===== <span id="qnc0qpoly" style="color:red">QNC<sup>0</sup>/qpoly</span>: Quantum [[Complexity Zoo:N#nc0|NC<sup>0</sup>]] With Polynomial-Size Quantum Advice =====
 +
Constant-depth quantum circuits with bounded fan-in, with polynomial size quantum advice. Contains [[#qnc0|QNC<sup>0</sup>]] and [[#qnc0cat|QNC<sup>0</sup>/🐱]]
 +
 +
----
 +
 +
===== <span id="qnc0cat" style="color:red">QNC<sup>0</sup>/🐱</span>: Quantum [[Complexity Zoo:N#nc0|NC<sup>0</sup>]] With Polynomial-Size Quantum Advice =====
 +
Constant-depth quantum circuits without fanout gates, with an additional cat state as "advice": 🐱 = <math>\frac{|0^n\rangle+|1^n\rangle}{\sqrt 2}</math>.
 +
 +
Defined in [[zooref#wkst19|[WKST19]]].
 +
 +
Contains [[#qnc0|QNC<sup>0</sup>]]. Contained in [[#qnc0qpoly|QNC<sup>0</sup>/qpoly]] and [[ComplexityZoo:B#bqp|BQP]].
 +
 +
----
 +
 
===== <span id="qncf0" style="color:red">QNC<sub>f</sub><sup>0</sup></span>: Quantum [[Complexity Zoo:N#nc0|NC<sup>0</sup>]] With Unbounded Fanout =====
 
===== <span id="qncf0" style="color:red">QNC<sub>f</sub><sup>0</sup></span>: Quantum [[Complexity Zoo:N#nc0|NC<sup>0</sup>]] With Unbounded Fanout =====
 
Constant-depth quantum circuits with unbounded-fanout gates.
 
Constant-depth quantum circuits with unbounded-fanout gates.
Line 252: Line 274:
  
 
Contains [[#qnc0|QNC<sup>0</sup>]], and is contained in [[#qacc0|QACC<sup>0</sup>]].
 
Contains [[#qnc0|QNC<sup>0</sup>]], and is contained in [[#qacc0|QACC<sup>0</sup>]].
 +
Is equivalent to [[#qacwf0|QAC<sub>f</sub><sup>0</sup>]] due to [[zooref#tak12|[Tak12]]].
 +
  
 
----
 
----
 
===== <span id="qnc1" style="color:red">QNC<sup>1</sup></span>: Quantum [[Complexity Zoo:N#nc1|NC<sup>1</sup>]] =====
 
===== <span id="qnc1" style="color:red">QNC<sup>1</sup></span>: Quantum [[Complexity Zoo:N#nc1|NC<sup>1</sup>]] =====
Same as [[#qnc|QNC]]<sup>1</sup>, but for the exact rather than bounded-error case.
+
Same as [[#qnc|QNC]], but logarithmic depth instead of polylogarithmic depth.
 +
 
 +
At one point, this wiki incorrectly said that it was QNC but with exact answers instead of bounded error; this was probably someone's confusion with classes like QCMA<sub>1</sub> vs QCMA and QMA<sub>1</sub> vs QMA. In theory this could be QNC<sub>1</sub>, but such a class does not seem to appear in the literature (yet)!
  
 
In contrast to [[Complexity Zoo:N#nc1|NC<sup>1</sup>]], it is not clear how to simulate QNC<sup>1</sup> on a quantum computer in which one qubit is initialized to a pure state, and the remaining qubits are in the maximally mixed state [[zooref#asv00|[ASV00]]].
 
In contrast to [[Complexity Zoo:N#nc1|NC<sup>1</sup>]], it is not clear how to simulate QNC<sup>1</sup> on a quantum computer in which one qubit is initialized to a pure state, and the remaining qubits are in the maximally mixed state [[zooref#asv00|[ASV00]]].
Line 262: Line 288:
  
 
----
 
----
 +
 
===== <span id="qp" style="color:red">QP</span>: Quasipolynomial-Time =====
 
===== <span id="qp" style="color:red">QP</span>: Quasipolynomial-Time =====
 
Equals [[Complexity Zoo:D#dtime|DTIME]](2<sup>polylog(n)</sup>).
 
Equals [[Complexity Zoo:D#dtime|DTIME]](2<sup>polylog(n)</sup>).
Line 268: Line 295:
  
 
===== <span id="qph" style="color:red">QPH</span>: Quantum [[Complexity Zoo:P#ph|PH]] =====
 
===== <span id="qph" style="color:red">QPH</span>: Quantum [[Complexity Zoo:P#ph|PH]] =====
A bounded-error quantum generalization of [[Complexity Zoo:P#ph|PH]] in which all proofs are mixed quantum states, and the verifier is a quantum circuit. Note the utilization of mixed states is non-trivial, due to the presence of alternating quantifiers.
+
A bounded-error quantum generalization of [[Complexity Zoo:P#ph|PH]] in which all proofs are un-entangled mixed quantum states, and the verifier is a quantum circuit. Note the utilization of mixed states is non-trivial, due to the presence of alternating quantifiers.
  
 
Defined in [[zooref#gsssy18|[GSSSY18]]].
 
Defined in [[zooref#gsssy18|[GSSSY18]]].
 +
<br> Contains [[#qma2|QMA(2)]].
  
Contains [[#qma2|QMA(2)]]. Its second and third levels, Q&#931;<sub>2</sub> and Q&#931;<sub>3</sub>, are contained in EXP and NEXP, respectively [[zooref#gsssy18|[GSSSY18]]].
+
Contains [[Complexity Zoo:P#ph|PH]] and [[Complexity Zoo:Q:qcph|QCPH]] [[zooref#gy24|[GY24]]].
 +
 
 +
Its second and third levels, Q&#931;<sub>2</sub> and Q&#931;<sub>3</sub>, are contained in EXP and NEXP, respectively [[zooref#gsssy18|[GSSSY18]]].  
  
 
In contrast to  [[#ph|PH]], it is open whether Q&#931;<sub>2</sub>=Q&#928;<sub>2</sub> collapses QPH to its second level.
 
In contrast to  [[#ph|PH]], it is open whether Q&#931;<sub>2</sub>=Q&#928;<sub>2</sub> collapses QPH to its second level.
  
 +
----
 +
 +
===== <span id="qpip" style="color:red">QPIP</span>: Quantum Prover Interactive Proof =====
 +
Like [[Complexity Zoo:I#ip|IP]], but the prover is a BQP machine, not unbounded. The prover and verifier can only exchange classical information in their interaction. Shown to be equal to [[Complexity Zoo:B#bqp|BQP]] in [[zooref#mah18|[Mah18]]].
 +
 +
Similarly, QPIP<sub>k</sub> is like QPIP, but the verifier is a BPP machine with access to a k qubit quantum computer, and the verifier and prover can exchange classical and quantum information.
 +
 +
Defined in [[zooref#aboe08|[ABOE08]]], where they showed that [[Complexity Zoo:B#bqp|BQP]]=QPIP<sub>c</sub> for some constant c.
  
 
----
 
----
Line 331: Line 369:
 
Defined in [[zooref#jw09|[JW09]]], where it was shown that QRG(1) is contained in [[Complexity Zoo:S#pspace|PSPACE]] .
 
Defined in [[zooref#jw09|[JW09]]], where it was shown that QRG(1) is contained in [[Complexity Zoo:S#pspace|PSPACE]] .
  
QRG(1) trivially contains [[#qma|QMA]] (and indeed [[Complexity Zoo:P#p|P]]<sup>[[#qma|QMA]]</sup>).
+
QRG(1) trivially contains [[#qma|QMA]] (and indeed [[Complexity Zoo:P#p|P]]<sup>QRG(1)</sup>).
  
 
QRG(1) is trivially contained in [[Complexity Zoo:Q#qrg2|QRG(2)]] (and hence [[Complexity Zoo:P#pspace|PSPACE]]).
 
QRG(1) is trivially contained in [[Complexity Zoo:Q#qrg2|QRG(2)]] (and hence [[Complexity Zoo:P#pspace|PSPACE]]).
 +
 +
----
 +
===== <span id="qrl" style="color:red">QRL</span>: Quantum Regular Languages =====
 +
The class of problems nondeterministically recognized by ''Moore-Crutchfield Quantum Finite Automata''. These are automata that undergo a unitary transformation for each symbol consumed, and at the end are observed to be in an accepting state or not. The "nondeterminism" refers to the fact that the automaton will accept with positive probability if in the language, or with exactly zero probability otherwise.
 +
 +
Has the same caveats as [[Complexity Zoo:N#nqp|NQP]] and [[Complexity Zoo:E#eqp|EQP]] because of the exact acceptance probabilities.
 +
 +
Initially studied in <ref>Cristopher Moore and James P. Crutchfield. Quantum automata and quantum grammars.Theoretical ComputerScience, 237(1-2):275–306, 2000.</ref>, although they described QRL as probabilities over words, rather a language in the strict sense. Several important properties established by <ref>Alberto Bertoni and Marco Carpentieri. Analogies and differences between quantum and stochastic automata.Theoretical Computer Science, 262(1-2):69–81, 2001</ref>, where it was shown that QRL has no finite-size languages, but also contains several non-regular languages.
 +
 +
Also called NMCL, in <ref>Abuzer Yakaryilmaz, A. C. Cem Say. Languages recognized by nondeterministic quantum finite automata. https://arxiv.org/abs/0902.2081</ref>, in order to disambiguate from [[Complexity Zoo:N#nql_2|NQL]].
 +
 +
Contrast with [[Complexity Zoo:N#nql_2|NQL]], which is an analogous class for a different model of quantum finite automaton: there the automaton is measured after each step for acceptance or rejection.
  
 
----
 
----

Latest revision as of 17:17, 6 November 2024

Back to the Main Zoo - Complexity Garden - Zoo Glossary - Zoo References


Complexity classes by letter: Symbols - A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X - Y - Z

Lists of related classes: Communication Complexity - Hierarchies - Nonuniform


Q - QAC0 - QAC0[m] - QACC0 - QACf0 - QAM - QCFL - QCMA - QCPH - QEPH - QH - QIP - QIP[2] - QL - QMA - QMA-plus - QMA(2) - QMA1 - QMAlog - QMAM - QMA/qpoly - QMIP - QMIPle - QMIPne - QNC - QNC0 - QNC0/qpoly - QNC0/🐱 - QNCf0 - QNC1 - QP - QPH - QPLIN - QPSPACE - QRG - QRG(k) - QRG(2) - QRG(1) - QRL - QSZK


Q: Quasi-Realtime Languages

The class of problems solvable by a nondeterministic multitape Turing machine in linear time. Defined in [BG69], where it was shown that Q equals the class of problems solvable by a nondeterministic multitape Turing machine in exactly n steps (as opposed to O(n) steps).

Contains GCSL.


QAC0: Quantum AC0

The class of decision problems solvable by a family of constant-depth, polynomial-size quantum circuits. Here each layer of the circuit is a tensor product of one-qubit gates and Toffoli gates, or is a tensor product of controlled-NOT gates.

A uniformity condition may also be imposed.

Defined in [Moo99].

It is contained in QACf0, but it is not known if it contains AC0. Notice that the latter containment is not obvious, since the set of gates in QAC0 do not allow to implement fanout in any way we may take for granted.


QAC0[m]: Quantum AC0[m]

Same as QAC0, except that now Mod-m gates are also allowed. A Mod-m gate computes whether the sum of a given set of bits is congruent to 0 modulo m, and exclusive-OR's the answer into another bit.

Defined in [Moo99].


QACC0: Quantum ACC0

Same as QAC0[m], except that Mod-m gates are allowed for any m.

Defined in [Moo99].

[GHP00] showed that QACC0 equals QAC0[p] for any prime p.


QACf0: QAC0 With Fanout

Same as QAC0, except that an additional "quantum fanout" gate is available, which CNOT's a qubit into arbitrarily many target qubits in a single step.

Defined in [Moo99], where it was also shown that QACf0 = QAC0[2] = QACC0. Is equivalent to QNCf0 due to [Tak12].


QAM: Quantum AM

The class of decision problems for which a "yes" answer can be verified by a public-coin quantum AM protocol, as follows. Arthur generates a uniformly random (classical) string and sends it to Merlin. Merlin responds with a polynomial-size quantum certificate, on which Arthur can perform any BQP operation. The completeness and soundness requirements are the same as for AM.

Defined by Marriott and Watrous [MW05].

Contains QMA and is contained in QIP[2] and BP•PP (and therefore PSPACE).


QCFL: Quantum CFL

The class of decision problems recognized by quantum context-free languages, which are defined in [MC00]. The authors also showed that QCFL does not equal CFL.


QCMA: Quantum Classical MA

The class of decision problems for which a "yes" answer can be verified by a quantum computer with access to a classical proof. Also known as the subclass of of QMA with classical witnesses. Defined in [AN02].

Called MQA by Watrous [Wat09].

Contains MA, and is contained in QMA.

Given a black-box group G and a subgroup H, the problem of testing non-membership in H has polynomial QCMA query complexity [AK06].

See [AK06] for a "quantum oracle separation" between QCMA and QMA. No classical oracle separation between QCMA and QMA is currently known.

The problem GROUND STATE CONNECTIVITY, which intuitively asks whether a local Hamiltonian's ground space has an "energy barrier", is QCMA-complete [GS15]. Roughly: Given a local Hamiltonian H and ground states v and w, is there a polynomial-length sequence of local unitary operations mapping v to w, such that each intermediate state encountered remains in the ground space of H?


QCPH: Quantum Classical PH

A bounded-error quantum generalization of PH in which all proofs are classical, and the verifier is a quantum circuit.

Defined in [GSSSY18].

Contained in PPPPP [GSSSY18].


QEPH: Entangled Quantum PH

Like QPH, but the provers may entangle their earlier proofs with their later proofs.

Defined in [GY24], and was shown to collapse to QRG(1).
The hierarchy collapses even with a polynomial number of rounds, whereas PH with polynomial rounds equals PSPACE.


QH: Query Hierarchy Over NP

QHk is defined to be PNP[k]; that is, P with k queries to an NP oracle (where k is a constant). Then QH is the union of QHk over all nonnegative k.

QH = BH [Wag88]; thus, either both hierarchies are infinite or both collapse to some finite level.


QIP: Quantum IP

The class of decision problems such that a "yes" answer can be verified by a quantum interactive proof. Here the verifier is a BQP (i.e. quantum polynomial-time) algorithm, while the prover has unbounded computational resources (though cannot violate the linearity of quantum mechanics). The prover and verifier exchange a polynomial number of messages, which can be quantum states. Thus, the verifier's and prover's states may become entangled during the course of the protocol. Given the verifier's algorithm, we require that

  1. If the answer is "yes," then the prover can behave in such a way that the verifier accepts with probability at least 2/3.
  2. If the answer is "no," then however the prover behaves, the verifier rejects with probability at least 2/3.

Let QIP[k] be QIP where the prover and verifier are restricted to exchanging k messages (with the prover going last).

Defined in [Wat99], where it was also shown that PSPACE is in QIP[3].

Subsequently [KW00] showed that for all k>3, QIP[k] = QIP[3] = QIP.

QIP is contained in EXP [KW00].

QIP = IP = PSPACE [JJUW09]; thus quantum computing adds no power to single-prover interactive proofs.

QIP(1) is more commonly known as QMA.

See also: QIP[2], QSZK.


QIP[2]: 2-Message Quantum IP

See QIP for definition.

Contains QSZK [Wat02].


QL: Quasi-Linear

The class of problems that can be decided in quasi-linear time by a multitape deterministic Turing machine. Quasi-linear time here means n(log n)k + k, for some k.

Defined in [Sch78].

See also: Q, NQL.


QMA: Quantum MA

The class of decision problems such that a "yes" answer can be verified by a 1-message quantum interactive proof. That is, a BQP (i.e. quantum polynomial-time) verifier is given a quantum state (the "proof"). We require that

  1. If the answer is "yes," then there exists a state such that verifier accepts with probability at least 2/3.
  2. If the answer is "no," then for all states the verifier rejects with probability at least 2/3.

QMA = QIP(1).

Defined in [Wat00], where it is also shown that group non-membership is in QMA.

Based on this, [Wat00] gives an oracle relative to which MA is strictly contained in QMA.

Kitaev and Watrous (unpublished) showed QMA is contained in PP (see [MW05] for a proof). Combining that result with [Ver92], one can obtain an oracle relative to which AM is not in QMA.

Kitaev ([KSV02], see also [AN02]) showed that the 5-Local Hamiltonians Problem is QMA-complete. Subsequently, Kempe and Regev [KR03] showed that even 3-Local Hamiltonians is QMA-complete. A subsequent paper by Kempe, Kitaev, and Regev [KKR04], has hit rock bottom (assuming P does not equal QMA), by showing 2-local Hamiltonians QMA-complete.

Compare to NQP.

If QMA = PP then PP contains PH [Vya03]. This result uses the fact that QMA is contained in A0PP.

Approximating the ground state energy of a system composed of a line of quantum particles is QMA-complete [AGK07].

See also: QCMA, QMA/qpoly, QSZK, QMA(2), QMA-plus.


QMA-plus: QMA With Super-Verifier

Same as QMA, except now the verifier can directly obtain the probability that a given observable of the certificate state, if measured, would equal 1. (In the usual model, by contrast, one can only sample an observable.)

Defined in [AR03], where it was also shown that QMA-plus = QMA.


QMA(2): Quantum MA With Multiple Certificates

Same as QMA, except that now the verifier is given two polynomial-size quantum certificates, which are guaranteed to be unentangled.

Defined in [KMY01].

In [BT09], the authored presented a QMAlog(2) (that is, the length of the certificates is logarithmic in the size of the problem -- see, e.g., QMAlog) protocol for 3-Coloring, with perfect completeness and 1-1/poly(n) soundness. Note that a similar construction for QMA is highly unlikely, since it would imply NP is contained in QMAlog=BQP. An analogous result, with constant soundness but with quadratic proof length was shown in [ABD+08]. It was shown shown there that a conjecture they call the Strong Amplification Conjecture implies that QMA(2) is contained in PSPACE. The authors also show that there exists no perfectly disentangler that can be used to simulate QMA(2) in QMA, though other approaches to showing QMA = QMA(2) may still exist.

It was shown in [HM13] that QMA(k) = QMA(2) for k >= 2. However we still do not know if QMA(2) = QMA. It was shown in [BCY11] that QMA(2) = QMA if the verifier is restricted to one-way LOCC protocols.

The best known unconditional upper bound is NEXP. If QMA(2)=NEXP, then QΣ2=QΠ2 (see QPH) (alternating quantifiers provide no additional power in the quantum setting) [GSSSY18]. If QCPH=QPH (quantum proofs provide no additional power in the presence of alternating quantifiers), then QMA(2) is in PPPPP [GSSSY18].

Approximating the minimal energy of a sparse Hamiltonian with respect to a separable state (which is known as the Separable Sparse Hamiltonian problem) is QMA(2)-complete [CS12]. This is in contrast to the Separable Local Hamiltonian problem which is in QMA [CS12].


QMA1: One Sided QMA

Same as QMA except that for a "yes" instance, there exists a state that is accepted with probability 1.

Defined in [Bra06]. It was shown there that Quantum k-SAT is QMA1-complete for any . It was also shown there that Quantum 2-SAT is in P.

This result was later improved in [GN13] where it was shown that Quantum 3-SAT is QMA1-complete.


QMAlog: QMA With Logarithmic-Size Proofs

Same as QMA except that the quantum proof has O(log n) qubits instead of a polynomial number.

Equals BQP [MW05].


QMAM: Quantum Merlin-Arthur-Merlin Public-Coin Interactive Proofs

The class of decision problems for which a "yes" answer can be verified by a public-coin quantum MAM protocol, as follows. Merlin sends a polynomial-size quantum state to Arthur. Arthur then flips some classical coins (in fact, he only has to flip one without loss of generality) and sends the outcome to Merlin. At this stage Arthur is not yet allowed to perform any quantum operations. Merlin then sends Arthur another quantum state. Finally, Arthur performs a BQP operation on both of the states simultaneously, and either accepts or rejects. The completeness and soundness requirements are the same as for AM. Also, Merlin's messages might be entangled.

Defined by Marriott and Watrous [MW05], who also showed that QMAM = QIP(3) = QIP.

Hence QMAM equals PSPACE.


QMA/qpoly: QMA With Polynomial-Size Quantum Advice

Is contained in PSPACE/poly [Aar06b].


QMIP: Quantum Multi-Prover Interactive Proofs

The quantum generalization of MIP, and the multi-prover generalization of QIP.

A quantum multi-prover interactive proof system is the same as a classical one, except that all messages and verifier computations are quantum. As in MIP, there is no communication among the provers; however, the provers share unlimited prior entanglement. The number of provers and number of rounds can both be polynomial in n.

Defined in [KM02].

Shown to be equal to MIP* in [RUV12], and thus RE [JNVWY20].

QMIP contains NEXP simply because MIP* contains NEXP [IV12]. Since we know that NEXP = QMIPne, this tells us that giving the provers unlimited prior entanglement does not make the class less powerful.


QMIPle: Quantum Multi-Prover Interactive Proofs With Limited Prior Entanglement

Same as QMIP, except that now the provers share only a polynomial number of EPR pairs, instead of an unlimited number.

Defined in [KM02], where it was also shown that QMIPle is contained in NEXP = QMIPne.


QMIPne: Quantum Multi-Prover Interactive Proofs With No Prior Entanglement

Same as QMIP, except that now the provers have no prior entanglement.

Defined in [KM02], where it was also shown that QMIPne = NEXP. Thus, QMIPne contains QMIPle.


QNC: Quantum NC

The class of decision problems solvable by polylogarithmic-depth quantum circuits with bounded probability of error. (A uniformity condition may also be imposed.)

Has the same relation to NC as BQP does to P.

[CW00] showed that factoring is in ZPP with a QNC oracle.

Is incomparable with BPP as far as anyone knows.

See also: RNC.


QNC0: Quantum NC0

Constant-depth quantum circuits without fanout gates.

Defined in [Spa02].

Contained in QNCf0.


QNC0/qpoly: Quantum NC0 With Polynomial-Size Quantum Advice

Constant-depth quantum circuits with bounded fan-in, with polynomial size quantum advice. Contains QNC0 and QNC0/🐱


QNC0/🐱: Quantum NC0 With Polynomial-Size Quantum Advice

Constant-depth quantum circuits without fanout gates, with an additional cat state as "advice": 🐱 = .

Defined in [WKST19].

Contains QNC0. Contained in QNC0/qpoly and BQP.


QNCf0: Quantum NC0 With Unbounded Fanout

Constant-depth quantum circuits with unbounded-fanout gates.

Defined in [Spa02].

Contains QNC0, and is contained in QACC0. Is equivalent to QACf0 due to [Tak12].



QNC1: Quantum NC1

Same as QNC, but logarithmic depth instead of polylogarithmic depth.

At one point, this wiki incorrectly said that it was QNC but with exact answers instead of bounded error; this was probably someone's confusion with classes like QCMA1 vs QCMA and QMA1 vs QMA. In theory this could be QNC1, but such a class does not seem to appear in the literature (yet)!

In contrast to NC1, it is not clear how to simulate QNC1 on a quantum computer in which one qubit is initialized to a pure state, and the remaining qubits are in the maximally mixed state [ASV00].

See also [MN02].


QP: Quasipolynomial-Time

Equals DTIME(2polylog(n)).


QPH: Quantum PH

A bounded-error quantum generalization of PH in which all proofs are un-entangled mixed quantum states, and the verifier is a quantum circuit. Note the utilization of mixed states is non-trivial, due to the presence of alternating quantifiers.

Defined in [GSSSY18].
Contains QMA(2).

Contains PH and QCPH [GY24].

Its second and third levels, QΣ2 and QΣ3, are contained in EXP and NEXP, respectively [GSSSY18].

In contrast to PH, it is open whether QΣ2=QΠ2 collapses QPH to its second level.


QPIP: Quantum Prover Interactive Proof

Like IP, but the prover is a BQP machine, not unbounded. The prover and verifier can only exchange classical information in their interaction. Shown to be equal to BQP in [Mah18].

Similarly, QPIPk is like QPIP, but the verifier is a BPP machine with access to a k qubit quantum computer, and the verifier and prover can exchange classical and quantum information.

Defined in [ABOE08], where they showed that BQP=QPIPc for some constant c.


QPLIN: Linear Quasipolynomial-Time

Equals DTIME(nO(log n)).

Has the same relationship to QP that E does to EXP.


QPSPACE: Quasipolynomial-Space

Equals DSPACE(2polylog(n)).

According to [BG94], Beigel and Feigenbaum and (independently) Krawczyk showed that QPSPACE is not contained in Check.


QRG: Quantum Refereed Games

Same as RG, except that now the verifier is a BQP machine, and can exchange polynomially many quantum messages with the competing provers.

The two provers are computationally unbounded, but must obey the laws of quantum mechanics. Also, we can assume without loss of generality that the provers share no entanglement, because adversaries gain no advantage by sharing information.

Defined in [Gut05], where it was also shown that QRG is contained in NEXPcoNEXP.

QRG trivially contains RG (and hence EXP), as well as SQG.

QRG is contained in EXP [GW07]. Hence QRG = RG = EXP and finding optimal strategies for zero-sum quantum games is no harder than finding optimal strategies for zero-sum classical games.


QRG(k): k-turn Quantum Refereed Games

Same as QRG, except that now the verifier exchanges exactly k messages with each prover where k is a polynomial-bounded function of the input length. Messages are exchanged in parallel. QRG(k) is the quantum version of RG(k). By definition, QRG(poly) = QRG. See also QRG(1) and QRG(2).

QRG(k) trivially contains RG(k) for each k (and hence PSPACE when ). QRG(4) trivially contains SQG.

QRG(k) is trivially contained in QRG for each k (and hence EXP).

Other than these trivial bounds, very little is known of QRG(k) for intermediate values of k. For example, does QRG(k) = RG(k) for each k?


QRG(2): Two-turn (one-round) Quantum Refereed Games

Same as QRG, except that now the verifier can exchange only two messages with each prover. Messages are exchanged in parallel, so the verifier cannot process the answer from one prover before preparing the question for the other. QRG(2) is the quantum version of RG(2). See also QRG(k).

QRG(2) trivially contains RG(2) (and hence PSPACE).

QRG(2) is trivially contained in SQG (and hence PSPACE). Hence QRG(2) = RG(2) = PSPACE and finding optimal strategies for two-turn zero-sum quantum games is no harder than finding optimal strategies for two-turn zero-sum classical games.


QRG(1): One-turn Quantum Refereed Games

The class of problems for which there exists a BQP machine M such that:

  • If the answer is "yes," then there exists a quantum state ρ such that for all quantum states σ, M(ρ,σ) accepts with probability at least 2/3.
  • If the answer is "no," then there exists a σ such that for all ρ, M(ρ,σ) rejects with probability at least 2/3.

In other words, it's the same as QRG(k) for , the class of problems that admit quantum interactive proofs with competing provers in which there's no communication from the verifier back to the provers. QRG(1) is the quantum version of RG(1).

Defined in [JW09], where it was shown that QRG(1) is contained in PSPACE .

QRG(1) trivially contains QMA (and indeed PQRG(1)).

QRG(1) is trivially contained in QRG(2) (and hence PSPACE).


QRL: Quantum Regular Languages

The class of problems nondeterministically recognized by Moore-Crutchfield Quantum Finite Automata. These are automata that undergo a unitary transformation for each symbol consumed, and at the end are observed to be in an accepting state or not. The "nondeterminism" refers to the fact that the automaton will accept with positive probability if in the language, or with exactly zero probability otherwise.

Has the same caveats as NQP and EQP because of the exact acceptance probabilities.

Initially studied in <ref>Cristopher Moore and James P. Crutchfield. Quantum automata and quantum grammars.Theoretical ComputerScience, 237(1-2):275–306, 2000.</ref>, although they described QRL as probabilities over words, rather a language in the strict sense. Several important properties established by <ref>Alberto Bertoni and Marco Carpentieri. Analogies and differences between quantum and stochastic automata.Theoretical Computer Science, 262(1-2):69–81, 2001</ref>, where it was shown that QRL has no finite-size languages, but also contains several non-regular languages.

Also called NMCL, in <ref>Abuzer Yakaryilmaz, A. C. Cem Say. Languages recognized by nondeterministic quantum finite automata. https://arxiv.org/abs/0902.2081</ref>, in order to disambiguate from NQL.

Contrast with NQL, which is an analogous class for a different model of quantum finite automaton: there the automaton is measured after each step for acceptance or rejection.


QSZK: Quantum Statistical Zero-Knowledge

A quantum analog of SZK (or more precisely HVSZK).

Arthur is a BQP (i.e. quantum) verifier who can exchange quantum messages with Merlin. So Arthur and Merlin's states may become entangled during the course of the protocol.

Arthur's "view" of his interaction with Merlin is taken to be the sequence of mixed states he has, over all steps of the protocol. The zero-knowledge requirement is that each of these states must have trace distance at most (say) 1/10 from a state that Arthur could prepare himself (in BQP), without help from Merlin. Arthur is assumed to be an honest verifier.

Defined in [Wat02], where the following was also shown:

  • QSZK is contained in PSPACE.
  • QSZK is closed under complement.
  • Any protocol can be parallelized to consist of two messages, so that QSZK is in QIP[2].
  • One can assume without loss of generality that protocols are public-coin, as for SZK.
  • QSZK has a natural complete promise problem, called Quantum State Distinguishability (QSD). We are given quantum circuits Q0 and Q1. Let ρ0 and ρ1 be the mixed states they produce respectively, when run on the all-0 state (and when non-output qubits are traced out). We are promised that the trace distance between ρ0 and ρ1 is either at most α or at least β, where α and β are constants in [0,1] satisfying α < β2. The problem is to decide which of these is the case.

Subsequently, [Wat09b] showed that honest-verifier and general-verifier quantum statistical zero-knowledge are equivalent.

There exists an oracle relative to which QSZK does not contain UPcoUP, and a random oracle relative to which QSZK does not contain UP [MW18].