iqm.benchmarks.quantum_volume.quantum_volume.is_successful

Contents

iqm.benchmarks.quantum_volume.quantum_volume.is_successful#

iqm.benchmarks.quantum_volume.quantum_volume.is_successful(heavy_output_probabilities: list[float], num_sigmas: int = 2) bool#

Check whether a QV benchmark returned heavy output results over the threshold, therefore being successful.

This condition checks that the average of HOP is above the 2/3 threshold within the number of sigmas given in the configuration.

Parameters:
  • heavy_output_probabilities (list[float]) – The HOP of all quantum circuits.

  • num_sigmas (int) – The number of sigmas to check

Returns:

Whether the QV benchmark was successful.

Return type:

bool