dwave_networkx.utils.decorators.binary_quadratic_model_sampler#

binary_quadratic_model_sampler(which_args)[source]#

Decorator to validate sampler arguments.

Parameters:

which_args (int or sequence of ints) – Location of the sampler arguments of the input function in the form function_name(args, *kw). If more than one sampler is allowed, can be a list of locations.