Radomir Stevanovic
Radomir Stevanovic
Thank you for bringing this to our attention, @NeolithEra. For the same reasons listed on [dwave-neal#79](https://github.com/dwavesystems/dwave-neal/issues/79#issuecomment-629305588), I recommend a 4th option: `dwave-networkx>=0.8.4,
[Just to first document the discussion we had offline.] All qubits referenced in `h` *or* `J` are declared active. If you supply `[0] * 2048` for `h`, all 2048 qubits...
Yes, I'm getting the same error. The problem is SAPI downstream expects 3s for inactive qubits in `initial_state`, and we're trying to abstract inactive qubits away from users. `initial_state` (or...
That being said, I don't see any other way of moving forward. We'll have to handle `initial_state` with special care, treat it as a unique unicorn... And open a pandora...
@arcondello, I think we'll soon have singleton threadpools, as they are related to https://github.com/dwavesystems/dwave-cloud-client/issues/326.
It's easy to trim the trailing inactive qubits, but if we're using a list for the response, "holes" have to filled out with (perhaps) `NaN`s. The alternative is to, by...
I agree. Capturing all intermediate results with event hooks was my intent originally. Just need to figure out how to handle incorrect (uncomposed) embeddings until we support events Ocean-wide.
To @speller26's point, adding `StructuredSampler` with relevant utilities, and then subclassing it in `DWaveSampler` makes the most sense to me (see https://github.com/dwavesystems/dimod/pull/832#discussion_r644310027). Something like: ``` # in dimod class StructuredSampler(dimod.Structured,...
Hi @tonandr, until we implement a singleton thread pool in the dwave-cloud-client, you can simply extract the instance of `DWaveSampler` (or `EmbeddingComposite` that wraps it) outside of your loop and/or...
I don't think dimod samplers should live in the page with [hybrid samplers](https://docs.ocean.dwavesys.com/projects/hybrid/en/stable/reference/samplers.html) (workflows). Dimod samplers that wrap hybrid workflows/samplers can all trivially be replaced with `hybrid.HybridSampler` around the workflows,...