BaseGateFitter

class BaseGateFitter(description, backend_result, xdata, qubits, fit_fun, fit_p0, fit_bounds, circuit_names, series=None, expected_state='0')[source]

Base class for fitters of gate errors

See BaseFitter __init__

Attributes

BaseGateFitter.backend_result

Return the execution results

BaseGateFitter.description

Return the fitter’s purpose, e.g.

BaseGateFitter.fit_fun

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

BaseGateFitter.measured_qubits

Return the indices of the qubits to be characterized

BaseGateFitter.params

Return the fit function parameters that were calculated by curve_fit

BaseGateFitter.params_err

Return the error of the fit function parameters

BaseGateFitter.series

Return the list of series for the data

BaseGateFitter.xdata

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

BaseGateFitter.ydata

Return the data points on the y-axis

Methods

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

Add new execution results to previous execution results

BaseGateFitter.fit_data([qid, p0, bounds, …])

Fit the curve.

BaseGateFitter.plot(qind[, series, ax, …])

Plot err data.