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. Components with an unsupported acquisition type or unavailable average response observations are omitted.

Parameters:

run (RunResult) – The RunResult object.

Returns:

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

Return type:

RunResult