Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.pulse.InstructionScheduleMap.has

InstructionScheduleMap.has(instruction, qubits)[source]

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.