Weak error reduction for QMA #
The completeness 2 / 3 and soundness 1 / 3 in the definition of QMA (Cslib.Complexity.QMA)
can be made exponentially close to 1 and 0: A ∈ QMA enc exactly when for every polynomial q
the problem has verifiers with completeness 1 - 2^{-q(n)} and soundness 2^{-q(n)}, where n is
the length of the encoded instance (Cslib.Complexity.mem_QMA_iff_forall_errorExponent). This is
Kitaev's parallel repetition Kitaev, Shen, Vyalyi, Section 14.2;
Marriott, Watrous, Theorem 3.2, here at the gap (2 / 3, 1 / 3). The witness
grows with the number of repetitions, which Watrous, Section V.3, calls weak error
reduction.
The amplified verifier family (Cslib.Quantum.UniformVerifierFamily.amplify) reuses the reversible
majority vote of the error reduction for BQP (Cslib.Quantum.Amplify). On inputs of length n,
for a verifier of width m and witness length p, the amplified witness consists of 2 r blocks
of p qubits, and the register consists of 2 r + 1 blocks of width W = m + 2 r p and the
counter's ancillas. Block 0 holds the input and the witness blocks; block j + 1 is copy j of
the original register. The amplified circuit (Cslib.Quantum.QMAAmplify.codes):
- moves witness block
jinto the witness qubits of copyjwith CNOT gates (Cslib.Quantum.QMAAmplify.moveInCodes,Cslib.Quantum.QMAAmplify.moveOutCodes); - copies the input into each copy (
Cslib.Quantum.Amplify.copyCodes); - runs the original circuit on each copy (
Cslib.Quantum.Amplify.copiesCodes); - computes the strict majority of the copies' answers into qubit
0with a reversible counter.
Steps 1, 2 and 4 are classical, so the acceptance probability is the weight of the outcomes with
more than r accepting copies under the 2 r-fold tensor power of the original circuit applied to
the witness (Cslib.Quantum.UniformVerifierFamily.acceptProb_amplify).
- Completeness. On the product witness
ψ^{⊗ 2 r}the copies are independent, and the majority-vote boundCslib.sum_prod_le_of_card_filter_legives acceptance probability at least1 - (8 / 9) ^ r(Cslib.Quantum.UniformVerifierFamily.exists_one_sub_le_acceptProb_amplify). - Soundness. The witness may be entangled across the blocks. The original verifier accepts every
witness with probability at most
1 / 3of its squared norm, so each copy accepts with probability at most1 / 3conditioned on the outcomes of the others (Cslib.Quantum.sum_filter_mul_norm_tensorPowerApply_le). The resulting exponential-moment bound gives acceptance probability at most(8 / 9) ^ r(Cslib.Quantum.UniformVerifierFamily.acceptProb_amplify_le).
Taking r = 6 q gives the error 2^{-q}.
Main definitions #
Cslib.Quantum.QMAAmplify.codes: the gate codes of the amplified verifier.Cslib.Quantum.UniformVerifierFamily.amplify: the amplified verifier family.
Main results #
Cslib.Quantum.UniformVerifierFamily.acceptProb_amplify: the acceptance probability of the amplified family.Cslib.Quantum.UniformVerifierFamily.acceptProb_amplify_le,Cslib.Quantum.UniformVerifierFamily.exists_one_sub_le_acceptProb_amplify: amplified soundness and completeness.Cslib.Complexity.PromiseQMA_subset_errorExponent:QMA(2 / 3, 1 / 3) ⊆ QMA(1 - 2^{-q}, 2^{-q}).Cslib.Complexity.mem_QMA_iff_forall_errorExponent: error reduction forQMA.
Error reduction from an arbitrary inverse-polynomial gap, as in [Marriott, Watrous] [MW05], Theorem 3.2, and strong error reduction, which keeps the witness length (Marriott, Watrous, Theorem 3.3), are not formalized here.
References #
CNOT gates copying witness block j < k (qubits n + p j, …) into the witness qubits of copy
j (qubits n + (j + 1) W, …).
CNOT gates clearing the witness blocks, after moveInCodes.
The gates of moveInCodes have distinct targets.
The gates of moveOutCodes have distinct targets.
The registers of the amplified verifier #
The first block lies in the register.
Moving the witness blocks into the copies: the CNOT gates of moveInCodes and then
moveOutCodes move the bits on the witness blocks n, …, n + 2 R p - 1 into the witness qubits
of the copies, when the latter are zero.
Moving the witness blocks is classical.
The classical preparation: moving the witness blocks into the copies and copying the input into them.
The state after the classical preparation: the witness on the witness qubits of the copies.
The bits of a copy after writing the witness blocks: the witness on its witness qubits.
The gate codes of the amplified verifier: move the 2 R witness blocks into the witness
qubits of 2 R copies of the original register (of width at most W), copy the input into them,
run the original circuit gs on each copy, and take the strict majority of their answers with the
reversible counter of Cslib.Quantum.Amplify.
The gate codes of the amplified verifier, grouped into the classical preparation, the copies of the original circuit, and the counter.
The acceptance probability of the amplified verifier on the witness Ψ for the 2 R
blocks: the weight of the outcomes of the 2 R copies of the original circuit in which more than
R copies accept, under the 2 R-fold tensor power of the original circuit applied to Ψ.
The amplified verifier is constructed in polynomial time #
The gate codes of the amplified verifier are computed in polynomial time.
The amplified verifier family Kitaev, Shen, Vyalyi, Section 14.2:
on inputs of length n, the witness consists of 2 r(n) blocks of V's witness length; each
block is moved into its own copy of V's register, the 2 r(n) copies of V's circuit run side
by side, and a reversible majority vote of their answers is measured.
The amplitudes of one run of V on the input x: outcome u on the basis witness w.
The acceptance probability of the amplified family on the witness Ψ: the weight of the
outcomes of 2 r(n) copies of V in which more than r(n) copies accept, under the
2 r(n)-fold tensor power of V's circuit applied to Ψ.
The outcomes of one run of V on the witness φ.
One run of V is an isometry from the witness to the outcomes.
The acceptance probability of one run of V on the witness φ.
A bound on the acceptance probability of unit witnesses holds for all witnesses, scaled by the squared norm.
Amplifying soundness Kitaev, Shen, Vyalyi, Section 14.2: if V
accepts every unit witness with probability at most 1 / 3, then the amplified family accepts
every witness, entangled across the blocks or not, with probability at most (8 / 9) ^ r(n) times
its squared norm.
Amplifying completeness Kitaev, Shen, Vyalyi, Section 14.2: if V
accepts the unit witness ψ with probability at least 2 / 3, then the amplified family accepts
the unit witness ψ^{⊗ 2 r(n)} with probability at least 1 - (8 / 9) ^ r(n).
Weak error reduction for QMA Kitaev, Shen, Vyalyi, Section 14.2;
Marriott, Watrous, Theorem 3.2 at the gap (2 / 3, 1 / 3): for every
polynomial q, QMA(2 / 3, 1 / 3) ⊆ QMA(1 - 2^{-q}, 2^{-q}). The amplified verifier takes
12 q(n) copies of the witness length.
Conversely, QMA(1 - 2^{-q}, 2^{-q}) ⊆ QMA(2 / 3, 1 / 3) when q ≥ 2.
Error reduction for QMA: a problem is in QMA exactly when, for every polynomial q, it
has a polynomial-time uniform family of verifiers with completeness 1 - 2^{-q(n)} and soundness
2^{-q(n)}, where n is the length of the encoded instance.