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 import in shots=None case #25

Merged
merged 2 commits into from
Oct 23, 2024
Merged

Conversation

cosenal
Copy link
Contributor

@cosenal cosenal commented Oct 21, 2024

This was failing in the case of shots=None, because it couldn't import the qml module.

I tried running tests with `make test, but the command fails even on main. Most likely because I am using an old version of qrack (it'd be useful if the README specified how to deal with that case).

Copy link
Collaborator

@WrathfulSpatula WrathfulSpatula left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@WrathfulSpatula WrathfulSpatula merged commit c5ce594 into master Oct 23, 2024
1 check passed
@WrathfulSpatula WrathfulSpatula deleted the fix-import-no-shot-case branch October 23, 2024 13:50
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