+This repository contains python code to run the Q-score benchmark on five different D-Wave devices and solvers, namely its Advantage and 2000-Q QPU solvers, its Simulated Annealing and qbsolv classical solver and its hybrid solver. For an introduction to the Q-score, see below. The code allows running a single Max-Cut instance on each of the five solvers with different sizes and timeout limits. The code returns both the Max-Cut result as the corresponding beta value. If no result is found within the allowed time limit, no Max-Cut result and a beta value of 0 are returned. Note that for the QPU solvers, the time limit considers embedding time only. The actual computation time will be slightly higher, but this difference will be in the order of milliseconds and will hence not influence the results. To compute the Q-score, one runs for increasing graph size sufficiently many instances of given code to check whether the average beta is larger than 0.2.
0 commit comments