Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pasqal_cloud-0.23.0.tar.gz (43.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pasqal_cloud-0.23.0-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

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

Hashes for pasqal_cloud-0.23.0.tar.gz
Algorithm Hash digest
SHA256 8d76b1678fd84421be0aca0351beae5ee2086286fa238f26a1ef399685a4bec8
MD5 217f352d75341626d2d4a73b21595222
BLAKE2b-256 ec1aba2b702f2fb988501171d9b045c5cdd0086e9be3dc3fe372cb8746a7c991

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pasqal_cloud-0.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba92672e887b08e145d052d1d6287f2eca7a5c431a31ddd3fc10fda6c4f73240
MD5 bc3cf851133bd377bdcbe9896437856a
BLAKE2b-256 602c9d0dda1c7d0b6fbf63d89a79084f19a017cfcd82baf786eda06f2e1320b6

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page