qiskit.ignis.verification.PurityRBFitter.calc_statistics¶
-
PurityRBFitter.
calc_statistics
()[source]¶ Extract averages and std dev from the raw data (self._raw_data).
Assumes that self._calc_data has been run. Output into internal _ydata variable. ydata is a list of dictionaries (length number of patterns):
Dictionary ydata[i]:
ydata[i][‘mean’] is a numpy_array of length n; entry j of this array contains the mean probability of success over seeds, for vector length self._cliff_lengths[i][j].
ydata[i][‘std’] is a numpy_array of length n; entry j of this array contains the std of the probability of success over seeds, for vector length self._cliff_lengths[i][j].