Open conquistador1492 opened 5 years ago
stitch(..)
calls on dwavesystems/penaltymodel repo to help build the bqm. The penaltymodel is interested in making the gap between excited states and ground states as large as possible, but currently, it does not make the effort to shift the bqm so that the ground is always at 0.
Hence, this issue is not a bug, but it would be a great candidate for code enhancement.
stitch
function returns BQM with non-zero energy of ground state for constraint with 1 or 2 variables. In 3 and more variables cases, everything is fine(below I give examples). I'm not sure it's a bug, but zero energy might be useful if somebody combines many different constraints. Then, they may be assured that the final state has zero energy.As a result, we get:
Environment