Skip to content

Results are limited to Pulser v1.6.6

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

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