Closed eendebakpt closed 3 years ago
HI, thanks for the contribution - however I'm afraid that Aqua was deprecated at the last release at start of April and while it is being supported in terms of maintaining code so it still runs against the rest of Qiskit and potentially fixing any critical bugs, no other changes such as new/changed function are otherwise being accepted.
Aqua was deprecated when the function it contained was moved elsewhere. So the functionality is not gone just re-located - some to Terra (algorithms and opflow) other domain code like ML and optimization to their own repos - you can read more here https://github.com/Qiskit/qiskit-aqua#migration-guide As part of the relocation the code was also refactored/improved etc
If you want to check out the max_cut as it now is you can see it here https://github.com/Qiskit/qiskit-optimization/blob/main/qiskit_optimization/applications/max_cut.py
@woodsp-ibm Thanks for the update. I will close the PR.
Summary
The
max_cut_value
method only handled graphs with edge weights equal to one. This updated the method to allow weighted graphs as well.Details and comments
For the original
max_cut_value
no unittests where available. This PR add a few basic tests.