-
Notifications
You must be signed in to change notification settings - Fork 376
SLSQP optimizer, multistart Cobyla, enhanced compatibility checks #1082
Conversation
Can I ask you add a reno yaml file - the changes are being managed via this tool now. There is information on how to install in contributing file https://github.com/Qiskit/qiskit-aqua/blob/master/CONTRIBUTING.md#release-notes |
Done |
@woodsp-ibm, @stefan-woerner
And in the
We can enforce this compatibility check for every optimizer as now it is up to optimizers to call this new method directly. Such enforcement will require more changes in the optimizers, more abstractions, etc. |
The PR was blocked by the error introduced outside of the PR. |
…skit-community#1082) * slsqp implementation * slsqp implementation * slsqp implementation, linting, style, docstring * tests, style, linting, spelling * spelling * review changes * review changes * doctests, reverting back some changes. * doctests * added a reno yaml file for slsqp * multistart cobyla and new compatibility check * weird spell checker * more linting * edited reno note, more on docstring. * spelling * more on multi start optimizer * more on multi start optimizer * fixed clip type in multistart_optimizer.py Co-authored-by: Manoel Marques <[email protected]>
…skit-community#1082) * slsqp implementation * slsqp implementation * slsqp implementation, linting, style, docstring * tests, style, linting, spelling * spelling * review changes * review changes * doctests, reverting back some changes. * doctests * added a reno yaml file for slsqp * multistart cobyla and new compatibility check * weird spell checker * more linting * edited reno note, more on docstring. * spelling * more on multi start optimizer * more on multi start optimizer * fixed clip type in multistart_optimizer.py Co-authored-by: Manoel Marques <[email protected]>
…skit-community/qiskit-aqua#1082) * slsqp implementation * slsqp implementation * slsqp implementation, linting, style, docstring * tests, style, linting, spelling * spelling * review changes * review changes * doctests, reverting back some changes. * doctests * added a reno yaml file for slsqp * multistart cobyla and new compatibility check * weird spell checker * more linting * edited reno note, more on docstring. * spelling * more on multi start optimizer * more on multi start optimizer * fixed clip type in multistart_optimizer.py Co-authored-by: Manoel Marques <[email protected]>
Summary
Added a new optimizer to the Qiskit optimization module that wraps already existing SLSQP solver.
Details and comments
Changes:
qiskit.optimization.algorithm.SlsqpOptimizer
evaluate_gradient
toLinearExpression
,QuadraticExpression
,QuadraticObjective
evaluate_gradient
methods@stefan-woerner please pay attention to this PR since I added methods to the base classes.