Documentation

CslibFrontier.Computability.Circuit.Quantum.Verifier

Uniform families of quantum verifiers #

A quantum verifier reads, besides its input word, a witness state on some of its qubits Watrous, Section V.1. A polynomial-time uniform family of verifiers (Cslib.Quantum.UniformVerifierFamily) is a uniform family of circuits (Cslib.Quantum.UniformCircuitFamily) with a witness length witnessLength n, computed from n in unary in polynomial time. On an input word x of length n and a witness state ψ on witnessLength n qubits, the circuit for inputs of length n starts in |x⟩ ⊗ |ψ⟩ ⊗ |0 … 0⟩: the input on the qubits 0, …, n - 1, the witness on the next witnessLength n qubits and zeros on the rest. It accepts when the final measurement finds qubit 0 in state 1 (Cslib.Quantum.UniformVerifierFamily.acceptProb).

The initial state is the embedding of ψ into the larger register (Cslib.Quantum.embedState): the amplitude of a basis string is that of its bits on the witness qubits, when its other bits are those of the classical input, and zero otherwise. On a basis witness |z⟩ this is the input state of the word x ++ z (Cslib.Quantum.UniformVerifierFamily.acceptProb_ket).

Witnesses are pure states, as in Marriott, Watrous, Definition 3.1. Mixed witnesses would give the same acceptance bounds: the acceptance probability is a quadratic form in the witness, so a mixed witness accepts with a convex combination of the acceptance probabilities of pure witnesses. This equivalence is not formalized here.

Main definitions #

Main results #

References #

Verifier families #

A polynomial-time uniform family of quantum verifiers: a uniform family of circuits that, on inputs of length n, also reads a witness state of witnessLength n qubits on the qubits n, …, n + witnessLength n - 1, right after the input. The witness length is computed from n in unary in polynomial time.

The witness qubits n, …, n + witnessLength n - 1 on inputs of length n.

The acceptance probability of the verifier on the input word x and the witness state ψ: its circuit for inputs of length |x| runs on x, the witness ψ and zeros, and the final measurement finds qubit 0 in state 1. For a unit vector ψ this is a probability.

The acceptance probability is homogeneous of degree two in the witness.

On a basis witness |z⟩, the verifier is its circuit run on the word x ++ z.

The verifier accepts with probability zero on every witness state if it does on every basis witness.

A verifier reading no witness qubits on inputs of length |x| accepts the (unique) basis witness as its circuit family accepts x.

A uniform family of circuits as a verifier reading no witness.

A family reading no witness accepts as the circuit family does, scaled by the squared norm of the (one-dimensional) witness.