spinqick.models.qubit_models

Classes

ExchangeGains

Gains in DAC units.

ExchangeVoltages

Gains in voltage units.

ExchangeTimes

Times in microseconds.

ExchangeGateParams

Generalized template for each gate in ExchangeConfig.

ExchangeGate

Generalized template for each gate in ExchangeConfig.

ExchangeGateMap

Specify gates used for an exchange axis.

ExchangeGateMapParams

Specify gates used for an exchange axis.

CalParameters

Model to hold calibration parameters.

ExchangeCalibration

Parameters from each calibration are stored here.

ExchangeAxisConfig

Configuration parameters for a single exchange axis.

Eo1QubitAxes

Exchange parameters for each axis, in units that qick can use.

Eo1Qubit

All parameters needed for a single qubit experiment.

Eo2Qubit

All parameters needed for a two qubit experiment.

Module Contents

class spinqick.models.qubit_models.ExchangeGains

Bases: pydantic.BaseModel

Gains in DAC units.

idle_gain: float
exchange_gain: float
class spinqick.models.qubit_models.ExchangeVoltages

Bases: pydantic.BaseModel

Gains in voltage units.

idle_voltage: float
exchange_voltage: float
class spinqick.models.qubit_models.ExchangeTimes

Bases: pydantic.BaseModel

Times in microseconds.

idle_time: float
exchange_time: float
class spinqick.models.qubit_models.ExchangeGateParams

Bases: pydantic.BaseModel

Generalized template for each gate in ExchangeConfig.

name: spinqick.helper_functions.spinqick_enums.GateNames
gate_voltages: ExchangeVoltages
class spinqick.models.qubit_models.ExchangeGate

Bases: pydantic.BaseModel

Generalized template for each gate in ExchangeConfig.

name: spinqick.helper_functions.spinqick_enums.GateNames
gains: ExchangeGains
gen: int
class spinqick.models.qubit_models.ExchangeGateMap

Bases: pydantic.BaseModel

Specify gates used for an exchange axis.

Gates must have an associated ExchangeGate in the axis config.

px: ExchangeGate
py: ExchangeGate
x: ExchangeGate
class spinqick.models.qubit_models.ExchangeGateMapParams

Bases: pydantic.BaseModel

Specify gates used for an exchange axis.

Gates must have an associated ExchangeGate in the axis config.

px: ExchangeGateParams
py: ExchangeGateParams
x: ExchangeGateParams
class spinqick.models.qubit_models.CalParameters

Bases: pydantic.BaseModel

Model to hold calibration parameters.

A, B and theta_max specify parameters from the course calibration fit. theta_list and voltage_list hold a list of phase and voltage calibration values from the fine calibration.

A: float
B: float
theta_max: float
theta_list: List[float] | None
volt_list: List[float] | None
class spinqick.models.qubit_models.ExchangeCalibration

Bases: pydantic.BaseModel

Parameters from each calibration are stored here.

rough_num_pulses: int | None = None
fine_num_pulses: int | None = None
cal_parameters: CalParameters
class spinqick.models.qubit_models.ExchangeAxisConfig

Bases: pydantic.BaseModel

Configuration parameters for a single exchange axis.

gates: ExchangeGateMap | ExchangeGateMapParams
detuning_vector: List | None = None
exchange_vector: List | None = None
symmetric_vector: List | None = None
times: ExchangeTimes
exchange_cal: ExchangeCalibration | None = None
class spinqick.models.qubit_models.Eo1QubitAxes

Bases: pydantic.BaseModel

Exchange parameters for each axis, in units that qick can use.

z: ExchangeAxisConfig
n: ExchangeAxisConfig
m: ExchangeAxisConfig | None = None
class spinqick.models.qubit_models.Eo1Qubit

Bases: Eo1QubitAxes

All parameters needed for a single qubit experiment.

ro_cfg: spinqick.models.spam_models.ReadoutConfig
class spinqick.models.qubit_models.Eo2Qubit

Bases: pydantic.BaseModel

All parameters needed for a two qubit experiment.

q1: Eo1Qubit
q2: Eo1Qubit