visualization
extra:
mpl
(matplotlib) output format is supported.str
(QASM source) or a pyqasm.QasmModule object. The following are equivalent:
idle_wires=False
option to exclude idle qubits (i.e. wires with no circuit elements) in the output circuit diagram:
output='mpl'
and a filename
: