DoubleQubitCouplerDispersionModel#

Module: exa.core.model_selection_fitter.models.dispersion_models.double_qubit_coupler_model

class DoubleQubitCouplerDispersionModel(independent_vars=None, **kwargs)#

Bases: BaseModel

Parameters:
  • independent_vars (list of str, optional) – Arguments to the model function that are independent variables default is [‘x’]).

  • prefix (str, optional) – String to prepend to parameter names, needed to add two Models that have parameter names in common.

  • nan_policy ({'raise', 'propagate', 'omit'}, optional) – How to handle NaN and missing values in data. See Notes below.

  • **kwargs (optional) – Keyword arguments to pass to Model.

Notes

1. nan_policy sets what to do when a NaN or missing value is seen in the data. Should be one of:

  • ‘raise’ : raise a ValueError (default)

  • ‘propagate’ : do nothing

  • ‘omit’ : drop missing data

Simultaneous fit of qubit spectra coupled to a shared coupler.

Attributes

Methods

guess

Initial guess for the model.

post_fit

function that is called just after fit, can be overloaded by subclasses to add non-fitting 'calculated parameters'

guess(data, v, qubits, *args, **kws)#

Initial guess for the model.

Parameters:
Return type:

Parameters

post_fit(fitresult)#

function that is called just after fit, can be overloaded by subclasses to add non-fitting ‘calculated parameters’

Parameters:

fitresult (ModelResult)

Return type:

None

Inheritance

Inheritance diagram of exa.core.model_selection_fitter.models.dispersion_models.double_qubit_coupler_model.DoubleQubitCouplerDispersionModel