Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.providers.aer.noise.device.basic_device_gate_errors

basic_device_gate_errors(properties, gate_error=True, thermal_relaxation=True, gate_lengths=None, gate_length_units='ns', temperature=0, standard_gates=None, warnings=True)

GitHub

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) – 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) – DEPRECATED, If true return errors as standard qobj gates. If false return as unitary qobj instructions (Default: None).
  • 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

Was this page helpful?
Report a bug or request content on GitHub.