qiskit.circuit.EquivalenceLibrary.draw¶
- EquivalenceLibrary.draw(filename=None)[fuente]¶
Draws the equivalence relations available in the library.
- Parámetros
filename (str) – An optional path to write the output image to if specified this method will return None.
- Devuelve
- Drawn equivalence library as an
IPython SVG if in a jupyter notebook, or as a PIL.Image otherwise.
- Tipo del valor devuelto
PIL.Image or IPython.display.SVG
- Muestra
MissingOptionalLibraryError – when pydot or pillow are not installed.