qiskit/releasenotes/notes/0.25/fix-pm-config-from-backend-...

10 lines
454 B
YAML

---
fixes:
- |
Fixed an issue with the :meth:`.PassManagerConfig.from_backend` constructor
when building a :class:`~.PassManagerConfig` object from a :class:`~.BackendV1`
instance that didn't have a coupling map attribute defined. Previously, the
constructor would incorrectly create a :class:`~.CouplingMap` object with
0 qubits instead of using ``None``.
Fixed `#10171 <https://github.com/Qiskit/qiskit-terra/issues/10171>`__