SweepExperiment#
- class FIREQ_SERVER.execution.sweep_experiment.SweepExperiment(server, queue_out: Queue, logger: Logger | None = None)[source]#
Bases:
objectExecute multi-sweep points using high-level callbacks.
- Parameters:
OPERATORS (str) – string containings the operator characters available
- OPERATORS = '+-'#
- run(sweep_callbacks: list, variables: list) int[source]#
Run the sweep experiment by parsing the configuration and executing the recursive sweep routine.
Sweep callbacks is a list of tuples: (callback func, expression, callback cost)
- Parameters:
sweep_callbacks (list[tuple[callable, str, int]]) – A list of tuples containing the sweep expressions.
variables (dict[str: dict]) – A list of dictionaries containing the variable parameters for the sweep.