dimod.reference.composites.tracking.TrackingComposite.sample_qubo¶
-
TrackingComposite.sample_qubo(*args, **kwargs)[source]¶ Sample from the child sampler and store the given inputs/outputs.
The binary quadratic model and any parameters are stored in
inputs. The returned sample set is stored inoutputs.Parameters: - Q (dict) – Coefficients of a quadratic unconstrained binary optimization (QUBO) problem. Should be a dict of the form {(u, v): bias, …} where u, v, are binary-valued variables and bias is their associated coefficient.
- **kwargs – Parameters for the sampling method, specified by the child sampler.
Returns: