Skip to content
Pasqal Documentation

Results are limited to the current section : pulser

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)