-
Notifications
You must be signed in to change notification settings - Fork 376
Allow Custom Lambda for Iterative Grover, see #893 #1005
Conversation
* fix problem with variable bounds in cobyla optimizer and add unit test * derive initial state from variable bounds Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
Iterative Grover Allows Custom Lambda 1) Parameter "lam" can be explicitly set in constructor, with default value 1.34, which is proved to be optimal 2) Sequence of Grover rotation counts can be explicitly set in the constructor, e.g. rotation_counts = [ 0, 1, 3, 5, 9 ]
Iterative Grover Allows Custom Lambda - grover_test parametrised by rotation_counts - if rotations_counts is None, the number of iterations increases by the factor of lambda - the fixed rotation sequence [0, 0, ..., 49, 4, 60 ] is efficient choice according to Baritompa et al., Grovers Quantum Algorithm Applied to Global Optimization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has changes that revert the 2 files that were updated in PR #997. Can this PR be updated to avoid this revert which should not happen.
* Replace algorithm result eigvecs by eingenstate * remove return type from docstring
sorry for that @woodsp-ibm, |
Thanks for the contribution and persevering with the CLA etc to make it happen :) |
My pleasure. Thanks for your assistance @woodsp-ibm . |
Thank you @molar-volume 👍 We should add a test for setting the |
Hi @Cryoris , |
That'd be great, thanks. You don't have to reference the issue anymore, you can just put something like "Test |
…-aqua#893 (qiskit-community/qiskit-aqua#1005) * qiskit-community/qiskit-aqua#893 Iterative Grover Allows Custom Lambda 1) Parameter "lam" can be explicitly set in constructor, with default value 1.34, which is proved to be optimal 2) Sequence of Grover rotation counts can be explicitly set in the constructor, e.g. rotation_counts = [ 0, 1, 3, 5, 9 ] Iterative Grover Allows Custom Lambda - grover_test parametrised by rotation_counts - if rotations_counts is None, the number of iterations increases by the factor of lambda - the fixed rotation sequence [0, 0, ..., 49, 4, 60 ] is efficient choice according to Baritompa et al., Grovers Quantum Algorithm Applied to Global Optimization Co-authored-by: Stefan Woerner <41292468+stefan-woerner@users.noreply.github.com> Co-authored-by: Julien Gacon <jules.gacon@googlemail.com> Co-authored-by: Manoel Marques <manoel@us.ibm.com>
…-aqua#893 (qiskit-community/qiskit-aqua#1005) * qiskit-community/qiskit-aqua#893 Iterative Grover Allows Custom Lambda 1) Parameter "lam" can be explicitly set in constructor, with default value 1.34, which is proved to be optimal 2) Sequence of Grover rotation counts can be explicitly set in the constructor, e.g. rotation_counts = [ 0, 1, 3, 5, 9 ] Iterative Grover Allows Custom Lambda - grover_test parametrised by rotation_counts - if rotations_counts is None, the number of iterations increases by the factor of lambda - the fixed rotation sequence [0, 0, ..., 49, 4, 60 ] is efficient choice according to Baritompa et al., Grovers Quantum Algorithm Applied to Global Optimization Co-authored-by: Stefan Woerner <41292468+stefan-woerner@users.noreply.github.com> Co-authored-by: Julien Gacon <jules.gacon@googlemail.com> Co-authored-by: Manoel Marques <manoel@us.ibm.com>
Summary
Moved here from #1001.
Details and comments
Closes #893.