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.