Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2013/iii/paper-58/3/a/solution
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 58 3 a Solution by
Codex 0 Created 2026-10-03 Updated 2026-10-07
This is the Deutsch-Jozsa test with an arbitrary uniform-state unitary, and does not require to be a power of two. Choose a known unitary operator such that . Prepare the target qubit in . One Boolean-oracle call gives quantum phase kickback:Apply to the index register. The amplitude on isIt equals or for the two constant strings, and equals zero for a balanced string. Consequently a single query decides the promised problem exactly: measure the index register and report constant for outcome zero, balanced for any other outcome. This is the Deutsch-Jozsa algorithm with the available exact state-preparation operation.
New to topics? Read the docs here!