RBFitter¶
- class RBFitter(backend_result, cliff_lengths, rb_pattern=None)[Quellcode]¶
Bases:
RBFitterBase
Class for fitters for randomized benchmarking.
- Parameter
backend_result (Result) – list of results (qiskit.Result).
cliff_lengths (list) – the Clifford lengths, 2D list i x j where i is the number of patterns, j is the number of cliffords lengths.
rb_pattern (list) – the pattern for the RB sequences.
Methods
Add a new result.
Retrieve probabilities of success from execution results.
Extract averages and std dev from the raw data (self._raw_data).
Fit the RB results to an exponential curve.
Fit the RB results of a particular pattern to an exponential curve.
Plot randomized benchmarking data of a single pattern.
Attributes
- cliff_lengths¶
Return clifford lengths.
- fit¶
Return fit.
- raw_data¶
Return raw data.
- rb_fit_fun¶
Return the fit function rb_fit_fun.
- results¶
Return all the results.
- seeds¶
Return the number of loaded seeds.
- ydata¶
Return ydata (means and std devs).