dimod icon indicating copy to clipboard operation
dimod copied to clipboard

Expose `add_quadratic_from_dense()` method for BQM and QM

Open arcondello opened this issue 4 years ago • 1 comments

There are times where it would be convenient to add quadratic biases from a large dense array to a BQM or QM. There is currently an internal method .add_quadratic_from_dense() that could be cleaned up and exposed via the python interface.

arcondello avatar Sep 20 '21 16:09 arcondello

Also add performant addition of linear and quadratic biases from arrays.

arcondello avatar Dec 22 '21 00:12 arcondello