entropicalabs / openqaoa

Multi-backend SDK for quantum optimisation
MIT License
113 stars 59 forks source link

Fixes #234: Add `brute_force` method to the QAOA Workflow class #240

Closed lumapools closed 1 year ago

lumapools commented 1 year ago

Description

We can now call QAOA.brute_force() to brute force the ground state of its cost Hamiltonian.

Description

Checklist

Type of change

How Has This Been Tested?

Added a test in test_workflows.py called test_brute_force which checks that:

vishal-ph commented 1 year ago

@lumapools Thank you for your attempt implemeting issue #234. Please give us a few days while we review the code!

Q-lds commented 1 year ago

@lumapools as agreed I have merged the fixes from @GiacomoFrn. Please, go ahead and update your tests and then we are good to go :)

lumapools commented 1 year ago

@Q-lds Closed this PR due to some synchronization issues and not being able to fetch the latest changes. I made a fresh clone, and the new PR is #246 where only the tests appear.