iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.exponential_rb# iqm.benchmarks.randomized_benchmarking.randomized_benchmarking_common.exponential_rb(depths: ndarray, depolarization_probability: float, offset: float, amplitude: float) → ndarray# Fit function for interleaved/non-interleaved RB. Parameters: depths (ndarray) – the depths of the RB experiment depolarization_probability (float) – the depolarization value (1-p) of the RB decay offset (float) – the offset of the RB decay amplitude (float) – the amplitude of the RB decay Returns: The exponential fit function Return type: ndarray