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

Allow DWaveCliqueSampler to use a user specified clique embedding

Open pau557 opened this issue 4 years ago • 2 comments

I'm interested in using all the functionality of the clique sampler (range-scaled uniform torque compensation, per-qubit coupling checks), but I would like the option of passing my own embedding instead of generating it on the fly:

https://github.com/dwavesystems/dwave-system/blob/7b702351f61294459db475fa4fe92aac1f44f16d/dwave/system/samplers/clique.py#L389

This allows reproducibility, graph-isomorphic transformations, testing new embeddings, etc.

pau557 avatar Aug 14 '21 00:08 pau557

Definitely a feature we could (easily) add. But in the mean time you could get the same effect with just using the same set of composites https://github.com/dwavesystems/dwave-system/blob/7b702351f61294459db475fa4fe92aac1f44f16d/dwave/system/samplers/clique.py#L406

arcondello avatar Aug 14 '21 05:08 arcondello

🌟

davidmerwin avatar Mar 18 '22 00:03 davidmerwin