BackendProperties#

class qiskit.providers.models.BackendProperties(backend_name, backend_version, last_update_date, qubits, gates, general, **kwargs)[source]#

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.

প্যারামিটার:
  • 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

faulty_gates()[source]#

Return a list of faulty gates.

faulty_qubits()[source]#

Return a list of faulty qubits.

frequency(qubit)[source]#

Return the frequency of the given qubit.

প্যারামিটার:

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

রিটার্নস:

Frequency of the given qubit.

রিটার্ন টাইপ:

float

classmethod from_dict(data)[source]#

Create a new BackendProperties object from a dictionary.

প্যারামিটার:

data (dict) -- A dictionary representing the BackendProperties 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)[source]#

Return gate error estimates from backend properties.

প্যারামিটার:
  • gate (str) -- The gate for which to get the error.

  • qubits (int | Iterable[int]) -- The specific qubits for the gate.

রিটার্নস:

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

রিটার্ন টাইপ:

float

gate_length(gate, qubits)[source]#

Return the duration of the gate in units of seconds.

প্যারামিটার:
  • gate (str) -- The gate for which to get the duration.

  • qubits (int | Iterable[int]) -- The specific qubits for the gate.

রিটার্নস:

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

রিটার্ন টাইপ:

float

gate_property(gate, qubits=None, name=None)[source]#

Return the property of the given gate.

প্যারামিটার:
  • gate (str) -- Name of the gate.

  • qubits (int | Iterable[int] | None) -- The qubit to find the property for.

  • name (str | None) -- Optionally used to specify which gate property to return.

রিটার্নস:

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.

রিটার্ন টাইপ:

Tuple[Any, datetime]

is_gate_operational(gate, qubits=None)[source]#

Return the operational status of the given gate.

প্যারামিটার:
  • gate (str) -- Name of the gate.

  • qubits (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)[source]#

Return the operational status of the given qubit.

প্যারামিটার:

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

রিটার্নস:

Operational status of the given qubit.

রিটার্ন টাইপ:

bool

qubit_property(qubit, name=None)[source]#

Return the property of the given qubit.

প্যারামিটার:
  • qubit (int) -- The property to look for.

  • name (str | None) -- Optionally used to specify within the hierarchy which property to return.

রিটার্নস:

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

রেইজেস:

BackendPropertyError -- If the property is not found.

রিটার্ন টাইপ:

Tuple[Any, datetime]

readout_error(qubit)[source]#

Return the readout error of the given qubit.

প্যারামিটার:

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

রিটার্নস:

Readout error of the given qubit.

রিটার্ন টাইপ:

float

readout_length(qubit)[source]#

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

প্যারামিটার:

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

রিটার্নস:

Readout length of the given qubit.

রিটার্ন টাইপ:

float

t1(qubit)[source]#

Return the T1 time of the given qubit.

প্যারামিটার:

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

রিটার্নস:

T1 time of the given qubit.

রিটার্ন টাইপ:

float

t2(qubit)[source]#

Return the T2 time of the given qubit.

প্যারামিটার:

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

রিটার্নস:

T2 time of the given qubit.

রিটার্ন টাইপ:

float

to_dict()[source]#

Return a dictionary format representation of the BackendProperties.

রিটার্নস:

The dictionary form of the BackendProperties.

রিটার্ন টাইপ:

dict