Skip to content
Pasqal Documentation

OVHConnection

class pulser_pasqal.OVHConnection(**kwargs)

Bases: PasqalCloud

PasqalCloud connection designed for OVH users.

This connection class enables OVH users to access Pasqal Cloud services. Authentication is handled via a token that must be provided through the PASQAL_PULSER_ACCESS_TOKEN environment variable.

Raises:
  • MissingEnvironmentVariableError – If PASQAL_PULSER_ACCESS_TOKEN

  • environment variable is not set.

Methods

fetch_available_devices

Fetches the devices available through this connection.

submit

Submits the sequence for execution on a remote Pasqal backend.

supports_open_batch

Flag to confirm this class cannot support creating an open batch.

update_sequence_device

Match the Sequence's device with an available one, update it.

Signatures

fetch_available_devices()

Fetches the devices available through this connection.

Return type:

dict[str, Device]

submit(sequence, wait=False, open=False, batch_id=None, device_type=None, backend_configuration=None, **kwargs)

Submits the sequence for execution on a remote Pasqal backend.

Return type:

RemoteResults

supports_open_batch()

Flag to confirm this class cannot support creating an open batch.

Return type:

bool

update_sequence_device(sequence)

Match the Sequence’s device with an available one, update it.

Parameters:

sequence (Sequence) – The Sequence to check.

Return type:

Sequence

Returns:

The Sequence, with the latest version for the targeted Device.