Skip to content

Move symbolic_counting_utils.py to a new module in qualtran/symbolics/#941

Merged
tanujkhattar merged 2 commits intoquantumlib:mainfrom
tanujkhattar:move_resource_counting_utils
May 11, 2024
Merged

Move symbolic_counting_utils.py to a new module in qualtran/symbolics/#941
tanujkhattar merged 2 commits intoquantumlib:mainfrom
tanujkhattar:move_resource_counting_utils

Conversation

@tanujkhattar
Copy link
Copy Markdown
Collaborator

With improved typing, we want to use types like SymbolicInt etc everywhere, including qualtran/_infra. This leads to cyclic imports since qualtran/resource_counting/ depends on qualtran/_infra. Moving symbolic utils to its own module helps avoid these cyclic imports and provides the right place to add future utilities for dealing with symbolics

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.

3 participants