iqm.benchmarks.entanglement.ghz.plot_fidelities#
- iqm.benchmarks.entanglement.ghz.plot_fidelities(observations: list[BenchmarkObservation], dataset: Dataset, qubit_layouts: list[list[int]]) Figure#
Plots all the fidelities stored in the observations into a single plot of fidelity vs. number of qubits.
- Parameters:
observations (list[BenchmarkObservation]) – A list of Observations, each assumed to be a fidelity
dataset (Dataset) – The experiment dataset containing results and metadata
qubit_layouts (list[list[int]]) – The list of qubit layouts as given by the user. This is used to name the layouts in order for identification in the plot.
- Returns:
The figure object with the fidelity plot.
- Return type: