About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
DAG Circuits
qiskit.dagcircuit
DAG Circuits
DAGCircuit () | Quantum circuit as a directed acyclic graph. |
DAGNode ([nid]) | 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. |
Block Collection
BlockCollector (dag) | Class for implementing block collection on a DAG. |
BlockCollapser (dag) | Class to consolidate a given block from the dag into a single node |
Exceptions
DAGCircuitError (*msg) | Base class for errors raised by the DAGCircuit object. |
Was this page helpful?
Report a bug or request content on GitHub.