A register of qubits ( ) is searched with Grover's algorithm for marked items
PHYSICS · Multi-part · Fermi University Physics · Quantum Information & Technology · The quantum circuit model and quantum algorithms · The quantum circuit model and quantum algorithms
Quantum Information and Technology, Ch Grover search, amplitude amplification and counting
Problem
A register of n=10 qubits (N=210=1024) is searched with Grover's algorithm for M=3 marked items, using a phase oracle and a diffusion step implemented as array operations on the N-component real amplitude vector (sign flip on the marked entries, then inversion about the mean).
((a)) Compute the rotation angle θ, in degrees, from sin(θ/2)=M/N.
((b)) Using R=round(2θπ−21), find the optimal number of Grover iterations R.
((c)) Compute the success probability Pk=sin2(2(2k+1)θ) for k=R−2,R−1,R,R+1,R+2, and confirm that it peaks at k=R and falls symmetrically on either side, as an array simulation that records Pk at every k would show.
((d)) Predict, without further calculation of intermediate steps, the success probability the same array simulation would show at k=2R, and explain in one sentence why running the simulation for longer than R iterations 'to be safe' is a mistake.