squadds.interpolations package#

Submodules#

squadds.interpolations.interpolator module#

class squadds.interpolations.interpolator.Interpolator(analyzer, target_params)[source]#

Bases: ABC

Abstract class for interpolators.

abstract get_design()[source]#

Interpolate based on the target parameters. :returns: DataFrame with interpolated design options. :rtype: pd.DataFrame

Return type:

DataFrame

squadds.interpolations.physics module#

class squadds.interpolations.physics.ScalingInterpolator(analyzer, target_params)[source]#

Bases: Interpolator

Class for scaling-based interpolation.

get_design()[source]#

Retrieves the design options for qubit and cavity based on target parameters.

Returns:

A DataFrame containing the design options for qubit and cavity.

Return type:

pd.DataFrame

squadds.interpolations.physics.string_to_float(string)[source]#

Converts a string representation of a number to a float.

Parameters:

string (str) – The string representation of the number.

Returns:

The converted float value.

Return type:

float

Module contents#