static Client.is_solver_handled(solver)[source]

Determine if the specified solver should be handled by this client.

This predicate function overrides superclass to filter out any non-QPU solvers.

Current implementation filters out D-Wave software clients with solver IDs prefixed with c4-sw. If needed, update this method to suit your solver naming scheme.


This example filters solvers for those prefixed 2000Q.

def is_solver_handled(solver):
    return solver and solver.id.startswith('2000Q')