Skip to main content

PennyLane plugin for Qrack.

Project description

The PennyLane-Qrack plugin integrates the Qrack quantum computing framework with PennyLane’s quantum machine learning capabilities.

This plugin is addapted from the PennyLane-Qulacs plugin, under the Apache License 2.0, with many thanks to the original developers!

PennyLane is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.

unitaryfund/qrack (formerly vm6502q/qrack) is a software library for quantum computing, written in C++ and with GPU support.

PennyLane Catalyst provides optional quantum just-in-time (QJIT) compilation, for improved performance.

Features

  • Provides access to a PyQrack simulator backend via the qrack.simulator device

  • Provides access to a (C++) Qrack simulator backend for Catalyst (also) via the qrack.simulator device

Installation

This plugin requires Python version 3.9 or above, as well as PennyLane and the Qrack library.

Installation of this plugin as well as all its Python dependencies can be done using pip (or pip3, as appropriate):

$ pip3 install pennylane-qrack

This step should automatically build the latest main branch Qrack library, for Catalyst support, if Catalyst support is available.

Dependencies

PennyLane-Qrack requires the following libraries be installed:

as well as the following Python packages:

with optional functionality provided by the following Python packages:

If you currently do not have Python 3 installed, we recommend Anaconda for Python 3, a distributed version of Python packaged for scientific computation.

Tests

To test that the PennyLane-Qrack plugin is working correctly you can run

$ make test

in the source folder.

Contributing

We welcome contributions - simply fork the repository of this plugin, and then make a pull request containing your contribution. All contributers to this plugin will be listed as authors on the releases.

We also encourage bug reports, suggestions for new features and enhancements, and even links to cool projects or applications built on PennyLane.

Authors

PennyLane-Qrack has been directly adapted by Daniel Strano from PennyLane-Qulacs. PennyLane-Qulacs is the work of many contributors.

If you are doing research using PennyLane and PennyLane-Qulacs, please cite their paper:

Ville Bergholm, Josh Izaac, Maria Schuld, Christian Gogolin, M. Sohaib Alam, Shahnawaz Ahmed, Juan Miguel Arrazola, Carsten Blank, Alain Delgado, Soran Jahangiri, Keri McKiernan, Johannes Jakob Meyer, Zeyue Niu, Antal Száva, and Nathan Killoran. PennyLane: Automatic differentiation of hybrid quantum-classical computations. 2018. arXiv:1811.04968

Support

If you are having issues, please let us know by posting the issue on our Github issue tracker, or by asking a question in the forum.

License

The PennyLane-Qrack plugin is free and open source, released under the Apache License, Version 2.0.

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

pennylane_qrack-0.8.5.tar.gz (1.7 MB view details)

Uploaded Source

Built Distributions

pennylane_qrack-0.8.5-py3-none-win_amd64.whl (22.2 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.8.5-py3-none-manylinux_2_39_x86_64.whl (1.7 MB view details)

Uploaded Python 3 manylinux: glibc 2.39+ x86-64

pennylane_qrack-0.8.5-py3-none-manylinux_2_35_x86_64.whl (1.7 MB view details)

Uploaded Python 3 manylinux: glibc 2.35+ x86-64

pennylane_qrack-0.8.5-py3-none-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded Python 3 manylinux: glibc 2.31+ x86-64

pennylane_qrack-0.8.5-py3-none-macosx_14_0_arm64.whl (1.0 MB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.8.5-py3-none-macosx_13_0_x86_64.whl (1.1 MB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.8.5-py3-none-macosx_12_0_x86_64.whl (1.0 MB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

Details for the file pennylane_qrack-0.8.5.tar.gz.

File metadata

  • Download URL: pennylane_qrack-0.8.5.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pennylane_qrack-0.8.5.tar.gz
Algorithm Hash digest
SHA256 5d2eb5e9d9c0eba4571820d1421de3bb3ac57637ddb03a5bdec65e5160003c68
MD5 52fa5c68533a46699f5f0bda547ff35f
BLAKE2b-256 def4805b7bf70fb52878be6e65c0415969d57bf5d48863400eda15d393cd7135

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.8.5-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.8.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 40095770a418c858712b3f3ab254323e341e22ad3308d49f2f1a99c7e252a98e
MD5 0d40c529195cadf7ae0cab0d865e1597
BLAKE2b-256 a738ccdad084aa83911f8d0f78ece0d6cf4300da72a573a2f7f3fcca09607e3a

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.8.5-py3-none-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.8.5-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 fbf7ea45847ce2611a5e2d739ae1f65f77bfd763c397447c05ef153078c7c712
MD5 36ab9772832ede2c534c5304c19abd9e
BLAKE2b-256 f0b83d5a8637482c71f281be63ffbb6434da92a4396c10edbfd484c399c675b5

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.8.5-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.8.5-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 f2bbfb50c3d7138a7bce7550ec3f4a7ba095b3b08c795041ed5c7078bc94306e
MD5 60d807d134cfb48f1dccdcc98fb1c37d
BLAKE2b-256 b08c642edfc9e25a76b06c8f1890434921605b2b30150e20a82b74d4312f7afc

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.8.5-py3-none-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.8.5-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bc928c595f587dbf327200de61cf9ead93c3a32dbe397a982c44e794df5a6a16
MD5 5a118b0962c3fc3c2600b0e8ea7ff5d1
BLAKE2b-256 5989d1b03a2de45fe08fa717b48aa1708b9576b0d33040c97927e1633e757508

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.8.5-py3-none-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.8.5-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e19f141274ed76460cf698f90bd1358487ffed22b593db05f584edbecb9bd478
MD5 263f76efc9f00aa84cf5a751513d43e5
BLAKE2b-256 b2ea2c68fbf7a1aab2e6f7ac6ef8847b5889bcb59b3941976268c77f52020268

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.8.5-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.8.5-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 acd8169998ca2470b021a17945c382a1ddbd89454f41e8a4191e621ae7f679ce
MD5 6807b4eadcb363498a7fdc7104be1432
BLAKE2b-256 5a6e67e17681f6228421df95d4e4f3ecf3a707b4da43c267fde70bda32ef8501

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.8.5-py3-none-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.8.5-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 57bc807dbefbe30361275ebb9a21f0c95ff474ff58bc7f8fbcc63a73105f7a23
MD5 6a38dc16836f978a09f0ca19dc1f2b45
BLAKE2b-256 88d085cd2d8c7f4a8788c7b6946ced9b33d5f2cbefe5cea023bc7a0b302e3631

See more details on using hashes here.

Supported by

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