DAG Circuits (qiskit.dagcircuit
)#
Circuits as Directed Acyclic Graphs#
Quantum circuit as a directed acyclic graph. |
|
|
Parent class for DAGOpNode, DAGInNode, and DAGOutNode. |
|
Object to represent an Instruction at a node in the DAGCircuit. |
|
Object to represent an incoming wire node in the DAGCircuit. |
|
Object to represent an outgoing wire node in the DAGCircuit. |
|
Object to represent the information at a node in the DAGDependency(). |
Object to represent a quantum circuit as a Directed Acyclic Graph (DAG) via operation dependencies (i.e. |
Exceptions#
- exception qiskit.dagcircuit.DAGCircuitError(*msg)[código fonte]#
Base class for errors raised by the DAGCircuit object.
Set the error message.
- exception qiskit.dagcircuit.DAGDependencyError(*msg)[código fonte]#
Base class for errors raised by the DAGDependency object.
Set the error message.
Utilities#
|
This class implements various strategies of consolidating blocks of nodes in a DAG (direct acyclic graph). |
|
This class implements various strategies of dividing a DAG (direct acyclic graph) into blocks of nodes that satisfy certain criteria. |
Splits a block of nodes into sub-blocks over disjoint qubits. |