qiskit/releasenotes/notes/0.24/add-cmap-componets-7ed56cdf...

15 lines
694 B
YAML

---
features:
- |
Added support to the :class:`~.CouplingMap` object to have a disjoint
connectivity. Previously, a :class:`~.CouplingMap` could only be
constructed if the graph was connected. This will enable using
:class:`~.CouplingMap` to represent hardware with disjoint qubits, such as hardware
with qubits on multiple separate chips.
- |
Added a new method :meth:`.CouplingMap.connected_components` which
is used to get a list of :class:`~.CouplingMap` component subgraphs for
a disjoint :class:`~.CouplingMap`. If the :class:`~.CouplingMap` object
is connected this will just return a single :class:`~.CouplingMap`
equivalent to the original.