QubitCouplerDispersionModel#
Module: exa.core.model_selection_fitter.models.dispersion_models.single_qubit_coupler_model
- class QubitCouplerDispersionModel(independent_vars=None, **kwargs)#
Bases:
BaseModel- Parameters:
independent_vars (
listofstr, 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
Model for qubit dispersion as a function of a coupler bias.
Model parameters:
v: Flux bias voltage, independent parameter in the model.
f_sweet_spot: Coupler sweet spot frequency, in GHz.
v_offs: Coupler flux bias offset.
v_period: Coupler flux bias period.
f_q: Qubit frequency, in GHz.
g: Qubit-coupler coupling, in GHz.
- slope:
Additional slope in qubit frequency as a function of coupler bias voltage. Accounts for flux crosstalk, in GHz/V.
d: Asymmetry of the coupler squid loop.
Ec: Charging energy of the coupler, in GHz.
Attributes
Methods
Initial guess for the model.
function that is called just after fit, can be overloaded by subclasses to add non-fitting 'calculated parameters'
- guess(data, v, *args, **kws)#
Initial guess for the model.
- 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
