Since sampler.sample didn't complain about type mismatch I assume that it does accept CQM and this is a bug triggered by CQM only having linear terms in it, and not having quadratic terms.
To Reproduce
n/a
Expected behavior
n/a
Environment:
OS: FreeBSD 13.1
Python version:3.9
py39-dwave-cloud-client-0.10.1 DWave: REST interface to communicate with D-Wave Solver API servers
py39-dwave-greedy-0.2.5 DWave: Greedy binary quadratic model solvers
py39-dwave-hybrid-0.6.8 DWave: Hybrid asynchronous decomposition sampler prototype framework
py39-dwave-inspector-0.3.0 DWave: Problem Inspector
py39-dwave-neal-0.6.0.d0 DWave: Simulated annealing sampler for general Ising model graphs
py39-dwave-networkx-0.8.12 DWave: Extension of the NetworkX Python package for graphs
py39-dwave-ocean-sdk-5.3.0 DWave: Meta-package for D-Wave's Ocean tools
py39-dwave-preprocessing-0.4.0_1 DWave: Preprocessing tools to aid in solving binary quadratic models
py39-dwave-samplers-1.0.0.d1 DWave: Classical algorithms for solving binary quadratic models
py39-dwave-system-1.15.0 DWave: API for incorporating the D-Wave system as a sampler
py39-dwave-tabu-0.4.5 DWave: Tabu solver for QUBO/Ising problems
py39-dwavebinarycsp-0.2.0 DWave: Map CSP with binary variables to binary quadratic models
Description This program:
fails:
Since
sampler.sample
didn't complain about type mismatch I assume that it does accept CQM and this is a bug triggered by CQM only having linear terms in it, and not having quadratic terms.To Reproduce n/a
Expected behavior n/a
Environment: