qiskit.algorithms.optimizers.ADAM.minimize¶
-
ADAM.
minimize
(objective_function, initial_point, gradient_function)[source]¶ Run the minimization.
- Parameters
objective_function (
Callable
[[ndarray
],float
]) – A function handle to the objective function.initial_point (
ndarray
) – The initial iteration point.gradient_function (
Callable
[[ndarray
],float
]) – A function handle to the gradient of the objective function.
- Return type
Tuple
[ndarray
,float
,int
]- Returns
A tuple of (optimal parameters, optimal value, number of iterations).