qiskit.providers.BackendV2.qubit_properties¶
- BackendV2.qubit_properties(qubit)[source]¶
Return QubitProperties for a given qubit.
If there are no defined or the backend doesn’t support querying these details this method does not need to be implemented.
- Parameters
qubit (
Union
[int
,List
[int
]]) – The qubit to get theQubitProperties
object for. This can be a single integer for 1 qubit or a list of qubits and a list ofQubitProperties
objects will be returned in the same order- Returns
The
QubitProperties
object for the specified qubit. If a list of qubits is provided a list will be returned. If properties are missing for a qubit this can beNone
.- Return type
qubit_properties
- Raises
NotImplementedError – if the backend doesn’t support querying the qubit properties