BlockBasePadder.run#
- BlockBasePadder.run(dag)[source]#
Run the padding pass on
dag
.- Parameters:
dag (
DAGCircuit
) – DAG to be checked.- Returns:
DAG with idle time filled with instructions.
- Return type:
DAGCircuit
- Raises:
TranspilerError – When a particular node is not scheduled, likely some transform pass is inserted before this node is called.