# qiskit.providers.models.BackendProperties¶

class BackendProperties(backend_name, backend_version, last_update_date, qubits, gates, general, **kwargs)[ソース]

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.

パラメータ
• 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 objects

• gates (list) – System gate parameters as a list of Gate objects

• general (list) – General parameters as a list of Nduv objects

• kwargs – optional additional fields

__init__(backend_name, backend_version, last_update_date, qubits, gates, general, **kwargs)[ソース]

Initialize a BackendProperties instance.

パラメータ
• 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 objects

• gates (list) – System gate parameters as a list of Gate objects

• general (list) – General parameters as a list of Nduv objects

• kwargs – optional additional fields

Methods

 __init__(backend_name, backend_version, …) Initialize a BackendProperties instance. Return a list of faulty gates. Return a list of faulty qubits. frequency(qubit) Return the frequency of the given qubit. from_dict(data) Create a new Gate object from a dictionary. gate_error(gate, qubits) Return gate error estimates from backend properties. gate_length(gate, qubits) Return the duration of the gate in units of seconds. gate_property(gate[, qubits, name]) Return the property of the given gate. is_gate_operational(gate[, qubits]) Return the operational status of the given gate. Return the operational status of the given qubit. qubit_property(qubit[, name]) Return the property of the given qubit. readout_error(qubit) Return the readout error of the given qubit. readout_length(qubit) Return the readout length [sec] of the given qubit. t1(qubit) Return the T1 time of the given qubit. t2(qubit) Return the T2 time of the given qubit. Return a dictionary format representation of the BackendProperties.
faulty_gates()[ソース]

Return a list of faulty gates.

faulty_qubits()[ソース]

Return a list of faulty qubits.

frequency(qubit)[ソース]

Return the frequency of the given qubit.

パラメータ

qubit (int) – Qubit for which to return frequency of.

float

Frequency of the given qubit.

classmethod from_dict(data)[ソース]

Create a new Gate object from a dictionary.

パラメータ

data (dict) – A dictionary representing the Gate to create. It will be in the same format as output by to_dict().

The BackendProperties from the input

dictionary.

BackendProperties

gate_error(gate, qubits)[ソース]

Return gate error estimates from backend properties.

パラメータ
• gate (str) – The gate for which to get the error.

• qubits (Union[int, Iterable[int]]) – The specific qubits for the gate.

float

Gate error of the given gate and qubit(s).

gate_length(gate, qubits)[ソース]

Return the duration of the gate in units of seconds.

パラメータ
• gate (str) – The gate for which to get the duration.

• qubits (Union[int, Iterable[int]]) – The specific qubits for the gate.

float

Gate length of the given gate and qubit(s).

gate_property(gate, qubits=None, name=None)[ソース]

Return the property of the given gate.

パラメータ
• gate (str) – Name of the gate.

• qubits (Union[int, Iterable[int], None]) – The qubit to find the property for.

• name (Optional[str]) – Optionally used to specify which gate property to return.

Tuple[Any, datetime]

Gate property as a tuple of the value and the time it was measured.

BackendPropertyError – If the property is not found or name is specified but qubit is not.

is_gate_operational(gate, qubits=None)[ソース]

Return the operational status of the given gate.

パラメータ
• gate (str) – Name of the gate.

• qubits (Union[int, Iterable[int], None]) – The qubit to find the operational status for.

Operational status of the given gate. True if the gate is operational, False otherwise.

bool

is_qubit_operational(qubit)[ソース]

Return the operational status of the given qubit.

パラメータ

qubit (int) – Qubit for which to return operational status of.

bool

Operational status of the given qubit.

qubit_property(qubit, name=None)[ソース]

Return the property of the given qubit.

パラメータ
• qubit (int) – The property to look for.

• name (Optional[str]) – Optionally used to specify within the hierarchy which property to return.

Tuple[Any, datetime]

Qubit property as a tuple of the value and the time it was measured.

readout_error(qubit)[ソース]

Return the readout error of the given qubit.

パラメータ

qubit (int) – Qubit for which to return the readout error of.

float

Readout error of the given qubit.

readout_length(qubit)[ソース]

Return the readout length [sec] of the given qubit.

パラメータ

qubit (int) – Qubit for which to return the readout length of.

float

Readout length of the given qubit.

t1(qubit)[ソース]

Return the T1 time of the given qubit.

パラメータ

qubit (int) – Qubit for which to return the T1 time of.

float

T1 time of the given qubit.

t2(qubit)[ソース]

Return the T2 time of the given qubit.

パラメータ

qubit (int) – Qubit for which to return the T2 time of.

float

T2 time of the given qubit.

to_dict()[ソース]

Return a dictionary format representation of the BackendProperties.

The dictionary form of the BackendProperties.

dict