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