Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 324 4 b Solution Created 2026-10-03 Updated 2026-10-05
Use a reversible circuit to compute an -bit representation of the angle into a workspace register, with all additional work bits retained:Write that representation as , with known binary place values (including the fixed scale and any integer bit). On the target, apply a controlled unitary gate controlled by each angle bit . Rotations about the same axis add their angles, so their product isFinally apply to perform uncomputation. The workspace returns to zero while the control register and rotated target remain unchanged; the construction works coherently on every superposition of .
A polynomial time classical calculation has a polynomial-size reversible circuit with Toffoli gates, and each Toffoli gate has a constant-size decomposition into one-qubit and two-qubit gates. The controlled rotations are themselves two-qubit gates. Thus the total quantum circuit size is . This is the binary-angle implementation of a quantum variable rotation; the stipulated angle precision is understood.
Rotation about the y-axis 2026-10-05
The one-qubit rotation gatesatisfies and . The latter identity enables a binary-angle implementation of a quantum variable rotation.