Skip to content

Raise a more informative error message when passing BQM to DQM sampler #375

Open
@arcondello

Description

@arcondello

Currently LeapHybridDQMSampler().sample_dqm(bqm) raises AttributeError: 'BinaryQuadraticModel' object has no attribute 'num_variable_interactions', this should be more informative.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions