AmpCalFitter

class AmpCalFitter(backend_result, xdata, qubits, fit_p0, fit_bounds)[source]

Amplitude error fitter

See BaseFitter __init__

Attributes

AmpCalFitter.backend_result

Return the execution results

AmpCalFitter.description

Return the fitter’s purpose, e.g.

AmpCalFitter.fit_fun

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

AmpCalFitter.measured_qubits

Return the indices of the qubits to be characterized

AmpCalFitter.params

Return the fit function parameters that were calculated by curve_fit

AmpCalFitter.params_err

Return the error of the fit function parameters

AmpCalFitter.series

Return the list of series for the data

AmpCalFitter.xdata

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

AmpCalFitter.ydata

Return the data points on the y-axis

Methods

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

Add new execution results to previous execution results

AmpCalFitter.angle_err([qind])

Return the gate angle error

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

Fit the curve.

AmpCalFitter.guess_params([qind])

Guess fit parameters for the amp cal

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

Plot err data.