hybrid.core.State.from_problem#

classmethod State.from_problem(bqm, samples=None, **kwargs)[source]#

Convenience method for constructing a state from (possibly only) a BQM.