-
Notifications
You must be signed in to change notification settings - Fork 7
Qaoa implementation #79
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
base: main
Are you sure you want to change the base?
Conversation
Added missing functionalities (reset, cswap, input and output variables) to std_gates class
Added min_vertex_cover_cost, max_clique_cost Added comments
|
Have a look at the test.ipynp notebook contained inside the qaoa directory to have an idea of the implementation |
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.
Hi Lorenzo, thank you for all the changes! I like the extensible setup of the qaoa class where we can build an application program by calling a method, like setup_maxcut.
I've given some comments about implementation details, but overall it looks good. Can you please add some unit tests for your implementation under the tests dir and clean up the documentation strings for QAOA?
Removed class level variables Removed unnecessary comment blocks Fixed comment which didn't match the method body removed name check in qasm variable declaration
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Fixed constructor for QAOA
Changes