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.