qiskit.pulse.InstructionScheduleMap.get¶
- InstructionScheduleMap.get(instruction, qubits, *params, **kwparams)[source]¶
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.
- Parameters
instruction (Union[str, Instruction]) – Name of the instruction or the instruction itself.
qubits (Union[int, Iterable[int]]) – The qubits for the instruction.
*params (Union[complex, ParameterExpression]) – Command parameters for generating the output schedule.
**kwparams (Union[complex, ParameterExpression]) – Keyworded command parameters for generating the schedule.
- Returns
The Schedule defined for the input.
- Return type
Union[Schedule, ScheduleBlock]