squlearn.util.executor.ExecutorSampler

class squlearn.util.executor.ExecutorSampler(executor: Executor, options=None)

A class that creates a sampler primitive that wraps a Primitives instance.

Parameters:
  • executor (Executor) – The Primitives instance to wrap.

  • options – Options for the sampler

Returns:

A sampler primitive that wraps the Primitives instance.