exa.core.post_processing.excited_state_probability_computation.add_excited_state_probabilities#
- add_excited_state_probabilities(run_result)#
Post processor to calculate and add excited state probability to the dataset.
Use readout average response phase settings and observations to compute the probability of the excited state.
The default data parameter is used for in the computing the excited state probability.
The processed data will have the shape
(len(hard_sweeps[0]), ..., len(hard_sweeps[-1]), s0, s1, ...), where s0, s1 etc. denote the dimensions of the soft sweeps. Note that len(hard_sweeps[0]) corresponds to the dimension of the default sweep parameter.See
compute_excitation_probability()for more details about the computation.- Parameters:
run_result (RunResult) – The run result containing the full dataset and run data.
- Returns:
The
RunResultobject withEXCITED_STATE_PROBABILITYadded to the dataset.- Return type: