Randomized Benchmarking¶
RandomizedBenchmarkingModel
- Likelihood for RB experiments¶
Class Reference¶
-
class
qinfer.
RandomizedBenchmarkingModel
(interleaved=False, order=0)[source]¶ Bases:
qinfer.abstract_model.FiniteOutcomeModel
,qinfer.abstract_model.DifferentiableModel
Implements the randomized benchmarking or interleaved randomized benchmarking protocol, such that the depolarizing strength p of the twirled channel is a parameter to be estimated, given a sequnce length m as an experimental control. In addition, the zeroth-order “fitting”-parameters A and B are represented as model parameters to be estimated.
Parameters: interleaved (bool) – If
True
, the model implements the interleaved protocol, with ˜p being the depolarizing parameter for the interleaved gate and with pref being the reference parameter.Model Parameters: - p – Fidelity of the twirled error channel Λ, represented as a decay rate p=(dF−1)/(d−1), where F is the fidelity and d is the dimension of the Hilbert space.
- A – Scale of the randomized benchmarking decay, defined as Tr[QΛ(ρ−1/d)], where Q is the final measurement, and where 1 is the initial preparation.
- B – Offset of the randomized benchmarking decay, defined as Tr[QΛ(1/d)].
Experiment Parameters: - m (int) – Length of the randomized benchmarking sequence that was measured.
-
n_modelparams
¶
-
modelparam_names
¶
-
is_n_outcomes_constant
¶
-
expparams_dtype
¶