Skip to content

RunOptions

Bases: BaseModel

Options for running in the cloud.

Source code in q3as/run_options.py
class RunOptions(BaseModel):
    """
    Options for  running in the cloud.
    """

    backend: BackendName = "auto"
    "Name of the backend to use. See `q3as.run_options.BackendName` for possible values."
    sampler: SamplerOptions = SamplerOptions()
    "Options for the sampler."
    estimator: EstimatorOptions = EstimatorOptions()
    "Options for the estimator."

backend: BackendName = 'auto' class-attribute instance-attribute

Name of the backend to use. See q3as.run_options.BackendName for possible values.

estimator: EstimatorOptions = EstimatorOptions() class-attribute instance-attribute

Options for the estimator.

sampler: SamplerOptions = SamplerOptions() class-attribute instance-attribute

Options for the sampler.