Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK. Go to the latest version

DAG Circuits

qiskit.dagcircuit


DAG Circuits

DAGCircuit()Quantum circuit as a directed acyclic graph.
DAGNode([type, op, name, qargs, cargs, …])Parent class for DAGOpNode, DAGInNode, and DAGOutNode.
DAGOpNode(op[, qargs, cargs])Object to represent an Instruction at a node in the DAGCircuit.
DAGInNode(wire)Object to represent an incoming wire node in the DAGCircuit.
DAGOutNode(wire)Object to represent an outgoing wire node in the DAGCircuit.
DAGDepNode([type, op, name, qargs, cargs, …])Object to represent the information at a node in the DAGDependency().
DAGDependency()Object to represent a quantum circuit as a directed acyclic graph via operation dependencies (i.e.

Exceptions

DAGCircuitError(*msg)Base class for errors raised by the DAGCircuit object.
Was this page helpful?
Report a bug or request content on GitHub.