qiskit.providers.fake_provider.FakeGeneva.qubit_properties¶
- FakeGeneva.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.
- Parâmetros
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- Retorno
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
.- Tipo de retorno
qubit_properties
- Levanta
NotImplementedError – if the backend doesn’t support querying the qubit properties