Skip to content

[feat] Expose filtered edgelist based on coupler type #253

@iamashwin99

Description

@iamashwin99

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions