qiskit.providers.BackendV2.qubit_properties¶
- BackendV2.qubit_properties(qubit)[소스]¶
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.
- 매개변수
qubit (Union[int, List[int]]) – The qubit to get the
QubitProperties
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- 반환
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
.- 반환 형식
qubit_properties
- 예외 발생
NotImplementedError – if the backend doesn’t support querying the qubit properties