Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 63 1 a Solution Created 2026-10-03 Updated 2026-10-06
Write the quantum circuit as , and let , . Use a nonlocal quantum clock with orthonormal states . Let the work space include the quantum witness and the ancilla qubits. The input penalty of a history Hamiltonian is built fromIt annihilates precisely the correctly initialized ancilla qubits, leaving the quantum witness unrestricted. The Feynman-Kitaev Hamiltonian without output penalty isEach propagation summand is positive: on vectors with adjacent clock components , its quadratic form is . The input penalty of a history Hamiltonian is also a positive semidefinite operator, so .
To verify that this is a stoquastic Hamiltonian, use the work computational basis and the clock basis. Every is a permutation matrix, so the propagation off-diagonal entries are nonpositive. The zero-ancilla projectors are diagonal, while also has nonpositive off-diagonal entries. No positive off-diagonal entry is introduced by summing these terms. Thus is positive semidefinite and stoquastic, with no output penalty.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 63 2 a Solution Created 2026-10-03 Updated 2026-10-06
BQP consists of promise problems decided by a uniform family of polynomial-size quantum circuits. On input , with polynomially many zero-initialized ancilla qubits, a designated output measurement accepts with probability at least on YES inputs and at most on NO inputs. Uniformity means a classical polynomial-time procedure produces the quantum circuit description from the input length, or equivalently produces the verifier quantum circuit with supplied as input.
For BQP error reduction, run independent copies with freshly initialized registers. If the completeness and soundness thresholds are any constants , accept when the fraction of accepting trials exceeds . A Hoeffding inequality bounds either error by , with repetitions. The threshold need not be a simple majority when both and lie on the same side of .
Choosing sufficiently large gives the usual thresholds, or any other fixed separated thresholds. Even an inverse-polynomial gap can be amplified using polynomially many repetitions. Classical threshold evaluation can be incorporated into the uniform computation. Thus fixed separated acceptance probabilities define the same BQP class. This argument concerns unrestricted BQP quantum circuits and does not assume such amplification is available for restricted stoquastic circuits.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 63 2 c Solution Created 2026-10-03 Updated 2026-10-06
QMA is the class of promise problems for which a uniform polynomial-size quantum circuit checks a polynomial-size quantum witness. A YES instance has some quantum witness accepted with probability at least ; on a NO instance every quantum witness is accepted with probability at most . The verifier initializes its own ancilla qubits to zero. Mixed quantum witnesses do not improve the maximum because acceptance is linear in their density operator.
For a verifier and quantum witness embedding , define the witness acceptance operatorThe Rayleigh quotient gives . Every entry of can be recomputed by the polynomial-storage path summation of part (b); no full quantum witness matrix needs to be stored.
Let the quantum witness have qubits, so its dimension is . For this positive operator, trace-power witness optimization usesThis is the useful exponentiated form of the supplied logarithmic inequality. Positivity is required; such a logarithmic statement is not true for an arbitrary operator. No logarithms or roots need to be calculated.
Choose . On a NO instance,since . On a YES instance, . Thus comparison of with one distinguishes the cases using only multiplication and a final comparison.
Evaluate the trace byThere are active quantum witness indices, each requiring bits. Accumulate one product at a time and recompute its matrix entries as required. Together with the verifier path workspace, this uses polynomially many real registers. The potentially enormous time and the numerical precision are unrestricted in . Therefore , without solving an exponentially large eigenvalue problem by storing its matrix.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 67 3 d Solution Created 2026-10-03 Updated 2026-10-06
Use an -qubit state as the witness. Uniformly choose a term and perform the two-outcome positive operator-valued measure . Regard the second outcome as an energy flag. For witness , its probability isThis is an efficient local-energy measurement verification: a unitary operator on the relevant qubits and one ancilla qubit can implement the measurement using the isometryThe local dimension is constant; the term matrices and the measurement can be approximated to inverse-polynomial accuracy. Uniform choice of and the classical threshold comparison also have polynomial overhead.
SetIn the nontrivial case , is inverse-polynomial. Cases outside this energy range are decided directly from .
Ask for witness registers, measure an independently sampled local term on each, and accept if the mean number of energy flags is at most . An honest product ground state on a YES instance has flag probability at most . The Hoeffding inequality gives failure at most . For completeness, the required Bernoulli concentration estimate follows by bounding the centered log moment-generating function : and is a tilted Bernoulli variance, at most . Hence ; exponential Markov's inequality optimized at yields , and the lower-tail version follows in the same way.
Soundness must also cover entangled witness registers. The averaged flag effect is . All its eigenvalues are at least on a NO instance. The repeated verifier's acceptance effect is a polynomial in the commuting tensor-factor operators and . In their product eigenbasis its eigenvalues are lower-tail probabilities of independent Bernoulli variables whose parameters are each at least . Their lower tail is bounded by the identical-parameter tail at , using the same uniform-variable coupling as in QMA parallel repetition with entangled witnesses. Therefore its operator norm is at most , which bounds acceptance for any entangled witness.
Choosinggives completeness at least and soundness at most . A slightly larger constant absorbs implementation errors; for example, approximate each flag effect in norm to at most , retain a gap at least , and increase by a constant factor. The total witness length and circuit size are polynomial. Thus
Prepare an ancilla qubit in . To measure , apply a Hadamard gate to each data qubit, apply a controlled-NOT gate from each data qubit to the ancilla, measure the ancilla in the computational basis, and apply a Hadamard gate to each data qubit again. The ancilla records the parity of the two rotated computational-basis bits, so outcome corresponds to eigenvalue and outcome to eigenvalue . The data register is projected by , so its complete post-measurement state is retained. For , perform the same ancilla-assisted Pauli measurement but apply the basis-changing Hadamard gates only to the second data qubit.
Positive-phase fractional power of a unitary operator Created 2026-10-06 Updated 2026-10-07
Choose eigenphase representatives for a unitary operator and a positive integer . Its positive-phase fractional power acts on each eigenstate by . This branch uses arguments in and can differ from the usual complex principal branch using . For exactly dyadic phases, exact quantum phase estimation stores each label in a coherent phase register; bitwise phase gates multiply it by the required phase, and inverse phase estimation removes the labels. Keeping the phase register unmeasured preserves arbitrary eigenstate superpositions and resets the ancilla qubits. With only controlled- and controlled- primitives, the direct method uses oracle calls for exact phase bits.
Quantum witness 2026-10-06
A quantum witness is a polynomial-size quantum state supplied to a verifier as evidence for a YES instance. The verifier fixes its own ancilla qubits independently. Pure quantum witnesses suffice when maximizing a linear acceptance functional on density operators. Quantum witnesses are not generally restricted to basis vectors or product states.
Stoquastic acceptance floor 2026-10-06
If the output of a stoquastic circuit is with nonnegative amplitudes, its plus-outcome probability is . Basis quantum witnesses with zero and plus ancilla qubits always have this property. A soundness threshold below one half cannot hold for every such input.
Stoquastic circuit 2026-10-06
A stoquastic circuit verifier uses reversible classical quantum gates, represented by permutation matrices, with zero and plus-state ancilla qubits and a final Hadamard basis output measurement. A basis input remains an entrywise nonnegative state; a general quantum witness need not be a basis input. The resulting acceptance structure is used in StoqMA.
Uniform coprime state for a semiprime 2026-10-06
For a semiprime with distinct known primes, this quantum state is uniform over the reduced residue classes. With binary digits in , its fraction among all computational labels is . An ancilla qubit whose one probability is dilutes the joint good probability to exactly . A reversible range-and-greatest common divisor predicate marks the good labels with ancilla qubit one, and a single exact amplitude amplification iteration produces . Known prime factors provide the cardinality; the membership test itself needs only . Polynomial gate complexity presumes ideal one-qubit rotations at the specified amplitudes.