Estimates the success probability of Amplitude Amplification.
Calculates the probability of measuring a marked state after running Amplitude Amplification for the specified number of iterations.
Number of qubits in the system
Oracle function identifying marked states
Number of Amplitude Amplification iterations
Optional
Optional custom state preparation
Estimated success probability (0 to 1)
Estimates the success probability of Amplitude Amplification.
Calculates the probability of measuring a marked state after running Amplitude Amplification for the specified number of iterations.