get_variance_upper_bound¶
-
forest.benchmarking.robust_phase_estimation.
get_variance_upper_bound
(num_depths: int, multiplicative_factor: float = 1.0, additive_error: float = None) → float¶ Equation V.9 in [RPE]
Parameters: - num_depths – the number of depths in the experiment
- multiplicative_factor – ad-hoc factor to multiply the number of shots per iteration. See num_trials() which computes the optimal number of shots per iteration.
- additive_error – estimate of the max additive error in the experiment, see num_trials()
Returns: An upper bound of the variance of the angle estimate corresponding to the input experiments.