laboneq_applications.analysis.options
¶
Experiment task and workflow options.
T = TypeVar('T')
module-attribute
¶
BasePlottingOptions
¶
DoFittingOption
¶
The do_fitting option.
Attributes:
| Name | Type | Description |
|---|---|---|
do_fitting |
bool
|
Whether to perform the fit.
Default: |
ExtractEdgeParametersOptions
¶
Base options for tasks that extract edge parameters.
do_fitting
Whether to perform the fit.
Default: True.
do_fitting = option_field(True, description='Whether to perform the fit.')
class-attribute
instance-attribute
¶
ExtractQubitParametersTransitionOptions
¶
Base options for tasks that extract qubit parameters.
Attributes:
| Name | Type | Description |
|---|---|---|
transition |
Literal['ge', 'ef']
|
Transition to perform the experiment on. May be any
transition supported by the quantum operations.
Default: |
do_fitting |
bool
|
Whether to perform the fit.
Default: |
FitDataOptions
¶
Base options for data fitting tasks.
Attributes:
| Name | Type | Description |
|---|---|---|
do_rotation |
bool
|
Whether to rotate the raw data based on calibration traces or principal
component analysis.
Default: |
do_fitting |
bool
|
Whether to perform the fit.
Default: |
fit_parameters_hints |
dict | None
|
Parameters hints accepted by lmfit Default: None. |
PlotPopulationOptions
¶
Bases: ExtractQubitParametersTransitionOptions, BasePlottingOptions
Options for the plot_population task.
Attributes:
| Name | Type | Description |
|---|---|---|
do_rotation |
bool
|
Whether to rotate the raw data based on calibration traces or principal
component analysis.
Default: |
do_pca |
bool
|
Whether to perform principal component analysis on the raw data independent
of whether there were calibration traces in the experiment.
Default: |
cal_states |
str | tuple
|
The states to prepare in the calibration traces. Can be any string or tuple made from combining the characters 'g', 'e', 'f'. Default: same as transition |
transition |
Literal['ge', 'ef']
|
Transition to perform the experiment on. May be any
transition supported by the quantum operations.
Default: |
do_fitting |
bool
|
Whether to perform the fit.
Default: |
save_figures |
bool
|
Whether to save the figures.
Default: |
close_figures |
bool
|
Whether to close the figures.
Default: |
TuneUpAnalysisWorkflowOptions
¶
Option class for tune-up analysis workflows.
Attributes:
| Name | Type | Description |
|---|---|---|
do_fitting |
bool
|
Whether to perform the fit.
Default: |
do_plotting |
bool
|
Whether to make plots. Default: 'True'. |
do_raw_data_plotting |
bool
|
Whether to plot the raw data. Default: 'True'. |
do_qubit_population_plotting |
bool
|
Whether to plot the qubit population. Default: 'True'. |