qiskit.pulse.transforms.block_to_schedule
block_to_schedule(block)
Convert ScheduleBlock
to Schedule
.
Parameters
block (ScheduleBlock
) – A ScheduleBlock
to convert.
Return type
Schedule
Returns
Scheduled pulse program.
Raises
- UnassignedDurationError – When any instruction duration is not assigned.
- PulseError – When the alignment context duration is shorter than the schedule duration.
Note
This transform may insert barriers in between contexts.
Was this page helpful?
Report a bug or request content on GitHub.