exa.core.post_processing.excited_state_probability_computation.compute_excitation_probability_threshold

exa.core.post_processing.excited_state_probability_computation.compute_excitation_probability_threshold#

compute_excitation_probability_threshold(data_array, single_shot_01_error, single_shot_10_error, excited_state_probability_parameter)#

Computes estimated excited state probabilities from averaged thresholded readout results.

Note

It is not guaranteed that the estimated probabilities are restricted to the interval [0, 1].

Parameters:
  • data_array (DataArray) – Averaged thresholded measurement data.

  • single_shot_01_error (float) – Probability of measuring 1 if the 0 state was prepared.

  • single_shot_10_error (float) – Probability of measuring 0 if the 1 state was prepared.

  • excited_state_probability_parameter (Parameter) – Parameter for the excited state probability to be computed.

Returns:

Estimated excited state probabilities. The array has the same shape as data_array, and it is built using excited_state_probability_parameter.

Return type:

DataArray