Skip to main content

Python tools for Jaqal (extras)

Project description

JaqalPaq-Extras

JaqalPaq-Extras contains extensions to the JaqalPaq python package, which itself is used to parse, manipulate, emulate, and generate quantum assembly code written in Jaqal (Just another quantum assembly language). The purpose of JaqalPaq-Extras is to facilitate the conversion of programs written in other quantum assembly languages into Jaqal circuit objects in JaqalPaq. JaqalPaq-Extras is supported on a "best effort" basis, and quality cannot be guaranteed.

Because some other quantum assembly languages do not support explicit scheduling as Jaqal does, JaqalPaq-Extras also contains some basic quantum circuit scheduling routines. Furthermore, to facilitate execution on the QSCOUT (Quantum Scientific Computing Open User Testbed) platform, JaqalPaq-Extras also includes extensions for third-party quantum software toolchains that support the QSCOUT hardware model (including its native gate set and scheduling constraints). In summary, JaqalPaq-Extras contains the following functionalities:

  • Conversion of quantum assembly data structures into JaqalPaq circuit objects from:
  • Basic routines for scheduling unscheduled quantum assembly programs.
  • Extensions to these packages above, as needed, to support the QSCOUT hardware model.

Installation

JaqalPaq-Extras is available on GitLab. It requires JaqalPaq to be installed first, which is also available on GitLab. JaqalPaq-Extras requires JaqalPaq itself to be installed first. Both JaqalPaq and its extensions can be installed with pip:

pip install jaqalpaq
pip install jaqalpaq-extras

If only the scheduler will be used, there are no other dependencies. However, to make use of the transpiler subpackages, one or more other software toolchains must be installed. As of this writing, all five supported toolchains can be installed via pip as follows, with the supported versions of these packages indicated:

pip install qiskit>=0.27.0,<1.2.0
pip install pyquil>=2.21.0,<4.9.0
pip install cirq>=0.11.0,<1.5.0
pip install projectq>=0.5.1,<0.9.0
pip install pytket>=1.0.1,<2.0.0

Additionally, a gate-set specification is required for all of the transpiler subpackages. Currently, we provide the QSCOUT native gate models, which is also available on GitLab and can be installed via pip:

pip install qscout-gatemodels

Documentation

Online documentation is hosted on Read the Docs.

License

Apache 2.0

Questions?

For help and support, please contact qscout@sandia.gov.

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

jaqalpaq_extras-1.3.0.tar.gz (47.2 kB view details)

Uploaded Source

Built Distribution

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

jaqalpaq_extras-1.3.0-py3-none-any.whl (62.3 kB view details)

Uploaded Python 3

File details

Details for the file jaqalpaq_extras-1.3.0.tar.gz.

File metadata

  • Download URL: jaqalpaq_extras-1.3.0.tar.gz
  • Upload date:
  • Size: 47.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for jaqalpaq_extras-1.3.0.tar.gz
Algorithm Hash digest
SHA256 9aa89f730eb967646836c755a22502bc473aaefa2fc12d5a4e26489680f34d7a
MD5 b8f7234117eb14facfc8ca37f760d106
BLAKE2b-256 da1aae9edd338337070d3c7fedd46e38144ba2eeeb43bc2e2173d9a2550b1f58

See more details on using hashes here.

File details

Details for the file jaqalpaq_extras-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jaqalpaq_extras-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a50cc3b0cffdeb7369086241e2f02a35bb3c284ab9478048c57bb5a59260ab04
MD5 880cdb44fc24effa7b774033217dd529
BLAKE2b-256 53e956ead38a39195537dffe3107bc312bec35ce42c4e0b26ef926d82f66be31

See more details on using hashes here.

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