pyqasm.draw
- draw(program, output='mpl', idle_wires=True, **kwargs)[source]
Draw the quantum circuit.
- Parameters:
module (QasmModule) – The quantum module to draw
output (str) – The output format. Defaults to “mpl”.
idle_wires (bool) – Whether to show idle wires. Defaults to True.
- Returns:
The drawing is displayed or saved to a file.
- Return type:
None