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

remove circular import in t_counts_from_sigma #933

Merged
merged 1 commit into from
May 8, 2024

Conversation

mpharrigan
Copy link
Collaborator

Current import dependencies are qualtran <-- qualtran.[protocol] where protocol!=bloqs <--- qualtran.bloqs

This gets a little dicey when doing resource counting because we need to know bloq types. In the future, it might make sense to have a final qualtran.bloqs.costs set of costs cc #899 that can depend on bloqs. Right now, we use local imports

Fixes the issue identified by @NoureldinYosri in #924

@mpharrigan mpharrigan enabled auto-merge (squash) May 8, 2024 21:06
@mpharrigan mpharrigan merged commit 8cc8643 into quantumlib:main May 8, 2024
7 checks passed
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