qiskit.pulse.InstructionScheduleMap.has¶
- InstructionScheduleMap.has(instruction, qubits)[ソース]¶
Is the instruction defined for the given qubits?
- パラメータ
instruction (
Union
[str
,Instruction
]) – The instruction for which to look.qubits (
Union
[int
,Iterable
[int
]]) – The specific qubits for the instruction.
- 戻り値の型
bool
- 戻り値
True iff the instruction is defined.