hstack_samplesets(base, *others, **kwargs)[source]

Horizontally combine samples in base sampleset with samples in all the other samplesets provided in *others.

Set of variables in the resulting sampleset is union of all variables in all joined samplesets.

Number of samples in the resulting sampleset is set to the number of samples in the smallest input sampleset.

Resulting sampleset inherits vartype from bqm (or base sampleset if bqm is undefined), and has energy calculated on bqm (or zero if bqm is undefined).