You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parameter is described as "coupling strength". I would expect that it either
Applies the sign passed (your sampler could be a maximizer)
Assumes minimization: It accepts any number and enforces the sign by taking abs of the input.
The current scheme where the sign is flipped is unexpected
The text was updated successfully, but these errors were encountered:
pau557
changed the title
embed_bqm silently assumes chain strength to be a positive number
embed_bqm silently assumes that chain_strength is a positive number
Jul 30, 2024
I think silently correcting it would be the more unexpected behavior. So IMO the current behavior, while slightly strange, is consistent and easy to explain. So if we were to make a change, it would be to raise an error.
dwave-system/dwave/embedding/transforms.py
Lines 274 to 278 in b233941
embed_bqm
assumes a positive sign forchain_strength
:Output:
The parameter is described as "coupling strength". I would expect that it either
abs
of the input.The current scheme where the sign is flipped is unexpected
The text was updated successfully, but these errors were encountered: