DAGCircuit.named_nodes

DAGCircuit.named_nodes(*names)[source]

Get the set of “op” nodes with the given name.