Skip to content

Conversation

@TheGupta2012
Copy link
Member

Changes

Added missing functionalities (reset, cswap, input and output variables) to std_gates class
Added min_vertex_cover_cost, max_clique_cost
Added comments
@lcicala lcicala self-assigned this Jan 22, 2026
@lcicala lcicala requested a review from ryanhill1 January 22, 2026 15:58
@lcicala
Copy link
Collaborator

lcicala commented Jan 26, 2026

Have a look at the test.ipynp notebook contained inside the qaoa directory to have an idea of the implementation

Copy link
Member Author

@TheGupta2012 TheGupta2012 left a 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
@TheGupta2012 TheGupta2012 marked this pull request as ready for review January 29, 2026 14:53
@codecov
Copy link

codecov bot commented Jan 29, 2026

Codecov Report

❌ Patch coverage is 97.12644% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
qbraid_algorithms/qtran/gate_library.py 83.33% 4 Missing ⚠️
qbraid_algorithms/qaoa/qaoa.py 99.31% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants