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

Fix test to reflect latest changes to solve_fermion and qiskit-addon-sqd #31

Merged
merged 5 commits into from
Sep 25, 2024

Conversation

caleb-johnson
Copy link
Collaborator

@caleb-johnson caleb-johnson commented Sep 25, 2024

This PR:

@@ -119,4 +109,4 @@
e_hist[i, :] = int_e

print(f"Exact energy: -109.10288938")
print(f"Estimated energy: {np.min(e_hist[-1]) + nuclear_repulsion_energy}")
print(f"Estimated energy: {np.min(e_hist[-1])}")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this test have an assert statement?

Copy link
Collaborator Author

@caleb-johnson caleb-johnson Sep 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I've been using this as a personal sanity check test, rather than something that runs in any automated way. I'm eventually going to try and write a Docker test that runs this in Ubuntu 24.04 in an automated way.

This line was just an artifact of an old workflow and caused the NRE to be applied twice

@caleb-johnson caleb-johnson merged commit 79e2bd9 into main Sep 25, 2024
5 checks passed
@caleb-johnson caleb-johnson deleted the fix-test branch September 25, 2024 21:49
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.

2 participants