You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow up PR to make use of the changes introduced in Qiskit/qiskit#6382.
The Optimizer.optimize() method is deprecated in favor of Optimizer.minimize() and this is fixed in this PR.
gentinettagian
pushed a commit
to gentinettagian/qiskit-machine-learning
that referenced
this issue
Dec 14, 2021
This is a follow up PR to make use of the changes introduced in Qiskit/qiskit#6382.
The Optimizer.optimize() method is deprecated in favor of Optimizer.minimize() and this is fixed in this PR.
What is the expected enhancement?
Mimic the common structure of minimization routines (like SciPy or scikit-quant) and change the "main" method of
Optimizer.optimize
toThis also makes clear that our optimizers minimize something instead of just saying they optimize.
Since we don't use the same function name as before we can gracefully deprecate the old "main" method.
The text was updated successfully, but these errors were encountered: