dwavesystems / dwavesystems/dwave-system

Allow sampling by id from DWaveSampler, LeapHybridSampler, LeapHybridDQMSampler

Open
#397 10 comments 0 reactions 0 assignees View on GitHub
feature-request/enhancement
Dominant language
Python
Stars
98
Forks
67
Avg merge
7m
Merged PRs (30d)
1

Description

We could either accept ids in the `.sample` method,
```
sampleset = LeapHybridSampler().sample(id_)
```
or be more explicit
```
sampleset = LeapHybridSampler().sample_id(id_)
```

My preference is for the latter, since the former might lead users to do things like
```
sampleset = EmbeddingComposite(DWaveSampler()).sample(id_)
```
which isn't well defined.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.