Skip to content
Pasqal Documentation

PasqalCloud

class pulser_pasqal.PasqalCloud(username='', password='', project_id='', **kwargs)

Bases: RemoteConnection

Manager of the connection to PASQAL’s cloud platform.

The cloud connection enables to run sequences on simulators or on real QPUs.

Parameters:
  • username (str, default: '') – Your username in the PASQAL cloud platform.

  • password (str, default: '') – The password for your PASQAL cloud platform account.

  • project_id (str, default: '') – The project ID associated to the account.

  • kwargs (Any) – Additional arguments to provide to the pasqal_cloud.SDK()

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 can 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, **kwargs)

Submits the sequence for execution on a remote Pasqal backend.

Return type:

RemoteResults

supports_open_batch()

Flag to confirm this class can 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.