qiskit.algorithms.optimizers.SteppableOptimizer.ask¶
- SteppableOptimizer.ask()[source]¶
Ask the optimizer for a set of points to evaluate.
This method asks the optimizer which are the next points to evaluate. These points can, e.g., correspond to function values and/or its derivative. It may also correspond to variables that let the user infer which points to evaluate. It is the first method inside of a
step()
in the optimization process.- Renvoie
An object containing the data needed to make the funciton evaluation to advance the optimization process.
- Type renvoyé