Last active
January 11, 2022 14:47
-
-
Save pdc-quantum/5a6c0de59495f876e46da704f1dae236 to your computer and use it in GitHub Desktop.
Bayesian vs Frequentist Statistical Model for Randomized Benchmarking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scipy.optimize import curve_fit | |
def gsp(x, a, alpha, alpha_c, b): | |
return x[1] * (a * alpha ** x[0] + b) \ | |
+ x[2] * (a * (alpha * alpha_c) ** x[0] + b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment