exa.core.post_processing.excited_state_probability_computation.compute_excitation_probability

exa.core.post_processing.excited_state_probability_computation.compute_excitation_probability#

compute_excitation_probability(data, average_response_phase, average_response_g, average_response_e, excited_state_probability_parameter)#

Computes excited state probabilities from complex readout voltages stored in an N-dimensional dataset.

Note

It is not guaranteed that the resulting values in data array are restricted to the interval 0…1.

Parameters:
  • data (DataArray) – (N+M)-dimensional measurement data corresponding usually to 'readout_i.result'. Can have dimensions that represent N soft sweeps and M hard sweeps.

  • average_response_phase (float) – Inverted phase of average response signal in radians, to rotate signal to real axis.

  • average_response_g (float) – Average response voltage of ground state projected to principal axis.

  • average_response_e (float) – Average response voltage of excited state projected to principal axis.

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

Returns:

Data array of real numbers containing the computed excited state probabilities. The data array has the same shape as data, and it is built using excited_state_probability_parameter.

Return type:

DataArray