qiskit/releasenotes/notes/0.24/improve-transpile-typing-de...

7 lines
220 B
YAML

---
fixes:
- |
Improved the typing annotations on the top-level :func:`.transpile` function.
The return type is now narrowed correctly depending on whether a
single circuit or a list of circuit was passed.