deltakit.decode.analysis.RunAllAnalysisEngine.loop_until_observable_rse_below_threshold#
- static RunAllAnalysisEngine.loop_until_observable_rse_below_threshold(target_rse: float, min_fails: int)#
Loop until the maximum number of shots or relative standard error on the estimate of LEP go below the given amount. The RSE stopping criteria is only taken into account if at least min_fails are reached.
- Parameters:
target_rse (Optional[float], optional) – Target Relative Standard Error (RSE) for early stopping.
min_fails (int, optional) – Minimum number of fails before starting to look at RSE.