qiskit.transpiler.passes.ASAPSchedule.run¶
-
ASAPSchedule.
run
(dag)[source]¶ Run the ASAPSchedule pass on dag.
- Parameters
dag (DAGCircuit) – DAG to schedule.
- Returns
A scheduled DAG.
- Return type
- Raises
TranspilerError – if the circuit is not mapped on physical qubits.