pasqal_cloud.pasqal_cloud_connection
Allows to connect to PASQAL's cloud platform to run sequences.
PasqalCloudConnection(username='', password='', project_id='', region='fr', **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.
| PARAMETER | DESCRIPTION |
|---|---|
username
|
Your username in the PASQAL cloud platform.
TYPE:
|
password
|
The password for your PASQAL cloud platform account.
TYPE:
|
project_id
|
The project ID associated to the account.
TYPE:
|
kwargs
|
Additional arguments to provide to the PasqalCloudClient()
TYPE:
|
Initializes a connection to the Pasqal cloud platform.
Source code in pasqal_cloud/pasqal_cloud_connection.py
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.
Source code in pasqal_cloud/pasqal_cloud_connection.py
fetch_available_devices()
Fetches the devices available through this connection.
Source code in pasqal_cloud/pasqal_cloud_connection.py
get_results(batch_id, job_ids=None)
Gets the results for a specific batch.
| PARAMETER | DESCRIPTION |
|---|---|
batch_id
|
The ID that identifies the batch linked to the results.
TYPE:
|
job_ids
|
If given, specifies which jobs within the batch should be included in the results and in what order. If left undefined, all jobs are included and ordered by date of creation.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
RemoteResults
|
The requested results.
TYPE:
|
