qiskit.pulse.transforms.pad¶
- pad(schedule, channels=None, until=None, inplace=False)[source]¶
Pad the input Schedule with
Delay``s on all unoccupied timeslots until ``schedule.duration
oruntil
if notNone
.- প্যারামিটার
schedule (
Schedule
) -- Schedule to pad.channels (
Optional
[Iterable
[Channel
]]) -- Channels to pad. Defaults to all channels inschedule
if not provided. If the supplied channel is not a member ofschedule
it will be added.until (
Optional
[int
]) -- Time to pad until. Defaults toschedule.duration
if not provided.inplace (
bool
) -- Pad this schedule by mutating rather than returning a new schedule.
- রিটার্ন টাইপ
- রিটার্নস
The padded schedule.