Reproducing Grover’s Search: Theory and error of 3.4e-15 match, but over-rotating causes 0.945 to drop to 0.012
I strictly reproduced Grover's algorithm from 1996 locally. The circuit's success probability matched the theoretical formula with a maximum error of 3.4e-15, and the scaling of the required number of iterations was N^0.5001 (=√N). However, over-iterating causes the success probability to drop from 0.945 to 0.012. The circuit was constructed for n=3, while larger N is calculated using matrices.
The rest of this article is available to スタンダード members.
See membership plansThis article was translated from the Japanese original. 日本語で読む