Skip to main content
IBM Quantum Platform
이 페이지는 Qiskit SDK의 이전 버전입니다. 최신 버전으로 이동

DAG Circuits

qiskit.dagcircuit


Circuits as Directed Acyclic Graphs

DAGCircuit()Quantum circuit as a directed acyclic graph.
DAGNode([nid])Parent class for DAGOpNode, DAGInNode, and DAGOutNode.
DAGOpNode(op[, qargs, cargs, dag])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 (DAG) via operation dependencies (i.e.

Exceptions

DAGCircuitError

exception qiskit.dagcircuit.DAGCircuitError(*msg)

GitHub

Base class for errors raised by the DAGCircuit object.

Set the error message.

DAGDependencyError

exception qiskit.dagcircuit.DAGDependencyError(*msg)

GitHub

Base class for errors raised by the DAGDependency object.

Set the error message.

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.