dwave-system icon indicating copy to clipboard operation
dwave-system copied to clipboard

Add ability to "warm up" the DWaveCliqueSampler clique embedding cache

Open arcondello opened this issue 5 years ago • 0 comments

This will build the cache for each sampler available to the default profile.

from dwave.cloud import Client
from dwave.system import DWaveCliqueSampler
client = Client.from_config()
for solver in client.get_solvers(qpu=True):
    id_ = solver.id
    sampler = DWaveCliqueSampler(solver=id_)
    sampler.largest_clique()

See #313

arcondello avatar Jul 24 '20 20:07 arcondello