ALAPScheduleAnalysis.run#

ALAPScheduleAnalysis.run(dag)[source]#

Run the ASAPSchedule pass on dag. :type dag: DAGCircuit :param dag: DAG to schedule. :type dag: DAGCircuit

Raises:
  • TranspilerError – if the circuit is not mapped on physical qubits.

  • TranspilerError – if conditional bit is added to non-supported instruction.

Return type:

None

Returns:

The scheduled DAGCircuit.