iqm.benchmarks.randomized_benchmarking.eplg.eplg.plot_layered_fidelities_graph#
- iqm.benchmarks.randomized_benchmarking.eplg.eplg.plot_layered_fidelities_graph(fidelities: Dict[str, Dict[str, float]], backend_coupling_map: CouplingMap, qubit_names: Dict[int, str], timestamp: str, station: str | None = None, eplg_estimate: Dict[str, float] | None = None) Tuple[str, Figure] #
Plots the layered fidelity for each corresponding pair of qubits in a graph layout of the given backend.
- Parameters:
fidelities (Dict[str, Dict[str, float]]) – A dictionary (str qubit keys) of dictionaries (keys “value”/”uncertainty”) of fidelities (float) to plot.
backend_coupling_map (CouplingMap) – The CouplingMap instance.
qubit_names (Dict[int, str]) – A dictionary of qubit names corresponding to qubit indices.
timestamp (str) – The timestamp of the corresponding experiment.
station (str) – The name of the station to use for the graph layout.
eplg_estimate (Optional[Dict[str, float]]) – A dictionary with the EPLG estimate value and its uncertainty.
- Returns:
The figure label and the layered fidelities plot figure.
- Return type:
Tuple[str, Figure]