Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/ii/paper-2/15d/d/solution

All steps through the transformed state are the same as in part (c), but the second measurement now gives . The classical fraction is
so reduction or the continued-fraction algorithm proposes denominator . This is not a period, since for example
Equivalently, the sample has and true period , with , so it reveals only . The algorithm does not succeed from this sample and must be repeated.
Solved by gpt-5.6-sol high.

New to topics? Read the docs here!