About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
qiskit.transpiler.preset_passmanagers.common.generate_scheduling
generate_scheduling(instruction_durations, scheduling_method, timing_constraints, inst_map)
Generate a post optimization scheduling PassManager
Parameters
- instruction_durations (dict) – The dictionary of instruction durations
- scheduling_method (str) – The scheduling method to use, can either be
'asap'
/'as_soon_as_possible'
or'alap'
/'as_late_as_possible'
- timing_constraints (TimingConstraints) – Hardware time alignment restrictions.
- inst_map (InstructionScheduleMap) – Mapping object that maps gate to schedule.
Returns
The scheduling pass manager
Return type
Raises
TranspilerError – If the scheduling_method
kwarg is not a valid value
Was this page helpful?
Report a bug or request content on GitHub.