Optimizer
- class Optimizer(*, cross_entropy_initializer=None, cmaes_initializer=None, gaussian_process_initializer=None, simulated_annealing_initializer=None, neural_network_initializer=None, state=None)
The optimizer to use in the optimization. Exactly one field must be non-null. For the first step of the optimizer, this must be an initializer, such as a CrossEntropyInitializer. For subsequent steps, you need to provide the state returned in the Result of the previous step, which already contains the optimizer configuration and previous test points.
- Variables:
cross_entropy_initializer (qctrl.dynamic.types.closed_loop_optimization_step.CrossEntropyInitializer, optional) – Initializer for the cross-entropy optimizer. Pass this field to use this algorithm for the closed-loop optimization.
cmaes_initializer (qctrl.dynamic.types.closed_loop_optimization_step.CmaesInitializer, optional) – Initializer for the covariance matrix adaptation evolution strategy (CMA-ES) optimizer. Pass this field to use this algorithm for the closed-loop optimization.
gaussian_process_initializer (qctrl.dynamic.types.closed_loop_optimization_step.GaussianProcessInitializer, optional) – Initializer for the optimizer based on Gaussian processes. Pass this field to use this algorithm for the closed-loop optimization.
simulated_annealing_initializer (qctrl.dynamic.types.closed_loop_optimization_step.SimulatedAnnealingInitializer, optional) – Initializer for the optimizer based on simulated annealing. Pass this field to use this algorithm for the closed-loop optimization.
neural_network_initializer (qctrl.dynamic.types.closed_loop_optimization_step.NeuralNetworkInitializer, optional) – Initializer for the optimizer based on neural networks. Pass this field to use this algorithm for the closed-loop optimization.
state (str, optional) – The state of the optimizer at the current step, as returned in the Result of the previous step. Must be updated in following steps after the optimizer is initialized.