Alexander Condello
Alexander Condello
Cool bug! Without an obvious fix. When a sample set is constructed using `from_future`, it saves that future as an attribute on itself. So if you change your first while...
One thing you could try is make a new function ``` def submit_and_block(*args, **kwargs): ss = sampler.sample(*args, **kwargs) ss.resolve() return ss ``` then use that ``` futures.append(executor.submit(submit_and_block, bqm, ...)) ```
Hi @pablote1997 , unfortunately the specific way that the LeapHybirdSampler works is, as you say, closed-source. If you're interested in seeing how some hybrid algorithms handle solving problems with many...
This gets complicated quickly. The embedding itself is easy to compose, but things like chain strength and unembedding method and other context parameters lose their meaning. We could add `embedding_contexts`...
Ill definitely write a `compose_embeddings()` function regardless, it's a useful utility.
See also https://github.com/dwavesystems/dwave_networkx/issues/165
Even better, maybe use the [largest_clique](https://github.com/dwavesystems/minorminer/blob/832e123df825b98e0a4039a8d91dda623ff90487/minorminer/busclique.pyx#L245) from minorminer or [.largest_clique_size](https://docs.ocean.dwavesys.com/en/stable/docs_system/reference/generated/dwave.system.samplers.DWaveCliqueSampler.largest_clique_size.html#dwave.system.samplers.DWaveCliqueSampler.largest_clique_size) from the `DWaveCliqueSampler`.
That is an implementation detail of `DWaveSampler`, not at all guaranteed by the API. If we want to expose the solver name, I think we should implement a more general...
Thanks @hemantbpawar. In the DWaveSampler (and in SampleSets created from a future), we are limited to the [Future](https://docs.python.org/3/library/asyncio-future.html#future-object) API. The sample set is future-like in that it does not resolve...
@randomir pointed out that rather than the cloud-client dumping values like `id` into the `.result`, it would be better for the DWaveSampler to read them off in the [hook](https://github.com/dwavesystems/dwave-system/blob/c03475de9f1a825ec81710ab3c9b6a3d425fde86/dwave/system/samplers/dwave_sampler.py#L437).