Paper 3, Section II,
In this question you may assume the following fact about the quantum Fourier transform if and , where , then
where .
(a) Let denote the integers modulo . Let be a periodic function with period and with the property that is one-to-one within each period. We have one instance of the quantum state
and the ability to calculate the function on at most two values of our choice.
Describe a procedure that may be used to determine the period with success probability . As a further requirement, at the end of the procedure we should know if it has been successful, or not, in outputting the correct period value. [You may assume that the number of integers less than that are coprime to is .
(b) Consider the function defined by .
(i) Show that is periodic and find the period.
(ii) Suppose we are given the state and we measure the second register. What are the possible resulting measurement values and their probabilities?
(iii) Suppose the measurement result was . Find the resulting state of the first register after the measurement.
(iv) Suppose we measure the state (with from part (iii)). What is the probability of each outcome ?