This second method does not account for changing solver names or accommodating for a solver coming offline.
Also remember to use some kind of adapter like an EmbeddingComposite if you are not planning on formulating your problem for the QPU topology directly:
Comments
Hello,
There are a couple of ways to do this.
One is by using feature-based solver selection:
zephyr_sampler = DWaveSampler(solver=dict(topology__type='zephyr'))
Or you can select the solver explicitly:
sampler = DWaveSampler(solver='Advantage2_prototype2.3'))
This second method does not account for changing solver names or accommodating for a solver coming offline.
Also remember to use some kind of adapter like an EmbeddingComposite if you are not planning on formulating your problem for the QPU topology directly:
sampler = EmbeddingComposite(DWaveSampler())
Thanks, David, for the help.
Please sign in to leave a comment.