iqm.benchmarks.entanglement.graph_states.state_tomography_analysis#
- iqm.benchmarks.entanglement.graph_states.state_tomography_analysis(dataset: Dataset, all_qubit_pairs_per_group: Dict[int, List[Tuple[int, int]]], all_qubit_neighbors_per_group: Dict[int, List[List[int]]], all_unprojected_qubits: Dict[int, List[int]], backend_name: str, execution_timestamp: str) Tuple[Dict[str, Any], List[BenchmarkObservation], Dict[str, Dict[str, str | float]], Dataset] #
Performs state tomography analysis on the given dataset.
- Parameters:
dataset (xr.Dataset) – The dataset containing the experimental data.
all_qubit_pairs_per_group (Dict[int, List[Tuple[int, int]]]) – Dictionary mapping group indices to lists of qubit pairs.
all_qubit_neighbors_per_group (Dict[int, List[List[int]]]) – Dictionary mapping group indices to lists of neighbor qubit groups.
all_unprojected_qubits (Dict[int, List[int]]) – Dictionary mapping group indices to lists of unprojected qubits.
backend_name (str) – The name of the backend used for the experiment.
execution_timestamp (str) – The timestamp of the experiment execution.
- Returns:
- A tuple containing:
A dictionary of plots.
A list of benchmark observations.
A dictionary of maximum negativities.
The updated dataset.
- Return type:
Tuple[Dict[str, Any], List[BenchmarkObservation], Dict[str, Dict[str, float]], xr.Dataset]