qiskit.transpiler.CouplingMap.draw¶ CouplingMap.draw()[source]¶ Draws the coupling map. This function needs pydot, which in turn needs Graphviz to be installed. Additionally, pillow will need to be installed. Returns Drawn coupling map. Return type PIL.Image Raises MissingOptionalLibraryError – when pydot or pillow are not installed.