Skip to content
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

Add Brute Force Tests #246

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Add Brute Force Tests #246

merged 1 commit into from
Jun 7, 2023

Conversation

lumapools
Copy link

@lumapools lumapools commented Jun 5, 2023

Description

Added tests for PR #239 by @GiacomoFrn.

The new tests check that:

  • The brute force gives gives the same results are ground_state_hamitonian
  • The brute force method raises an error when the QAOA is uncompiled
  • If bounded=True we do not brute force for a number of qubits > 25

(Closed my previous PR #240 due to synchronization issues)

Type of change

  • Test addition

Name the new unit-tests that you have added along with this change.
In test_workflows.py: Added test_qaoa_brute_force

@vishal-ph vishal-ph added the unitary_fund A feature supported by an UF grant label Jun 7, 2023
@vishal-ph vishal-ph linked an issue Jun 7, 2023 that may be closed by this pull request
2 tasks
@vishal-ph vishal-ph merged commit cf30131 into entropicalabs:main Jun 7, 2023
@lumapools lumapools deleted the add_brute_force_tests branch June 7, 2023 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unitary_fund A feature supported by an UF grant
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose brute force solver through OpenQAOA workflows
2 participants