qblox_scheduler.analysis.optimization_analysis#

Classes#

OptimizationAnalysis

An analysis class which extracts the optimal quantities from an N-dimensional

Functions#

iteration_plots(dataset, quantities_of_interest)

For every x and y variable, plot a graph of that variable vs the iteration index.

Module Contents#

class OptimizationAnalysis(dataset: xarray.Dataset | None = None, tuid: quantify_core.data.types.TUID | str | None = None, label: str = '', settings_overwrite: dict | None = None, plot_figures: bool = True)[source]#

Bases: qblox_scheduler.analysis.base_analysis.BaseAnalysis

An analysis class which extracts the optimal quantities from an N-dimensional interpolating experiment.

run(minimize: bool = True)[source]#
Parameters:

minimize – Boolean which determines whether to report the minimum or the maximum. True for minimize. False for maximize.

Returns:

OptimizationAnalysis: The instance of this analysis.

process_data()[source]#

Finds the optimal (minimum or maximum) for y0 and saves the xi and y0 values in the quantities_of_interest.

create_figures()[source]#

Plot each of the x variables against each of the y variables.

iteration_plots(dataset, quantities_of_interest)[source]#

For every x and y variable, plot a graph of that variable vs the iteration index.