- static DAGInNode.semantic_eq(node1, node2, bit_indices1=None, bit_indices2=None)¶
Check if DAG nodes are considered equivalent, e.g., as a node_match for nx.is_isomorphic.
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
- Tipo del valor devuelto