iqm.cpc.compiler.post_process.construct_run_result

iqm.cpc.compiler.post_process.construct_run_result#

iqm.cpc.compiler.post_process.construct_run_result(sweep_results, context)#

Pass for converting sweep_results into a dataset and wrapping it in a RunResult.

Unmaps the hashed readout keys.

Parameters:
  • sweep_results (dict[str, list[ndarray]]) – Raw sweep results returned by SC.

  • context (dict[str, Any]) – The Compiler context containing the run definition and timeline.

Returns:

The RunResult.

Return type:

RunResult