_p_max

forest.benchmarking.robust_phase_estimation._p_max(M_j: int) → float

Calculate an upper bound on the probability of error in the estimate on the jth iteration. Equation V.6 in [RPE]

Parameters:M_j – The number of shots for the jth iteration of RPE
Returns:p_max(M_j), an upper bound on the probability of error on the estimate k_j * Angle