Open randomir opened 5 years ago
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.
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?
Motivated by #138, #134 and #135:
Add an example of QBSolv use with
EmbeddingComposite(DWaveSampler())
for subproblemssolver
. The example could go under the Introduction section and/or theQBSolv.sample()
section.