RemoveFinalMeasurements.run¶
- RemoveFinalMeasurements.run(dag)[source]¶
Run the RemoveFinalMeasurements pass on dag.
- Parameters
dag (DAGCircuit) – the DAG to be optimized.
- Returns
the optimized DAG.
- Return type
Run the RemoveFinalMeasurements pass on dag.
dag (DAGCircuit) – the DAG to be optimized.
the optimized DAG.