DAGCircuit.remove_ancestors_of

DAGCircuit.remove_ancestors_of(node)[source]

Remove all of the ancestor operation nodes of node.