iqm.benchmarks.optimization.qscore.is_successful

Contents

iqm.benchmarks.optimization.qscore.is_successful#

iqm.benchmarks.optimization.qscore.is_successful(approximation_ratio: float) bool#

Check whether a Q-score benchmark returned approximation ratio above beta*, therefore being successful.

This condition checks that the mean approximation ratio is above the beta* = 0.2 threshold.

Parameters:

approximation_ratio (float) – the mean approximation ratio of all problem graphs

Returns:

whether the Q-score benchmark was successful

Return type:

bool