Software development kit for Pasqal cloud platform.
Project description
pasqal-cloud
pasqal-cloud is a Python package to execute Pulser sequences on Pasqal infrastructure.
Installation
pip install pasqal-cloud
Quickstart
# Retrieve all QPU devices
devices = connection.fetch_available_devices()
device = devices["FRESNEL_CAN1"]
# Create a register of trapped atoms before performing operation on them
register = Register.square(5, 5).with_automatic_layout(device)
# Declare the sequence of pulses to perform on the register
sequence = Sequence(register, device)
sequence.declare_channel("rydberg", "rydberg_global")
omega_max = sequence.declare_variable("omega_max")
# Add a pulse to that channel with the amplitude omega_max
generic_pulse = Pulse.ConstantPulse(100, omega_max, 2, 0.0)
sequence.add(generic_pulse, "rydberg")
# Declare a backend based on the sequence and remote connection
backend = QPUBackend(sequence=sequence, connection=connection)
# Run jobs with different arguments over the same sequence and register
results = backend.run(
job_params=[
{"runs": 5, "variables": {"omega_max": 12}},
{"runs": 10, "variables": {"omega_max": 6}},
],
wait=True,
)
print(results.results)
Documentation
For full usage guides, authentication options, emulator configuration, and API reference, visit the Github Pages documentation or the Pasqal documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pasqal_cloud-0.23.0.tar.gz.
File metadata
- Download URL: pasqal_cloud-0.23.0.tar.gz
- Upload date:
- Size: 43.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d76b1678fd84421be0aca0351beae5ee2086286fa238f26a1ef399685a4bec8
|
|
| MD5 |
217f352d75341626d2d4a73b21595222
|
|
| BLAKE2b-256 |
ec1aba2b702f2fb988501171d9b045c5cdd0086e9be3dc3fe372cb8746a7c991
|
Provenance
The following attestation bundles were made for pasqal_cloud-0.23.0.tar.gz:
Publisher:
publish-to-testpypi-and-pypi.yml on pasqal-io/pasqal-cloud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pasqal_cloud-0.23.0.tar.gz -
Subject digest:
8d76b1678fd84421be0aca0351beae5ee2086286fa238f26a1ef399685a4bec8 - Sigstore transparency entry: 2022750033
- Sigstore integration time:
-
Permalink:
pasqal-io/pasqal-cloud@3417a367e3da1e6c54f0bf63764c6b454caadb34 -
Branch / Tag:
refs/tags/0.23.0 - Owner: https://github.com/pasqal-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-testpypi-and-pypi.yml@3417a367e3da1e6c54f0bf63764c6b454caadb34 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pasqal_cloud-0.23.0-py3-none-any.whl.
File metadata
- Download URL: pasqal_cloud-0.23.0-py3-none-any.whl
- Upload date:
- Size: 52.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba92672e887b08e145d052d1d6287f2eca7a5c431a31ddd3fc10fda6c4f73240
|
|
| MD5 |
bc3cf851133bd377bdcbe9896437856a
|
|
| BLAKE2b-256 |
602c9d0dda1c7d0b6fbf63d89a79084f19a017cfcd82baf786eda06f2e1320b6
|
Provenance
The following attestation bundles were made for pasqal_cloud-0.23.0-py3-none-any.whl:
Publisher:
publish-to-testpypi-and-pypi.yml on pasqal-io/pasqal-cloud
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pasqal_cloud-0.23.0-py3-none-any.whl -
Subject digest:
ba92672e887b08e145d052d1d6287f2eca7a5c431a31ddd3fc10fda6c4f73240 - Sigstore transparency entry: 2022750327
- Sigstore integration time:
-
Permalink:
pasqal-io/pasqal-cloud@3417a367e3da1e6c54f0bf63764c6b454caadb34 -
Branch / Tag:
refs/tags/0.23.0 - Owner: https://github.com/pasqal-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-testpypi-and-pypi.yml@3417a367e3da1e6c54f0bf63764c6b454caadb34 -
Trigger Event:
push
-
Statement type: