Open pau557 opened 3 months ago
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.
In that case, the docstring should explain that the embedded chain coupler will be -1 * chain_strength
Agreed. Want to make the PR?
https://github.com/dwavesystems/dwave-system/blob/b233941673cda08c194d769b067ab06ce43ea077/dwave/embedding/transforms.py#L274-L278
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