MA ⊆ QMA and BPP ⊆ BQP #
A Merlin–Arthur verifier V (Cslib.Complexity.MA) reads Merlin's proof y of length q(n)
and Arthur's random string r of length p(n). Its quantum simulation
(Cslib.Quantum.UniformVerifierFamily.ofMA) does the following:
- it reads Merlin's proof as a witness state on
q(n)qubits; - it prepares Arthur's coins with one Hadamard gate on each of
p(n)fresh zero qubits (Cslib.Quantum.hadamardCodes); - it runs the exact reversible simulation of
Von the wordx ++ y ++ r(Cslib.Quantum.UniformVerifierFamily.ofNP, inCslibFrontier/Computability/Complexity/Classes/QMA/NP.lean).
This is the gate-by-gate simulation of randomized circuits, with random bits produced by Hadamard
gates, of Watrous, Section IV.3 (Figure 7), there used for BPP ⊆ BQP; the
containment MA ⊆ QMA appears in the inclusion diagram of Watrous, Figure 14.
The classical part maps basis states to basis states, each accepted with probability 0 or 1,
so different proofs and coin strings do not interfere. On a witness state ψ = ∑_y ψ_y |y⟩, the
verifier accepts with probability ∑_y |ψ_y|² · #{r | V(x, y ++ r)} / 2^{p(n)}
(Cslib.Quantum.UniformVerifierFamily.acceptProb_ofMA), the average over a distribution of
proofs of their classical acceptance probabilities. A basis state of a good proof gives
completeness, and soundness holds for every witness state, entangled or not, since an average of
values at most 1 / 3 is at most 1 / 3. With no proof (q = 0), the same verifier is a BQP
family for a BPP verifier.
The containment is stated for decision problems only, since the library has no promise version of
MA; the verifier and its acceptance probability do not depend on a promise.
Main definitions #
Cslib.Quantum.UniformVerifierFamily.ofMA: the quantum verifier of a Merlin–Arthur verifier.
Main results #
Cslib.Quantum.UniformVerifierFamily.acceptProb_ofMA: its acceptance probability.Cslib.Quantum.UniformVerifierFamily.acceptProb_ofMA_ket: on a basis proof, the classical acceptance probability.Cslib.Quantum.UniformVerifierFamily.acceptProb_ofMA_zeroWitness: with no proof, the uniform average over Arthur's coins.Cslib.Quantum.UniformVerifierFamily.acceptProb_ofMA_le: soundness against every witness state.Cslib.Complexity.MA_subset_QMA:MA ⊆ QMA.Cslib.Complexity.BPP_subset_BQP:BPP ⊆ BQP.
References #
The verifier of a Merlin–Arthur verifier #
The verifier's circuit: Hadamard gates on the p(n) qubits after Merlin's q(n)-qubit proof,
then the verifier of the NP relation on proofs of length q(n) + p(n).
The quantum verifier of a Merlin–Arthur verifier: for a uniform family F of circuits on
the words frame x ++ y ++ r, the verifier reads Merlin's proof as a witness of q(|x|) qubits,
prepares Arthur's p(|x|) coins in uniform superposition with Hadamard gates, and runs the verifier
of the NP relation of F on proofs of length q + p.
The acceptance probability of the Merlin–Arthur verifier. When F decides f exactly on
the words frame x ++ w, the verifier accepts the witness state ψ = ∑_y ψ_y |y⟩ with probability
∑_y |ψ_y|² · #{r | f (y ++ r)} / 2^{p(|x|)}: the coins are uniform and independent of the proof,
and different basis proofs do not interfere.
A basis proof y is accepted with probability #{r | f (y ++ r)} / 2^{p(|x|)}.
Acceptance with no Merlin proof. When F decides f exactly on the words
frame x ++ r, the zero-witness Merlin--Arthur circuit accepts with probability
#{r | f r} / 2^{p(|x|)}.
Soundness of the Merlin–Arthur verifier: if every basis proof is accepted with probability
at most t, then so is every unit witness state.
MA ⊆ QMA: Merlin's proof is read as a quantum witness and Arthur's coins are prepared
with Hadamard gates. A basis state of a good proof is accepted with probability at least 2 / 3;
a witness state ∑_y ψ_y |y⟩ is accepted with the average of the acceptance probabilities of the
proofs y, weighted by |ψ_y|², which is at most 1 / 3 on a non-member.