@abstractmethod<EOL><INDENT>def run(self, dag):<DEDENT>
raise NotImplementedError<EOL>
Run a pass on the DAGCircuit. This is implemented by the pass developer.
Args:
    dag (DAGCircuit): the dag on which the pass is run.
Raises:
    NotImplementedError: when this is left unimplemented for a pass.