-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
Description
Current Problem
I would like to iterate over all the odd couplers, internal and external couplers, while creating a problem.
It would be convenient if there is a DWaveSampler attribute that could return this.
Proposed Solution
Similar to qpu.edgelist where qpu is a DWaveSampler, it would be convenient to have qpu.odd_coupler_edgelist or some other solution that could filter the qpu.edgelist to only the ones with odd couplers. Im not sure if something like this already exists.
Alternatives Considered
Create a function recognise_coupler_type(q0 : int, q1 : int) -> CouplerType that does the classification and use this to filter the qpu.edge_list as needed.
This issue was moved from dwavesystems/dwave-ocean-sdk#340