Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.pulse.transforms.pad

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

GitHub

Pad the input Schedule with Delays on all unoccupied timeslots until schedule.duration or until if not None.

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.
  • inplace (bool) – Pad this schedule by mutating rather than returning a new schedule.

Return type

Schedule

Returns

The padded schedule.

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