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.2.tar.gz (30.4 kB view details)

Uploaded Source

Built Distributions

pennylane_qrack-0.8.2-py3-none-win_amd64.whl (22.8 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.8.2-py3-none-manylinux_2_39_x86_64.whl (1.6 MB view details)

Uploaded Python 3 manylinux: glibc 2.39+ x86-64

pennylane_qrack-0.8.2-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.2-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.2-py3-none-macosx_14_0_arm64.whl (996.0 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.8.2-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.2-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.2.tar.gz.

File metadata

  • Download URL: pennylane_qrack-0.8.2.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • 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.2.tar.gz
Algorithm Hash digest
SHA256 b5af4e4fe143d26817f360e5804589b1b40c04da893ec1093cd834ce08e7fc29
MD5 f4d696d664a899e864378196eb943515
BLAKE2b-256 1534468034a2db75d306988d2b879c4e3c01a9d23fed28510b251f1c614356f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9cf1c35dde1c2cc15a251411f058efd4697e7d442075e552f7e087d911758bae
MD5 b03983f2757c3ca2731a3b01f441c1d6
BLAKE2b-256 7f820d86e74d2ab88bf312ea9ef4a93f727108036d5a4067d74b4300e3b61945

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.2-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 bcc0abbd346107bf587afdedfd5216f6ffee1f9588c26cfd29a98828ec87c70a
MD5 9fab58f99d61635a2cfec67a6b7b4551
BLAKE2b-256 111d2e920f31de2fda1574920d0d58bf60149133466deee6327e3642dee66c11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.2-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 f13cb661853d471ccc2f3aeadb7f18f93d946705661bfe6620ad5ee333ce9d1b
MD5 bd85a5d7a8436d11621e11a81c5693f9
BLAKE2b-256 8fed2f0f6def6b2c6ff6296d31d6efb8624e529161233b1609cd0df09c99d656

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.2-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 e30c7aee85134a59229b8114cd94e91ca4e314d5d218ec456d86566490a0746a
MD5 79a5c333281638f233d205f06512b40c
BLAKE2b-256 76e6afe6deb051ff38e7cf6869da8c34e8a152888f958e95f732e626aaeeb5ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.2-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 11e15d2a6b2f9995f47d438e286272418870edfc6b284a76bfb79cb53cd820b6
MD5 29b05b818e6ce70ba5141d34afd3d5d5
BLAKE2b-256 97846033073817d09527c55fcb17203d7bb6a426e61d2f1dd2ba6f29c47c8fb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.2-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bd97a07121ae39a0e19bb215d9138f4fac1f49b8080b2faba0b6b96e9db2dfb2
MD5 a2e2956b58962de8640b8b081b631950
BLAKE2b-256 62e0572d26212b33752ed607a4970073e76c65fd054955629be37d6f53a25676

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.2-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 0e129942320071d85510d49fca6493bdbb3be0fab3212671a9eb9904a7e6d663
MD5 83735318a4eb4f95db39bed835185c9a
BLAKE2b-256 1b9ba3e031c5a1c3ccf1b6f14f1304eb0ec7a0b76edc3fbea7f85f9026d6f7dd

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