qiskit.circuit.EquivalenceLibrary.draw¶
- EquivalenceLibrary.draw(filename=None)[소스]¶
Draws the equivalence relations available in the library.
- 매개변수
filename (str) – An optional path to write the output image to if specified this method will return None.
- 반환
- Drawn equivalence library as an
IPython SVG if in a jupyter notebook, or as a PIL.Image otherwise.
- 반환 형식
PIL.Image or IPython.display.SVG
- 예외 발생
InvalidFileError – if filename is not valid.