qiskit/releasenotes/notes/0.25/fix-primitives-import-warni...

8 lines
376 B
YAML

---
fixes:
- |
Importing :mod:`qiskit.primitives` will no longer cause deprecation warnings stemming from the
deprecated :mod:`qiskit.opflow` module. These warnings would have been hidden to users by the
default Python filters, but triggered the eager import of :mod:`.opflow`, which meant that a
subsequent import by a user would not trigger the warnings.