iqm.cpc.compiler.post_process.classify_two_states

iqm.cpc.compiler.post_process.classify_two_states#

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

Classify the complex data using the calibrated threshold.

If the observations are not available, a warning is logged.

Parameters:

run (RunResult) – The run result.

Returns:

The run result with the discriminated shots added.

Return type:

RunResult