Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.EquivalenceLibrary.draw

EquivalenceLibrary.draw(filename=None)[source]

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.