MCPcopy Create free account
hub / github.com/dwavesystems/dwave-cloud-client / time_encode_qp

Method time_encode_qp

benchmarks/benchmarks.py:164–165  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

162 self.bqm = dimod.BQM.from_ising(*self.problem)
163
164 def time_encode_qp(self, key):
165 encode_problem_as_qp(self.solver, *self.problem)
166
167 def time_encode_qp_from_bqm(self, key):
168 encode_problem_as_qp(self.solver, self.bqm.linear, self.bqm.quadratic)

Callers

nothing calls this directly

Calls 1

encode_problem_as_qpFunction · 0.90

Tested by

no test coverage detected