CNOTDihedralRBFitter¶
- class CNOTDihedralRBFitter(cnotdihedral_Z_result, cnotdihedral_X_result, elmnts_lengths, rb_pattern=None)[source]¶
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.
Attributes
Return group elements lengths.
Return fit as a 2 element list.
Return cnotdihedral fit parameters.
Return raw_data as 2 element list.
Return the fit function rb_fit_fun.
Return the cnotdihedral X fitter.
Return the cnotdihedral Z fitter.
Return all the results as a 2 element list.
Return the number of loaded seeds as a 2 element list.
Return ydata (means and std devs) as a 2 element list.
Methods
CNOTDihedralRBFitter.add_data
(…[, rerun_fit])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.