basic_device_readout_errors#

basic_device_readout_errors(properties=None, target=None)[source]#

Return readout error parameters from either of device Target or BackendProperties.

If target is supplied, properties will be ignored.

Parameters:
  • properties (BackendProperties) – device backend properties

  • target (Target) – device backend target

Returns:

A list of pairs (qubits, ReadoutError) for qubits with non-zero readout error values.

Return type:

list

Raises:

NoiseError – if neither properties nor target is supplied.