- class DAGDepNode(type=None, op=None, name=None, qargs=None, cargs=None, condition=None, successors=None, predecessors=None, reachable=None, matchedwith=None, successorstovisit=None, isblocked=None, qindices=None, cindices=None, nid=- 1)¶
Object to represent the information at a node in the DAGDependency().
It is used as the return value from *_nodes() functions and can be supplied to functions that take a node.
Function to copy a DAGDepNode object.
Check if DAG nodes are considered equivalent, e.g., as a node_match for nx.is_isomorphic.
Returns the condition of the node.op
Returns the Instruction object corresponding to the op for the node, else None
Returns list of Qubit, else an empty list.