Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.Target.operation_names_for_qargs

Target.operation_names_for_qargs(qargs)[source]

Get the operation names for a specified qargs tuple

প্যারামিটার

qargs (tuple) -- A qargs tuple of the qubits to get the gates that apply to it. For example, (0,) will return the set of all instructions that apply to qubit 0. If set to None this will return the names for any globally defined operations in the target.

রিটার্নস

The set of operation names that apply to the specified qargs`.

রিটার্ন টাইপ

set

রেইজেস

KeyError -- If qargs is not in target