Skip to content

Instantly share code, notes, and snippets.

@pdc-quantum
Last active January 11, 2022 14:41
Show Gist options
  • Save pdc-quantum/51e9abbcf1d9d706fad01d2868949eec to your computer and use it in GitHub Desktop.
Save pdc-quantum/51e9abbcf1d9d706fad01d2868949eec to your computer and use it in GitHub Desktop.
Bayesian vs Frequentist Statistical Model for Randomized Benchmarking
import numpy as np
# settings:
qubits = [0,1]
lengths = np.arange(1, 260, 28)
num_samples = 20
seed = None
# additional information:
system = 'ibmq_manila'
gate = 'cx'
N = len(qubits)
scale = (2**N -1) / 2**N
experiment_type = "InterleavedRB"
shots = 1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment