dwave.system.warnings.WarningHandler.energy_scale#
- WarningHandler.energy_scale(bqm)[source]#
Issue a warning if the energy scale is too wide.
Issues a warning if some biases are \(10^3\) times stronger than others.
- Parameters:
bqm (
BinaryQuadraticModel
, tuple) – A binary quadratic model or a tuple of either the form(Q)
, whereQ
is a QUBO-dictionary, or the form(h, J)
, whereh
andJ
are Ising problem dictionaries.