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
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
DWaveSamplerattribute that could return this.Proposed Solution
Similar to
qpu.edgelistwhereqpuis aDWaveSampler, it would be convenient to haveqpu.odd_coupler_edgelistor 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) -> CouplerTypethat does the classification and use this to filter theqpu.edge_listas needed.This issue was moved from dwavesystems/dwave-ocean-sdk#340