qiskit.pulse.ScheduleBlock.append¶
- ScheduleBlock.append(block, name=None, inplace=True)[소스]¶
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.- 매개변수
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
.
- 반환 형식
- 반환
Schedule block with appended schedule.
- 예외 발생
PulseError – When invalid schedule type is specified.