iqm.benchmarks.compressive_gst.gst_analysis.dataset_counts_to_mgst_format#
- iqm.benchmarks.compressive_gst.gst_analysis.dataset_counts_to_mgst_format(dataset: Dataset, qubit_layout: List[int]) ndarray #
- Turns the dictionary of outcomes obtained from qiskit backend
into the format which is used in mGST
- Parameters:
- Returns:
y – 2D array of measurement outcomes for sequences in J; Each column contains the outcome probabilities for a fixed sequence
- Return type:
numpy array