FA-91202 / Quantum circuit simulation / Member archive
Grover planner omits the initial rotation from the success angle · case 02
Success probabilities are reported for angle 2k theta, underestimating the achievable probability.
Case contract
Input [N, M]. "invalid" if N < 1, M < 0 or M > N; "no-solution" if M == 0; if 2M >= N return {"iterations": 0, "success": M/N}; else theta = asin(sqrt(M/N)), k = floor(pi/(4 theta)) and success = sin^2((2k+1) theta). Probabilities rounded to 6 decimals.
Why this case matters
Choosing the Grover iteration count wrongly overshoots the amplitude peak and collapses the success probability.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: N=9 M=4 | {"iterations": 1, "success": 0.987654} | {"iterations": 1, "success": 0.663923} | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗