qiskit.dagcircuit.DAGCircuit.draw¶
- DAGCircuit.draw(scale=0.7, filename=None, style='color')[source]¶
Draws the dag circuit.
This function needs pydot, which in turn needs Graphviz to be installed.
- প্যারামিটার
scale (float) -- scaling factor
filename (str) -- file path to save image to (format inferred from name)
style (str) -- 'plain': B&W graph; 'color' (default): color input/output/op nodes
- রিটার্নস
if in Jupyter notebook and not saving to file, otherwise None.
- রিটার্ন টাইপ
Ipython.display.Image