qiskit.algorithms.optimizers.SteppableOptimizer.start¶
- abstract SteppableOptimizer.start(fun, x0, jac=None, bounds=None)[source]¶
Populates the state of the optimizer with the data provided and sets all the counters to 0.
- Parameters
fun (
Callable
[[Union
[float
,ndarray
]],float
]) – Function to minimize.x0 (
Union
[float
,ndarray
]) – Initial point.jac (
Optional
[Callable
[[Union
[float
,ndarray
]],Union
[float
,ndarray
]]]) – Function to compute the gradient.bounds (
Optional
[List
[Tuple
[float
,float
]]]) – Bounds of the search space.
- Return type
None