Skip to content

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

Description

@ryanhill1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions