- pad(schedule, channels=None, until=None, inplace=False, pad_with=None)¶
Pad the input Schedule with
Delay``s on all unoccupied timeslots until ``schedule.durationor
schedule (Schedule) – Schedule to pad.
channels (Optional[Iterable[Channel]]) – Channels to pad. Defaults to all channels in
scheduleif not provided. If the supplied channel is not a member of
scheduleit will be added.
until (Optional[int]) – Time to pad until. Defaults to
schedule.durationif not provided.
inplace (bool) – Pad this schedule by mutating rather than returning a new schedule.
The padded schedule.
- 예외 발생
PulseError – When non pulse instruction is set to pad_with.
- 반환 형식