qiskit.pulse.InstructionScheduleMap.get¶
- InstructionScheduleMap.get(instruction, qubits, *params, **kwparams)[소스]¶
Return the defined
Schedule
orScheduleBlock
for the given instruction on the given qubits.If all keys are not specified this method returns schedule with unbound parameters.
- 매개변수
instruction (
Union
[str
,Instruction
]) – Name of the instruction or the instruction itself.qubits (
Union
[int
,Iterable
[int
]]) – The qubits for the instruction.*params – Command parameters for generating the output schedule.
**kwparams – Keyworded command parameters for generating the schedule.
- 반환 형식
Union
[Schedule
,ScheduleBlock
]- 반환
The Schedule defined for the input.
- 예외 발생
PulseError – When invalid parameters are specified.