Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.preset_passmanagers.common.generate_scheduling

generate_scheduling(instruction_durations, scheduling_method, timing_constraints, inst_map, target=None)[código fonte]

Generate a post optimization scheduling PassManager

Parâmetros
  • 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.

  • target (Target) – The Target object representing the backend

Retorno

The scheduling pass manager

Tipo de retorno

PassManager

Levanta

TranspilerError – If the scheduling_method kwarg is not a valid value