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, backend_name: str, timestamp: str, 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.

  • backend_name (str) – the name of the backend.

  • timestamp (str) – the execution timestamp.

  • in_volumetric (bool) – whether the QV benchmark is being executed in the context of a volumetric benchmark. Defaults to False.

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

Returns:

the name of the figure. Figure: the figure.

Return type:

str