exa.core.post_processing.excited_state_probability_computation.compute_three_state_probability

exa.core.post_processing.excited_state_probability_computation.compute_three_state_probability#

compute_three_state_probability(data, average_response_phase, average_response_g, average_response_e, average_response_f, state_probability_parameters)#

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.

  • average_response_f (complex) – Average response voltage of second excited state, complex.

  • state_probability_parameters (list[Parameter]) – Parameters for the 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:

list[DataArray]