qiskit/releasenotes/notes/0.45/extend-coupling-map-reduce-...

10 lines
416 B
YAML

---
features:
- |
The method :meth:`~qiskit.transpiler.CouplingMap.reduce` now accepts an
additional argument ``check_if_connected``, defaulted to ``True``. This
corresponds to the previous behavior, checking whether the reduced coupling
map remains connected and raising a ``CouplingError`` if not so. When set to
``False``, the check is skipped, allowing disconnected reduced coupling maps.