iqm.benchmarks.compressive_gst.gst_analysis.generate_non_gate_results

iqm.benchmarks.compressive_gst.gst_analysis.generate_non_gate_results#

iqm.benchmarks.compressive_gst.gst_analysis.generate_non_gate_results(dataset: Dataset, qubit_layout: List[int], df_o: DataFrame) tuple[DataFrame, Figure]#

Creates error bars (if bootstrapping was used) and formats results for non-gate errors. The resulting tables are also turned into figures, so that they can be saved automatically.

Parameters:
  • dataset (Dataset) – xr.Dataset A dataset containing counts from the experiment and configurations

  • qubit_layout (List[int]) – List[int] The list of qubits for the current GST experiment

  • df_o (DataFrame) – Pandas DataFrame A dataframe containing the non-gate quality metrics (SPAM errors and fit quality)

Returns:

Pandas DataFrame

The final formated results

Return type:

df_o_final