-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override classmethod supports_aux_operators in VQEProgram #223
Conversation
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.
Thanks for the contribution! Could you add a short test that checks that a MinimumEigenOptimizer
can be instantiated with both a VQEProgram
and a QAOAProgram
and add a bugfix release note?
Since VQEProgram in Qiskit Nature is the same as the one here, do you fancy making this fix there too once this one is done here? |
@Cryoris I added two tests and a release note. Let me know, if it's good or if i should change something. |
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.
Two small comments otherwise LGTM 👍🏻
@lasys Thank you for your contribution. Could you check out CLA? #223 (comment) |
Co-authored-by: Takashi Imamichi <[email protected]>
Co-authored-by: Takashi Imamichi <[email protected]>
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.
LGTM, thanks for the contribution and fix @lasys!
* override supports_aux_operators * removed docstring * added tests * added tests * add release note * reordered imports + merged tests into one * added method docstring * fixed formatting * Update test/algorithms/test_min_eigen_optimizer.py Co-authored-by: Takashi Imamichi <[email protected]> * Update test/algorithms/test_min_eigen_optimizer.py Co-authored-by: Takashi Imamichi <[email protected]> Co-authored-by: Takashi Imamichi <[email protected]> (cherry picked from commit 103db34)
* override supports_aux_operators * removed docstring * added tests * added tests * add release note * reordered imports + merged tests into one * added method docstring * fixed formatting * Update test/algorithms/test_min_eigen_optimizer.py Co-authored-by: Takashi Imamichi <[email protected]> * Update test/algorithms/test_min_eigen_optimizer.py Co-authored-by: Takashi Imamichi <[email protected]> Co-authored-by: Takashi Imamichi <[email protected]> (cherry picked from commit 103db34) Co-authored-by: lasys <[email protected]>
Summary
Fix #222
Details and comments