uniform_torque_compensation(bqm, embedding=None, prefactor=1.414)¶
Chain strength that attempts to compensate for torque that would break the chain.
The RMS of the problem’s quadratic biases is used for calculation.
BinaryQuadraticModel) – A binary quadratic model.
EmbeddedStructure, default=None) – Included to satisfy the chain_strength callable specifications for embed_bqm.
prefactor (float, optional, default=1.414) – Prefactor used for scaling. For non-pathological problems, the recommended range of prefactors to try is [0.5, 2].
The chain strength, or 1 if chain strength is not applicable.
- Return type