Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

pad

pad(schedule, channels=None, until=None)

GitHub(opens in a new tab)

Pad the input Schedule with Delay s on all unoccupied timeslots until until if it is provided, otherwise until schedule.duration.

Parameters

  • schedule (Schedule) – Schedule to pad.
  • channels (Optional[Iterable[Channel]]) – Channels to pad. Defaults to all channels in schedule if not provided. If the supplied channel is not a member of schedule, it will be added.
  • until (Optional[int]) – Time to pad until. Defaults to schedule.duration if not provided.

Return type

Schedule

Returns

The padded schedule.

Was this page helpful?
Report a bug or request content on GitHub.