mirror of https://github.com/Qiskit/qiskit.git
16 lines
428 B
YAML
16 lines
428 B
YAML
---
|
|
features:
|
|
- |
|
|
A new method :meth:`qiskit.transpiler.CouplingMap.draw` was added to
|
|
:class:`qiskit.transpiler.CouplingMap` to generate a graphviz images from
|
|
the coupling map graph. For example:
|
|
|
|
.. code-block::
|
|
|
|
from qiskit.transpiler import CouplingMap
|
|
|
|
|
|
coupling_map = CouplingMap(
|
|
[[0, 1], [1, 0], [1, 2], [1, 3], [2, 1], [3, 1], [3, 4], [4, 3]])
|
|
coupling_map.draw()
|