DAGCircuit.remove_nondescendants_of

DAGCircuit.remove_nondescendants_of(node)[source]

Remove all of the non-descendants operation nodes of node.