Skip to content

SamplerOptions

Bases: BaseModel

Options for the sampler.

Source code in q3as/run_options.py
class SamplerOptions(BaseModel):
    """
    Options for the sampler.
    """

    shots: int = 1024
    "Number of shots for the sampler."

shots: int = 1024 class-attribute instance-attribute

Number of shots for the sampler.