CNOTDihedralRBFitter¶
-
class
CNOTDihedralRBFitter
(cnotdihedral_Z_result, cnotdihedral_X_result, elmnts_lengths, rb_pattern=None)[source]¶ Bases:
qiskit.ignis.verification.randomized_benchmarking.fitters.RBFitterBase
Class for fitters for non-Clifford CNOT-Dihedral RB.
Derived from RBFitterBase class. Contains two RBFitter objects.
- Parameters
cnotdihedral_Z_result (qiskit.Result) – list of results of the RB sequence that measures the ground state.
cnotdihedral_X_result (qiskit.Result) – list of results of the RB sequence that measures the \(|+...+>\) state.
elmnts_lengths (list) – the group elements lengths, 2D list i x j where i is the number of patterns, j is the number of elements 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.
Fit the non-Clifford cnot-dihedral RB results.
Fit the RB results of a particular pattern to an exponential curve.
Plot non-Clifford cnot-dihedral randomized benchmarking data of a single pattern.
Attributes
-
cliff_lengths
¶ Return group elements lengths.
-
fit
¶ Return fit as a 2 element list.
-
fit_cnotdihedral
¶ Return cnotdihedral fit parameters.
-
raw_data
¶ Return raw_data as 2 element list.
-
rb_fit_fun
¶ Return the fit function rb_fit_fun.
-
rbfit_X
¶ Return the cnotdihedral X fitter.
-
rbfit_Z
¶ Return the cnotdihedral Z fitter.
-
results
¶ Return all the results as a 2 element list.
-
seeds
¶ Return the number of loaded seeds as a 2 element list.
-
ydata
¶ Return ydata (means and std devs) as a 2 element list.