Lably
Skip to content

QMA

Quantum Merlin Arthur

  • 4 min read
  • 4 chapters

Related on Lably

Through String (computer science)

  1. If a string is in the language, then there is a polynomial-size quantum proof (representable as a quantum state) that convinces a polynomial-time quantum verifier (running on a quantum computer) of this fact with high probability.
  2. If a string is not in the language, every polynomial-size quantum state is rejected by the verifier with high probability.

The relationship between QMA and BQP is analogous to the relationship between the complexity classes NP and P. It is also analogous to the relationship between the probabilistic complexity classes MA and BPP.

QAM is a related complexity class, in which fictional agents Arthur and Merlin carry out the sequence: Arthur generates a random string, Merlin answers with a quantum certificate and Arthur verifies it as a BQP machine.

Definition

A language L is in QMA(c,s) if there exists a polynomial time quantum verifier V and a polynomial ⁠p(x)⁠ such that:

  • ∀x∈L, there exists a quantum state |ψ⟩ such that the probability that V accepts the input (|x⟩,|ψ⟩) is greater than c.
  • ∀x∉L, and for all quantum states |ψ⟩ with at most p(|x|) qubits, the probability that V accepts the input (|x⟩,|ψ⟩) is less than s.

The complexity class QMA is defined to be equal to QMA(2/3,1/3). However, the constants are not too important since the class remains unchanged if c and s are set to any constants such that c is greater than s. Moreover, for any polynomials q(n) and r(n), we have

QMA(23,13)=QMA(12+1q(n),12−1q(n))=QMA(1−2−r(n),2−r(n)).

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication

Source and licence. Adapted from the Wikipedia article “QMA” (this version, 2026-08-10) by its contributors, shared under CC BY-SA 4.0. Lablypedia has left out its tables, references and most pictures, and linked it to other Lablypedia articles.