38 lines
2.3 KiB
Plaintext
38 lines
2.3 KiB
Plaintext
---
|
||
title: basic_device_gate_errors (v0.26)
|
||
description: API reference for qiskit.providers.aer.noise.device.basic_device_gate_errors in qiskit v0.26
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.providers.aer.noise.device.basic_device_gate_errors
|
||
---
|
||
|
||
<span id="qiskit-providers-aer-noise-device-basic-device-gate-errors" />
|
||
|
||
# qiskit.providers.aer.noise.device.basic\_device\_gate\_errors
|
||
|
||
<Function id="qiskit.providers.aer.noise.device.basic_device_gate_errors" isDedicatedPage={true} github="https://github.com/qiskit/qiskit-aer/tree/stable/0.8/qiskit/providers/aer/noise/device/models.py" signature="basic_device_gate_errors(properties, gate_error=True, thermal_relaxation=True, gate_lengths=None, gate_length_units='ns', temperature=0, standard_gates=True, warnings=True)">
|
||
Return QuantumErrors derived from a devices BackendProperties.
|
||
|
||
If non-default values are used gate\_lengths should be a list of tuples `(name, qubits, value)` where `name` is the gate name string, `qubits` is either a list of qubits or `None` to apply gate time to this gate one any set of qubits, and `value` is the gate time in nanoseconds.
|
||
|
||
**Parameters**
|
||
|
||
* **properties** ([*BackendProperties*](qiskit.providers.models.BackendProperties "qiskit.providers.models.BackendProperties")) – device backend properties
|
||
* **gate\_error** (*bool*) – Include depolarizing gate errors (Default: True).
|
||
* **thermal\_relaxation** (*Bool*) – Include thermal relaxation errors (Default: True).
|
||
* **gate\_lengths** (*list*) – Override device gate times with custom values. If None use gate times from backend properties. (Default: None).
|
||
* **gate\_length\_units** (*str*) – Time units for gate length values in gate\_lengths. Can be ‘ns’, ‘ms’, ‘us’, or ‘s’ (Default: ‘ns’).
|
||
* **temperature** (*double*) – qubit temperature in milli-Kelvin (mK) (Default: 0).
|
||
* **standard\_gates** (*bool*) – If true return errors as standard qobj gates. If false return as unitary qobj instructions (Default: True).
|
||
* **warnings** (*bool*) – Display warnings (Default: True).
|
||
|
||
**Returns**
|
||
|
||
A list of tuples `(label, qubits, QuantumError)`, for gates with non-zero quantum error terms, where label is the label of the noisy gate, qubits is the list of qubits for the gate.
|
||
|
||
**Return type**
|
||
|
||
list
|
||
</Function>
|
||
|