Skip to main contentIBM Quantum Documentation

DAGInNode

qiskit.dagcircuit.DAGInNode(wire)GitHub(opens in a new tab)

Bases: DAGNode

Object to represent an incoming wire node in the DAGCircuit.

Create an incoming node


Attributes

wire

sort_key


Methods

semantic_eq

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()(opens in a new tab).

Parameters

Returns

If node1 == node2

Return type

Bool

Was this page helpful?