iqm.benchmarks.quantum_volume.quantum_volume.plot_hop_threshold

iqm.benchmarks.quantum_volume.quantum_volume.plot_hop_threshold#

iqm.benchmarks.quantum_volume.quantum_volume.plot_hop_threshold(qubits: list[int], depth: int, qv_result: list[float], qv_results_type: str, num_sigmas: int, execution_info: ExecutionInfo, in_volumetric: bool = False, plot_rem: bool = False) tuple[str, Figure]#

Generate the figure representing each HOP, the average and the threshold.

Parameters:
  • qubits (list[int]) – The list of qubit labels.

  • depth (int) – The depth of the QV circuit.

  • qv_result (list[float]) – The list of HOP.

  • qv_results_type (str) – Whether results come from vanilla or DD execution.

  • num_sigmas (int) – The number of sigmas to plot.

  • execution_info (ExecutionInfo) – Container with backend name and execution timestamp.

  • in_volumetric (bool) – Whether the QV benchmark is being executed in the context of a volumetric benchmark.

  • plot_rem (bool) – Whether the plot corresponds to REM corrected data.

Returns:

The name of the figure. The figure.

Return type:

tuple[str, Figure]