Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 324 2 a Solution 2026-09-28
Efficiently prepare the normalized amplitude encoding .
Apply quantum phase estimation to the simulated evolution , producing an approximation of each eigenvalue: Add one ancilla and perform an eigenvalue-controlled rotationwhere .
Uncompute the eigenvalue register. Conditional on measuring the ancilla as , the system register isThe postselection probability can be increased with amplitude amplification.
Apply quantum phase estimation to the simulated evolution , producing an approximation of each eigenvalue: Add one ancilla and perform an eigenvalue-controlled rotationwhere .
Uncompute the eigenvalue register. Conditional on measuring the ancilla as , the system register isThe postselection probability can be increased with amplitude amplification.
The ingredients used here are efficient sparse Hamiltonian simulation of and quantum phase estimation, which converts an eigenphase of that evolution into a binary approximation of . For sparsity , condition number , and error , the cost is polynomial in , , , and under the stated access assumptions.
Finally estimate by repeated measurement of an efficient observable decomposition of , or by a Hadamard test when is unitary. A general efficiently block-encoded Hermitian can similarly be measured through its block encoding. Repetition and a concentration inequality give additive sampling error after independent preparations.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 15D d Solution Created 2026-09-24 Updated 2026-09-25
After the first Hadamard gate and the controlled unitary gate, the state isThe final Hadamard gate givesHence the Hadamard test returns one with probabilityIf , then and the outcome is zero with certainty. If , then modulo and the outcome is one with certainty. The single measurement therefore distinguishes the two promised cases exactly.
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 10C c Solution Created 2026-09-24 Updated 2026-09-25
Both and are unitary and Hermitian, so their expectations are real. Run the real-part Hadamard test twice, once with controlled and once with controlled . If the respective ancilla outcome-one probabilities are and , thenThe identity in part (b) implements each controlled tensor product by gates on its two target wires with the common control. By linearity,