Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 49 1 a Solution Created 2026-10-03 Updated 2026-10-14
Write and . The initial Hadamard gates prepare in the search register and in the final quantum ancilla. Since the Pauli X gate satisfies , the Boolean quantum oracle acts by quantum phase kickback:For a single marked entry this is the marked-state phase oracle on the search register. The ancilla stays separate and unchanged throughout.
The Grover diffusion operator is , because . The PDF circuit places one diffusion after each oracle call, so the state before measurement isIn the supplied amplitude amplification theorem, take and . Their overlap has modulus , so the Grover rotation angle is . A quantum measurement in the computational basis therefore givesThe inverse sine here is applied to the overlap of the two different states. The converted TeX's self-overlap in the angle definition is a transcription error; the original PDF has .
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 51 2 d Solution Created 2026-10-03 Updated 2026-10-14
No measurement on the supplied system alone distinguishes ensembles with the same density operator. A completely general measurement in quantum mechanics has POVM effects with . The outcome probability for a quantum ensemble isIf both ensembles have the same , every outcome probability is identical. This proves the claim for all positive operator-valued measures, and includes projective measurements as a special case. An quantum ancilla in a fixed independent state does not help: the input density operators remain identical after tensoring with that ancilla, and the same argument applies to any joint measurement.
The premise concerns access only to the prepared state. An accessible preparation label or a correlated purification of a density operator is additional information outside that premise and can distinguish global preparations. Without such side information, different ensemble decompositions do not define distinguishable states.
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 3 b i Solution Created 2026-10-03 Updated 2026-10-06
Let denote the coherent exact quantum phase estimation unitary operator from the preceding part, with the data quantum register written first. For every eigenvector of ,because and lies in , with no phase-aliasing ambiguity. Apply coherently to the input quantum state and a clean quantum register; do not measure the eigenvalue label. By linearity it produces .
Append a quantum ancilla in , and use the provided quantum variable rotation with , choosing the nonnegative cosine. The resulting normalized quantum state isThe sum covers both terms; this fixes the potentially ambiguous sum placement in the abbreviated display. The orthonormal basis of eigenvectors and the unit length of each rotated quantum ancilla show that its norm is one. This is quantum spectral filtering by multiplication, not the reciprocal rotation used in the HHL algorithm.
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 2019 iii Paper 324 3 b ii Solution Created 2026-10-03 Updated 2026-10-05
Since , the spectral decomposition givesReplace the middle gate of the previous compute-phase-uncompute construction bya one-qubit rotation about the z-axis. ThenThe circuit uses the gates of , their inverses, and one fixed rotation; it returns the quantum ancilla to . The same construction implements with middle gate , an instance of simulation of a computable diagonal Hamiltonian.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 324 3 b i Solution Created 2026-10-03 Updated 2026-10-05
Use a clean quantum ancilla and apply the quantum circuit , then the Pauli Z gate on the ancilla, then the inverse quantum circuit :This compute-phase-uncompute construction implements on every input with the ancilla initially , and by linearity on any superposition of those inputs. The action on ancilla- inputs need not coincide with ; the question only requires the clean-ancilla subspace.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 324 4 a ii Solution Created 2026-10-03 Updated 2026-10-05
Write the normalized input as , where and . Use a data register, an -qubit eigenvalue register, and a flag quantum ancilla. Begin with .
Apply exact quantum phase estimation to . Its controlled evolutions and inverse quantum Fourier transform produceApply the HHL controlled reciprocal rotation, with :The function of is computed by quantum arithmetic; the rotation is a quantum variable rotation. On a zero eigenvalue label with no input amplitude, define any unitary action, for example no rotation.
Run the inverse phase-estimation circuit. Because each amplitude multiplier depends only on , the eigenvalue register is reset to on both flag branches. Measuring the flag and conditioning on outcome one leavesThe successful unnormalized branch is , giving the probability in the preceding part. The operations independent of are the Hadamard gates preparing the phase register, the inverse quantum Fourier transform, the reversible reciprocal/angle arithmetic, the controlled fixed-angle rotations, and the final flag measurement. Uncomputation removes all arithmetic workspace; the -dependent controlled evolutions and the -dependent state-preparation circuit supply the input-specific operations.
Introduce a quantum ancilla with basis and defineThe completeness relation gives , so is an isometry and extends to a unitary operator on a sufficiently large system-plus-ancilla space. Prepare the ancilla in a fixed state, apply that unitary, and perform the projective measurement . Outcome has probability and leaves the system in the normalized state . By linearity the same holds for mixed states, implementing the generalized measurement.
Attach a quantum ancilla prepared with amplitudeon ; this is possible because . Mark a state as good only when both the original success qubit and this ancilla equal one. The enlarged state's good probability is , so its good amplitude is . One amplitude amplification iteration rotates the angle from to . It therefore prepares exactly, after which the flag and ancillary qubits may be discarded. This is an instance of exact amplitude amplification.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 324 4 c Solution 2026-09-25
Implement the assumed efficient classical algorithm for as a reversible circuit. On input , it computes an -bit binary expansion of the angle in a work register using Toffoli gates and elementary reversible gates. Write the computed angle as a sum of binary-weighted angles. For each angle bit, apply the corresponding controlled single-qubit rotation to the target. These rotations have the same axis, so their angles add and produceFinally apply uncomputation to erase the work register. Each Toffoli gate and controlled rotation has a constant-size decomposition into one- and two-qubit gates when arbitrary one-qubit rotations are available. Ignoring the stipulated precision costs, the resulting circuit has size and returns every quantum ancilla to zero.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 323 1 iii Solution Created 2026-09-24 Updated 2026-09-25
For , the weighted difference of the two Werner–Holevo channels isThus the map is the transposition map divided by . The diamond norm of the transposition map and invariance of the trace norm under matrix transpose giveSubstitution into the optimal-error formulas shows that an entangled quantum ancilla permits perfect discrimination, whereas every ancilla-free strategy has
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 323 1 ii Solution Created 2026-09-24 Updated 2026-09-25
For a fixed input, the Holevo–Helstrom theorem gives the optimal error for the two output states. Optimizing the input and quantum ancilla therefore givesThe stabilization in the diamond norm is exactly the optimization over ancillary systems. Without an ancilla the same argument instead giveswhere is the induced trace norm.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 323 1 i Solution Created 2026-09-24 Updated 2026-09-25
In quantum channel discrimination, prepare a density operator on the channel input and an optional quantum ancilla . Under hypothesis the output isUse a two-outcome quantum measurement and decide for on outcome . The conditional Type I error and Type II error areWith prior probabilities and , symmetric Bayesian discrimination minimizes the average error over the input and measurement.
Positive operator-valued measure Created 2026-09-28 Updated 2026-10-14
A positive operator-valued measure is a family of positive operators satisfying . Each is called an effect and determines a probability for input density operator . The effects need not be orthogonal projections or commute. This permits measurements with more outcomes than the dimension of the Hilbert space, such as the trine qubit POVM. Coupling to a quantum ancilla and measuring the larger system supplies a physical route to generalized measurements. [ref]
https://www.preskill.caltech.edu/ph229/notes/chap3.pdf. Preskill, Quantum Information, §§3.1.2–3.1.4
.For an elementary unsharp example on a qubit, takeOn the eigenstate , ; at they are and . At the outcome is a fair coin independent of the input, and at these effects specify a sharp projective measurement. Choosing specifies one quantum instrument, but for outcome-dependent unitary operators has the same effects and different state updates. Thus POVM does not determine the post-measurement state.
Quantum channel discrimination Created 2026-09-24 Updated 2026-10-06
Quantum channel discrimination feeds a common input into one of several candidate quantum channels and measures the output. An entangled quantum ancilla permits inputs and compares ; optimal binary discrimination is governed by the diamond norm of the weighted channel difference.
Three-qubit bit-flip syndrome table 2026-10-14
Measure the commuting stabilizer generators and in that order. Use error syndrome bit for eigenvalue and bit for eigenvalue . For the Pauli X gate on physical qubit , every row holds for arbitrary normalized . This ordered parity-check convention follows [ref]
https://www.preskill.caltech.edu/ph229/notes/chap7.pdf. Preskill, §7.1
:| Error | State before recovery | eigenvalues | Error syndrome | Recovery |
|---|---|---|---|---|
Each pair of computational basis words within a row has the same two parities. Consequently the projective measurement reveals the row without distinguishing its two amplitudes. For example, becomes under . Both checks give with probability one, and applying restores both coefficients exactly, including the relative phase .
One implementation uses two quantum ancillas initialized to . Two controlled-NOT gates from data qubits 1 and 2 to the first quantum ancilla write their parity; two more from data qubits 2 and 3 to the second quantum ancilla write the other parity. Measuring only the quantum ancillas in the computational basis gives . Measuring the individual data qubits instead would reveal the encoded computational basis value and destroy the unknown quantum superposition. The existing coherent syndrome extraction for the three-qubit repetition code uses the alternative ordered checks , so its bit labels differ from this table.
The recovery also handles coherent errors. Put . Their images of the code are mutually orthogonal, giving , the Knill--Laflamme condition for this family. For any linear combination , its component in sector is . Measuring that error syndrome has probability on the normalized erroneous state, and recovery returns . More generally one recovery quantum channel corrects every noise quantum channel whose Kraus operators belong to this span. The assumption concerns the whole jointly correctable family; it does not extend to the span of arbitrary single-site Pauli errors. [ref]
https://www.preskill.caltech.edu/ph229/notes/chap7.pdf. Preskill, §7.2: correction of an error span
.A fully computed coherent example is the unitary operator . At it givesThe error syndromes and occur with probabilities and , independently of . Doing nothing for and applying for restores the same logical qubit in both branches; the scalar in the second branch is an irrelevant global phase. This is an example of linearity of coherent quantum error correction, rather than an assumption that the original error was a classical random bit flip.
