RabiFitter

class RabiFitter(backend_result, xdata, qubits, fit_p0, fit_bounds=None)[source]

Rabi Experiment fitter

See BaseCalibrationFitter __init__

fit_po is [amp, freq, phase, offset]

Attributes

RabiFitter.backend_result

Return the execution results

RabiFitter.description

Return the fitter’s purpose, e.g.

RabiFitter.fit_fun

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

RabiFitter.measured_qubits

Return the indices of the qubits to be characterized

RabiFitter.params

Return the fit function parameters that were calculated by curve_fit

RabiFitter.params_err

Return the error of the fit function parameters

RabiFitter.series

Return the list of series for the data

RabiFitter.xdata

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

RabiFitter.ydata

Return the data points on the y-axis

Methods

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

Add new execution results to previous execution results

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

Fit the curve.

RabiFitter.guess_params([qind])

Guess fit parameters for rabi oscillation data

RabiFitter.pi2_amplitude([qind])

Return the pi/2 amplitude from the fit

RabiFitter.pi_amplitude([qind])

Return the pi amplitude from the fit

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

Plot the data and fit