qiskit.dagcircuit.DAGDepNode.semantic_eq¶
- static DAGDepNode.semantic_eq(node1, node2)[ソース]¶
Check if DAG nodes are considered equivalent, e.g., as a node_match for nx.is_isomorphic.
- パラメータ
node1 (DAGDepNode) – A node to compare.
node2 (DAGDepNode) – The other node to compare.
- 戻り値
If node1 == node2
- 戻り値の型
Bool