qiskit.providers.fake_provider.FakeJohannesburgV2.qubit_properties¶
- FakeJohannesburgV2.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.
- Parameter
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- Rückgabe
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
.- Rückgabetyp
qubit_properties
- Verursacht
NotImplementedError – if the backend doesn’t support querying the qubit properties