ZZFitter

class ZZFitter(backend_result, xdata, qubits, spectators, fit_p0, fit_bounds, time_unit='micro-seconds')[source]

ZZ fitter

Attributes

ZZFitter.backend_result

Return the execution results

ZZFitter.description

Return the fitter’s purpose, e.g.

ZZFitter.fit_fun

Return the function used in the fit, e.g.

ZZFitter.measured_qubits

Return the indices of the qubits to be characterized

ZZFitter.params

Return the fit function parameters that were calculated by curve_fit

ZZFitter.params_err

Return the error of the fit function parameters

ZZFitter.series

Return the list of series for the data

ZZFitter.xdata

Return the data points on the x-axis, the independenet parameter which is fit against

ZZFitter.ydata

Return the data points on the y-axis

Methods

ZZFitter.ZZ_rate([qind])

Return the ZZ rate from the fit of the two curves

ZZFitter.add_data(results[, recalc, refit])

Add new execution results to previous execution results

ZZFitter.fit_data([qid, p0, bounds, series])

Fit the curve.

ZZFitter.plot(qind, series[, ax, show_plot])

Plot coherence data.

ZZFitter.plot_ZZ(qind[, ax, show_plot])

Plot ZZ data.

ZZFitter.time([qid, series])

Return the characteristic time for the given qubit and series

ZZFitter.time_err([qid, series])

Return the error of characteristic time for the given qubit and series