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 type-hints for top-level conversion function imports #197

Open
ryanhill1 opened this issue Jan 23, 2025 · 0 comments
Open

Fix type-hints for top-level conversion function imports #197

ryanhill1 opened this issue Jan 23, 2025 · 0 comments

Comments

@ryanhill1
Copy link
Member

ryanhill1 commented Jan 23, 2025

When qasm3_to_qir and cirq_to_qir are imported directly from top-level qbraid_qir module, type-hints is not supported.

However, when those same functions are instead imported from their respected qbraid_qir.qasm3 and qbraid_qir.cirq sub-modules, type-hints are supported.

There should be a way to modify the lazy loading of these functions in qbraid_qir.__init__.py to support the type-hinting.

Image

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