dwave.system.composites.PolyCutOffComposite.sample_hising#
- PolyCutOffComposite.sample_hising(h: Mapping[Hashable, float | floating | integer], J: Mapping[tuple[Hashable, Hashable], float | floating | integer], **kwargs) SampleSet [source]#
Sample from a higher-order Ising model.
Converts the given higher-order Ising model to a
BinaryPolynomial
and callssample_poly()
.- Parameters:
h – Variable biases of the Ising problem.
J – Interaction biases of the Ising problem.
**kwargs – See
sample_poly()
for additional keyword definitions.
- Returns:
Samples from the higher-order Ising model.
See also