Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow DWaveCliqueSampler to use a user specified clique embedding #419

Open
pau557 opened this issue Aug 14, 2021 · 2 comments
Open

Allow DWaveCliqueSampler to use a user specified clique embedding #419

pau557 opened this issue Aug 14, 2021 · 2 comments
Labels
feature-request/enhancement New feature or request

Comments

@pau557
Copy link
Contributor

pau557 commented Aug 14, 2021

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:

embedding = find_clique_embedding(bqm.variables, self.target_graph,

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

@arcondello
Copy link
Member

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

sampler = FixedEmbeddingComposite(

@arcondello arcondello added the feature-request/enhancement New feature or request label Aug 14, 2021
@davidmerwin
Copy link

🌟

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants