qiskit.pulse.InstructionScheduleMap.assert_has¶
- InstructionScheduleMap.assert_has(instruction, qubits)[ソース]¶
Error if the given instruction is not defined.
- パラメータ
instruction (
Union
[str
,Instruction
]) – The instruction for which to look.qubits (
Union
[int
,Iterable
[int
]]) – The specific qubits for the instruction.
- 例外
PulseError – If the instruction is not defined on the qubits.
- 戻り値の型
None