Skip to content

Results are limited to Pulser v1.9.1

Product news
You are reading Pulser v1.9.1, an older version of this documentation. Go to the latest version (v1.10.0)

BackendConfig

class pulser.backend.BackendConfig(*, default_num_shots=None, **backend_options)

Bases: object

The base backend configuration.

Parameters:

default_num_shots (int | None, default: None) – The default number of shots for the backend. Must be a strictly positive integer.

Note

Additional parameters may be provided. It is up to the backend that receives a configuration with extra parameters to assess whether it recognizes them and how it will use them.

Attributes

default_num_shots

Methods

with_changes

Returns a copy of the config with the given changes.

Signatures

with_changes(**changes)

Returns a copy of the config with the given changes.

Return type:

TypeVar(Self, bound= BackendConfig)