Skip to content

Instantly share code, notes, and snippets.

@pdc-quantum
Last active January 11, 2022 14:45
Show Gist options
  • Save pdc-quantum/23867667c36d377748edd03e26e0a726 to your computer and use it in GitHub Desktop.
Save pdc-quantum/23867667c36d377748edd03e26e0a726 to your computer and use it in GitHub Desktop.
Bayesian vs Frequentist Statistical Model for Randomized Benchmarking
with h_model:
BoundedGamma = pm.Bound(pm.Gamma,
lower= 0.0005,
upper= 0.004 + 0.001 * (N - 1) )
sigma = BoundedGamma("σ_Beta",
alpha = 10 - 5 * (N - 1),
beta = 10000 - 8000 * (N - 1),
testval = 0.001 + 0.0015 * (N - 1),
shape = counts.shape[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment