dwave.system.composites.EmbeddingComposite.sample_ising

EmbeddingComposite.sample_ising(h, J, **parameters)[source]

Sample from the provided unstructured Ising model.

Parameters:
  • h (list/dict) – Linear terms of the model.
  • J (dict of (int, int) – float): Quadratic terms of the model.
  • **parameters – Parameters for the sampling method, specified by the child sampler.
Returns:

dimod.Response