Calculates the success probability of Grover's algorithm.
This is a convenience wrapper around QAA's theoretical probability calculation. For custom state preparations, use estimateSuccessProbability directly.
estimateSuccessProbability
Total number of states (2^numQubits)
Number of marked states
Number of Grover iterations
Success probability (0 to 1)
Calculates the success probability of Grover's algorithm.
This is a convenience wrapper around QAA's theoretical probability calculation. For custom state preparations, use
estimateSuccessProbability
directly.