iqm.benchmarks.compressive_gst.gst_analysis.pandas_results_to_observations#
- iqm.benchmarks.compressive_gst.gst_analysis.pandas_results_to_observations(dataset: Dataset, df_g: DataFrame, df_o: DataFrame, identifier: BenchmarkObservationIdentifier) list[BenchmarkObservation]#
Converts high level GST results from a pandas Dataframe to a simple observation dictionary.
- Parameters:
dataset (Dataset) – A dataset containing counts from the experiment and configurations
df_g (DataFrame) – The dataframe with properly formated gate results
df_o (DataFrame) – The dataframe with properly formated non-gate results like SPAM error measures or fit quality.
identifier (BenchmarkObservationIdentifier) – An identifier object for the current GST run
- Returns:
List of observations converted from the pandas dataframes
- Return type:
observation_list