BackendProperties#
- class qiskit.providers.models.BackendProperties(backend_name, backend_version, last_update_date, qubits, gates, general, **kwargs)[Quellcode]#
Bases:
object
Class representing backend properties
This holds backend properties measured by the provider. All properties which are provided optionally. These properties may describe qubits, gates, or other general properties of the backend.
Initialize a BackendProperties instance.
- Parameter:
backend_name (str) – Backend name.
backend_version (str) – Backend version in the form X.Y.Z.
last_update_date (datetime or str) – Last date/time that a property was updated. If specified as a
str
, it must be in ISO format.qubits (list) – System qubit parameters as a list of lists of
Nduv
objectsgates (list) – System gate parameters as a list of
Gate
objectsgeneral (list) – General parameters as a list of
Nduv
objectskwargs – optional additional fields
Methods
- faulty_gates()[Quellcode]#
Return a list of faulty gates.
- faulty_qubits()[Quellcode]#
Return a list of faulty qubits.
- frequency(qubit)[Quellcode]#
Return the frequency of the given qubit.
- classmethod from_dict(data)[Quellcode]#
Create a new BackendProperties object from a dictionary.
- gate_error(gate, qubits)[Quellcode]#
Return gate error estimates from backend properties.
- gate_length(gate, qubits)[Quellcode]#
Return the duration of the gate in units of seconds.
- gate_property(gate, qubits=None, name=None)[Quellcode]#
Return the property of the given gate.
- Parameter:
- Rückgabe:
Gate property as a tuple of the value and the time it was measured.
- Verursacht:
BackendPropertyError – If the property is not found or name is specified but qubit is not.
- Rückgabetyp:
- is_gate_operational(gate, qubits=None)[Quellcode]#
Return the operational status of the given gate.
- is_qubit_operational(qubit)[Quellcode]#
Return the operational status of the given qubit.
- qubit_property(qubit, name=None)[Quellcode]#
Return the property of the given qubit.
- Parameter:
- Rückgabe:
Qubit property as a tuple of the value and the time it was measured.
- Verursacht:
BackendPropertyError – If the property is not found.
- Rückgabetyp:
- readout_error(qubit)[Quellcode]#
Return the readout error of the given qubit.
- readout_length(qubit)[Quellcode]#
Return the readout length [sec] of the given qubit.
- t1(qubit)[Quellcode]#
Return the T1 time of the given qubit.
- t2(qubit)[Quellcode]#
Return the T2 time of the given qubit.
- to_dict()[Quellcode]#
Return a dictionary format representation of the BackendProperties.
- Rückgabe:
The dictionary form of the BackendProperties.
- Rückgabetyp: