DAGOutNode#
- class qiskit.dagcircuit.DAGOutNode(wire)[소스]#
기반 클래스:
DAGNode
Object to represent an outgoing wire node in the DAGCircuit.
Create an outgoing node
Attributes
- wire#
- sort_key#
Methods
- static semantic_eq(node1, node2, bit_indices1, bit_indices2)#
Check if DAG nodes are considered equivalent, e.g., as a node_match for
rustworkx.is_isomorphic_node_match()
.- 매개변수:
node1 (DAGOpNode, DAGInNode, DAGOutNode) – A node to compare.
node2 (DAGOpNode, DAGInNode, DAGOutNode) – The other node to compare.
bit_indices1 (dict) – Dictionary mapping Bit instances to their index within the circuit containing node1
bit_indices2 (dict) – Dictionary mapping Bit instances to their index within the circuit containing node2
- 반환:
If node1 == node2
- 반환 형식: