dwave-system
dwave-system copied to clipboard
Add ability to "warm up" the DWaveCliqueSampler clique embedding cache
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