dwavesystems / dwave-neal

An implementation of a simulated annealing sampler for general Ising model graphs in C++ with a dimod Python wrapper.
https://docs.ocean.dwavesys.com/projects/neal/en/latest
Apache License 2.0
50 stars 44 forks source link

Use latest dimod features #78

Closed arcondello closed 4 years ago

arcondello commented 4 years ago

Requires https://github.com/dwavesystems/dimod/pull/644

Note that this is a backwards compatibility breaking change:

Also note that this uses BQM.to_numpy_vectors which is optimized on cyBQMs but still requires an intermediate copy. In principle this could all be done with dimod's internal c++ representation.