iqm.cpc.compiler.post_process.compute_excitation_probability_from_data

iqm.cpc.compiler.post_process.compute_excitation_probability_from_data#

iqm.cpc.compiler.post_process.compute_excitation_probability_from_data(run)#

Compute the excited state probability for several components. For complex readout data, this is done using the averaged threshold readout observations and for threshold discriminated data using the 01 and 10 assignment error observations. If the aforementioned observations are not available, a warning is thrown.

Parameters:

run (RunResult) – The RunResult object.

Returns:

The RunResult with the excited state probability added into the dataset.

Return type:

RunResult