qiskit.pulse.ScheduleBlock.append¶
-
ScheduleBlock.
append
(block, name=None, inplace=True)[source]¶ Return a new schedule block with
block
appended to the context block. The execution time is automatically assigned when the block is converted into schedule.- Parameters
block (
Union
[ScheduleBlock
,Instruction
]) – ScheduleBlock to be appended.name (
Optional
[str
]) – Name of the newSchedule
. Defaults to name ofself
.inplace (
bool
) – Perform operation inplace on this schedule. Otherwise return a newSchedule
.
- Return type
ScheduleBlock
- Returns
Schedule block with appended schedule.
- Raises
PulseError – When invalid schedule type is specified.