DWaveCliqueSampler.sample(bqm, chain_strength=None, **kwargs)[source]

Sample from the specified binary quadratic model.

  • bqm (BinaryQuadraticModel) – Any binary quadratic model with up to largest_clique_size variables. This BQM is embedded using a clique embedding.

  • chain_strength (float, optional) – The (relative) chain strength to use in the embedding. By default a chain strength of 1.5sqrt(N) where N is the size of the largest clique, as returned by largest_clique_size.

  • **kwargs – Optional keyword arguments for the sampling method, specified per solver in parameters. D-Wave System Documentation’s solver guide describes the parameters and properties supported on the D-Wave system. Note that auto_scale is not supported by this sampler, because it scales the problem as part of the embedding process.