qbsolv icon indicating copy to clipboard operation
qbsolv copied to clipboard

Document DWaveSampler use

Open randomir opened this issue 6 years ago • 2 comments

Motivated by #138, #134 and #135:

Add an example of QBSolv use with EmbeddingComposite(DWaveSampler()) for subproblems solver. The example could go under the Introduction section and/or the QBSolv.sample() section.

randomir avatar Feb 06 '19 04:02 randomir

The EmbeddingComposite should not be used by QBSolv, the FixedEmbeddingComposite is preferred. See https://github.com/dwavesystems/qbsolv/blob/1e38d78aaa8ab5b80abe4e5b64c27620b8b8c0e5/examples/useFixedEmbeddingComposite.py#L1 That example should be updated to use find_clique_embedding in dwave-system and it should be referenced more prominently.

arcondello avatar Feb 06 '19 18:02 arcondello

Trying to wrap my head around this example...You are using a complete graph for the subproblem so that it can represent any problem. Is that realistic or efficient in production? Is this the only way to split the problem?

ioannist avatar Apr 26 '21 07:04 ioannist