Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Provider import only under
TYPE_CHECKING
conditions (#1489)
### Summary Qiskit 1.1 deprecated the Provider abstract class to be removed in 2.0 (planned for 1Q2025). In those cases where the class is used for only typechecking purposes, the import should only happen when `TYPE_CHECKING`. For the rest of the cases, I opened #1488 (cherry picked from commit 519bb53)
- Loading branch information