Skip to content
Pasqal Documentation

EmulatorBackend

class pulser.backend.EmulatorBackend(sequence, *, config=None, mimic_qpu=False)

Bases: Backend

The emulator backend parent class.

Attributes

default_config

Methods

run

Executes the sequence on the backend.

validate_config

Validates a given configuration for this backend.

validate_sequence

Validates a sequence prior to submission.

Signatures

abstract run()

Executes the sequence on the backend.

Return type:

Results | Sequence[Results]

classmethod validate_config(config)

Validates a given configuration for this backend.

Parameters:

config (EmulationConfig) – The configuration to validate.

Return type:

EmulationConfig

Returns:

The full configuration that will be used by the backend if the given configuration passes validation.

static validate_sequence(sequence, mimic_qpu=False)

Validates a sequence prior to submission.

Return type:

None