BackendProperties#
- class qiskit.providers.models.BackendProperties(backend_name, backend_version, last_update_date, qubits, gates, general, **kwargs)[ソース]#
ベースクラス:
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.
- パラメータ:
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
- classmethod from_dict(data)[ソース]#
Create a new BackendProperties object from a dictionary.
- gate_property(gate, qubits=None, name=None)[ソース]#
Return the property of the given gate.
- パラメータ:
- 戻り値:
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.
- 戻り値の型: