Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 324 4 ii Solution Created 2026-10-03 Updated 2026-10-06
For first-order two-local Hamiltonian simulation, regard each term as a Hermitian operator, as is standard for a local-Hamiltonian decomposition. The Lie-Trotter product formula for bounded operators statesin operator norm; the reversed factor ordering is just as valid as the displayed one. Take and use the circuitEach factor is a unitary operator on at most two qubits and hence is one allowed two-qubit gate, with a spectator identity for a one-qubit term. The factors in the rightmost part of each written product act first. Merely quoting the limit would not establish the requested rate, so we give a quantitative error bound.
For two Hermitian operators and , differentiatinggives . The commutator identity obtained by differentiating implies . Since the surrounding factors are unitary, integration yields the first-order unitary product-formula error boundSplitting the terms successively and using the triangle inequality therefore gives the one-step estimatefor . Here submultiplicativity of the operator norm gives . The ordering chosen for the products changes the sign of local commutators, not this norm bound. Applying part (i) to the steps givesChoose . For the error is strictly below ; is exact already with . The quantum circuit contains two-qubit gates. A sufficient gate count isThus the worst-case polynomial degree in this first-order bound is six. Terms with disjoint supports commute and may improve the count in particular decompositions, but the stated assumptions alone suffice for this bound, without a further sparsity or bounded-degree condition. The requested gate model allows arbitrary two-qubit unitaries, so no additional compilation error is incurred here.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 3 a Solution Created 2026-10-03 Updated 2026-10-14
Use exact quantum phase estimation with control qubits initially and one target quantum register prepared in the given eigenvector . Apply Hadamard gates to the control qubits. If control bit has significance , apply a controlled unitary gate from that qubit to the target. The target stays in , while quantum phase kickback producesSince , this is . The inverse quantum Fourier transform on the control quantum register therefore gives . The quantum measurement in the computational basis returns with certainty, soThe quantum circuit below reads left to right. The upper wires are control qubits, with least significant; the vertical ellipsis represents the intervening control wires and powers. The inverse quantum Fourier transform acts on the entire control quantum register, including any bit-order permutations.
Quantum phase estimation and spectral filtering
. Details. A supplied controlled- can implement controlled- by repetitions with the same control. Hence this exact quantum circuit uses calls to the supplied controlled-, unless controlled powers are additionally available cheaply. The cost of exact phase estimation on a dyadic spectrum is not automatically polynomial in ; the question asks for an exact algorithm, not that stronger complexity guarantee. Exactness also uses the promised dyadic eigenphase, ideal gates, and the supplied inverse quantum Fourier transform.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 3 b ii Solution Created 2026-10-03 Updated 2026-10-06
Apply to the data and phase quantum registers, leaving the flag quantum ancilla untouched. This inverse needs no extra oracle assumption: the promised dyadic eigenvalues give , hence . The inverse of each controlled unitary gate used in can therefore be built from repeated uses of the supplied controlled-, and the known Hadamard gates and quantum Fourier transform gates can be reversed. Uncomputation is necessary to erase the eigenvalue label coherently. The resulting quantum state isA quantum measurement in the computational basis of the flag followed by postselection on one yieldsThis requires . For a normalized input and nonnegative eigenvalues, the success probability of positive quantum spectral filtering satisfies . In the general inequality, equality holds precisely when the input is supported on the minimum-eigenvalue eigenspace. Omitting uncomputation and discarding the phase quantum register would instead leave a mixed state with diagonal weights proportional to , rather than the desired coherent pure state.
The printed universal nonzero-success request needs a nonkernel-input hypothesis. An -qubit Hermitian operator has eigenvalues, counted with multiplicity. All are distinct, and the printed dyadic grid contains exactly possible values. They therefore occupy the entire grid, including zero: this is a multiplicity-free complete dyadic spectrum, and . Taking , , and satisfies every printed spectral promise but gives . No normalized output vector exists, so no algorithm can deliver it with nonzero probability.
For every input outside the kernel, the procedure above has , giving the requested strict bound on the meaningful domain. The corrected result is therefore exact quantum spectral filtering conditional on , with the boxed probability. This does not require knowing the input probability amplitudes or making extra copies of an unknown quantum state. Arbitrarily small nonzero support outside the kernel gives arbitrarily small success probability, and a failed flag measurement disturbs the input; fresh independent trials cannot be assumed when only one unknown physical input is supplied.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 4 a iii Solution Created 2026-10-03 Updated 2026-10-06
The path graph state is . The factor commutes with both the Controlled-Z gates and the quantum measurement of vertex . Treat as the input of one-bit teleportation. The equatorial qubit measurement result therefore gives the normalized stateHere the subscript on expresses the teleported input factor; it is not an extra operation on the already measured vertex. Use to obtainThe exclusive or exponent is equivalent to the printed sum because . The conditional probability of is one half for either , by the one-bit teleportation branch norm. This calculation concerns an equatorial measurement of a graph-state leaf; no third remaining qubit or extra factor is present.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 4 a i Solution Created 2026-10-03 Updated 2026-10-06
The basic one-bit teleportation primitive uses the input as qubit 1 and a fresh quantum ancilla as qubit 2. Apply the Controlled-Z gate and measure qubit 1 in the equatorial qubit measurement basis with angle . If is the result, the normalized post-measurement state on qubit 2 isBoth results have probability one half. For example, writing , the unnormalized branch is . Thus is applied deterministically as a logical gate with known Pauli frame ; a permitted conditional Pauli X gate would remove this byproduct physically.
The literal resource restriction does not need an unstated direct Pauli X gate. A Pauli Z gate can be enacted by applying to the data and a fixed quantum ancilla. Two consecutive angle-zero one-bit teleportations, with results , map an arbitrary current state to . Apply the available to remove the latter factor, up to an irrelevant global phase. This implements a heralded : if , the input is unchanged; if , the required Pauli X gate has been applied.
If the original result is and a physically corrected output is required, repeat this heralded Pauli X correction using controlled-Z and measurements until . Each attempt succeeds with probability one half independent of the input, so it terminates with probability one, using two attempts on average. Only , fixed ancillary quantum states and single-qubit quantum measurements are used. This exact physical correction has no finite worst-case measurement bound; the standard finite deterministic realization is the logical Pauli frame version, which suffices for the later output-simulation parts.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 4 a iv Solution Created 2026-10-03 Updated 2026-10-06
Let the ideal two-qubit output before final quantum measurements beThe PDF places only on the upper wire, followed by the Controlled-Z gate and a quantum measurement in the computational basis on each output wire. Measure vertex of the square in the computational basis, obtaining , then vertex of the surviving path in the fixed equatorial qubit measurement basis at angle , obtaining . Put . The previous part gives .
Commute its Pauli frame through the Controlled-Z gate. Since and commutes with , the actual output isFinally measure vertices in the computational basis, with raw results . A Pauli X gate flips a computational basis result, whereas a Pauli Z gate changes only its phase. Thus the purely classical correction isThis four-cycle graph-state simulation of an entangle-and-measure circuit reproduces the full joint output distribution, not just each marginal. All measurement bases are fixed beforehand, and no physical byproduct correction is necessary. As a check, the ideal Controlled-Z gate is diagonal in the output basis, so for and for , independently of . The measurement procedure gives exactly these probabilities after its classical relabelling.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 324 4 b Solution Created 2026-10-03 Updated 2026-10-06
The logical depth of a measurement pattern counts sequential layers of quantum measurements forced by dependence of measurement bases on earlier outcomes. Depth one means every basis can be fixed before measurements start, allowing all quantum measurements on distinct qubits to be performed in parallel. This does not require depth-one resource-state preparation or constant-depth classical parity processing.
Suppose the circuit contains gates in time order, with each . Prepare an -vertex path graph state from and Controlled-Z gates between neighbours. Its first qubit supplies the specified input . Measure vertex in the fixed equatorial qubit measurement basis at angle for , obtaining . Measure the final vertex in the computational basis, obtaining .
Track the Pauli frame as , starting with . A hypothetical sequential reading of the same quantum measurements gives the step . The supplied commutation rules imply, up to global phase,For , the sign is irrelevant. For , the identity absorbs the possible sign change into the Pauli frame. If for and for , the update isInductively the final unmeasured quantum state would be . The final computational basis outcome is corrected by and is unaffected by . The induction on a sequential interpretation proves the joint statistics; projectors on distinct vertices commute, so the identical fixed-basis pattern can actually be measured simultaneously, including its final vertex.
The first printed commutation formula has an incorrect exact scalar phase: with the printed matrix definition, , rather than the negative-exponent prefactor. For example, at the two versions differ by a factor . They agree up to global phase, so this error does not affect the Pauli frame recurrence or any quantum measurement probability.
Consequently a fixed-basis path-state pattern of logical depth one simulates every such circuit. Only Pauli measurements occur: the angle-zero basis measures , and the angle- basis measures with the printed eigenvector labels. Classical exclusive or processing suffices for all output corrections. These gates are Clifford gates, which explains why angle adaptation can be eliminated. For , simply measure the initial in the computational basis; it is already a depth-one pattern.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 324 3 a iii Solution Created 2026-10-03 Updated 2026-10-05
The printed sum contains although the stated labels end at . We use the natural periodic convention , with . If an open chain was intended, omitting the final term gives the same asymptotic bound.
Set , with indices modulo , and implement the product-formula Hamiltonian simulationEach factor acts on two qubits, so it is a two-qubit unitary operator. More explicitly, if , , and is a controlled-NOT gate,where is a Hadamard gate. This gives a constant number of one-qubit and two-qubit gates per factor; one-qubit gates can also be viewed as two-qubit gates tensored with the identity.
The spectral norm obeys the triangle inequality, submultiplicativity of the operator norm, and invariance under multiplication by unitary operators. In particular, the telescoping bound for products of operators gives for unitary . The first-order unitary product-formula error bound consequently yieldsOnly neighboring terms can have a nonzero commutator, because all other supports are disjoint. There are neighboring unordered pairs, and . Thus . Choosing givesThe coarser bound that counts all pairs also proves the often-used construction. Locality improves that cubic estimate to the quadratic bound above; neither assertion is a lower bound on the best possible circuit.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 324 3 a i Solution Created 2026-10-03 Updated 2026-10-05
The spectral norm is the operator norm induced by the Euclidean norm:The Pauli operators and act on different qubits, and each is a unitary operator. Their product is therefore unitary and preserves the norm of every vector. Hence
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 2 10D a Solution Created 2026-09-24 Updated 2026-10-03
