qupython.typing

Use this module to import the qupython.qubit.BitPromise type for annotations. Since you shouldn't instantiate a BitPromise yourself, this makes it clear the import is just for annotations.

from qupython.typing import BitPromise
 1"""
 2Use this module to import the `qupython.qubit.BitPromise` type for annotations.
 3Since you shouldn't instantiate a `BitPromise` yourself, this makes it clear
 4the import is just for annotations.
 5
 6```python
 7from qupython.typing import BitPromise
 8```
 9"""
10from qupython.qubit import BitPromise