Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ii/paper-3/15d/c/solution
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 15D c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
One classical query at any chosen returns only . Every possible slope is compatible with that answer by choosing , so no one-query classical algorithm can determine with certainty.
For the quantum algorithm, let and preparePart (b) shows that the single query applies quantum phase kickback:The unknown intercept contributes only a global phase. Applying to the first register produces , whose computational-basis measurement determines with certainty after one query.
New to topics? Read the docs here!