Optimal phase change for a generalized Grover's algorithm
Christopher Cardullo, Min Kang
TL;DR
The paper addresses how to optimize the phase change $\phi$ at each iteration of a generalized Grover's algorithm when the initial amplitude vector is arbitrary. It derives a closed-form one-step probability $P(|\tau\rangle)$ as a function of $(\phi,\alpha,\theta,N)$ and shows that the optimum $\phi$ can be found from a simple optimization; for Hadamard initialization, this reduces to $\phi=\pi$ for most of the search. It identifies a threshold probability $P_r(N)$ and angle boundary $\alpha_0$ where the optimal phase departs from $\pi$, with $P_r(N)=\frac{1}{2}\left(1+\frac{N-6}{\sqrt{N^2-8N+32}}\right)$ and $\alpha_0=\frac{1}{2}\cot^{-1}\left(\frac{-N+6}{2\sqrt{N-1}}\right)$, noting that the threshold tends to 1 as $N$ grows. For complex initial amplitudes, the optimal phase depends non-trivially on the amplitude's structure and is obtained via the presented optimization formula, indicating potential speedups in certain regimes.
Abstract
We study the generalized Grover's algorithm with an arbitrary amplitude vector to find the optimal phase change for maximizing the gain in probability for the target of each iteration. In the classic setting of Grover's algorithm with a real initial amplitude vector, we find that a phase change of $π$ stays optimal until the probability of observing the target is quite close to 1. We provide a formula for identifying this cut-off point based on the size of the data set. When the amplitude is truly complex, we find that the optimal phase change depends non-trivially on the complexity of the amplitude vector. We provide an optimization formula to identify the required optimal phase change.
