Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.dagcircuit.DAGDependency.draw

DAGDependency.draw(scale=0.7, filename=None, style='color')[código fonte]

Draws the DAGDependency graph.

This function needs pydot <https://github.com/erocarrera/pydot>, which in turn needs Graphviz <https://www.graphviz.org/>` to be installed.

Parâmetros
  • 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

Retorno

if in Jupyter notebook and not saving to file,

otherwise None.

Tipo de retorno

Ipython.display.Image