dwave.system.composites.PolyCutOffComposite.sample_hising¶
-
PolyCutOffComposite.
sample_hising
(h: Mapping[Hashable, Union[float, numpy.floating, numpy.integer]], J: Mapping[Tuple[Hashable, Hashable], Union[float, numpy.floating, numpy.integer]], **kwargs) → dimod.sampleset.SampleSet¶ 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