Plotting the circuit

Qcircuit.show(plot=True, return_fig_ax=False, **kwargs)[source]

Plots the circuit.

Only works if the circuit was created using the GUI.

Parameters
  • plot (Boolean, optional) – If set to True (default), the function will call plt.show() to display the circuit

  • return_fig_ax (Boolean, optional) – If set to True (default is False), the function will return figure and axis for further processing using matplotlib.