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

Experiment with lazy imports instead of local imports in tensor-network backends #55

Open
garrison opened this issue Dec 20, 2024 · 0 comments

Comments

@garrison
Copy link
Member

The tensor network backends deliberately avoid importing the actual backends, because they are slow to load (especially quimb), and we do not want to pay that price until they are used. Currently we deal with this using local imports in each function. I'd be nice to explore the possibility of making them be lazy imports (via wrapt) instead.

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

No branches or pull requests

1 participant