dwavesystems / dwavesystems/dimod

Expose `add_quadratic_from_dense()` method for BQM and QM

Open
#1,007 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
143
Forks
91
Avg merge
1h 24m
Merged PRs (30d)
3

Description

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()`](https://github.com/dwavesystems/dimod/blob/1bfbd3c66641b0121d077fca2002a7c6cd0941be/dimod/binary/cybqm/cybqm_template.pyx.pxi#L273) that could be cleaned up and exposed via the python interface.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.