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:
Catalyst >= 0.7
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.
Support
Source Code: https://github.com/vm6502q/pennylane-qrack
Issue Tracker: https://github.com/vm6502q/pennylane-qrack/issues
PennyLane Forum: https://discuss.pennylane.ai
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
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 Distributions
Hashes for pennylane_qrack-0.7.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fce2a6f071a313061d03c5925a5cd0c27b1da233ed42a07168aedcb04bc42f7f |
|
MD5 | 9e915042c13e3211b49803df710b2e35 |
|
BLAKE2b-256 | 1bd3ec575d8fb42a6766759c9c0380f58169bdc881cdbd956a6c47f482b66ccc |
Hashes for pennylane_qrack-0.7.0-py3-none-manylinux_2_39_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02952411c24e9b30b18f690744937c0f7f6328cda2bd42fb29af0a5cb70a0d0a |
|
MD5 | bfc97ab2dc467c266fd6a10189776c2e |
|
BLAKE2b-256 | 0c91c16d9b466661cd5b6fe1756e66e30ae2e913ce8673a86a0a50e973727f5b |
Hashes for pennylane_qrack-0.7.0-py3-none-manylinux_2_35_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9edc9b2a7ae8b7aff9953d72ab9a0ea42d26b6b8e7b1a91f400ca90dfc7f988 |
|
MD5 | bdfdf04394bcaf06f6d132b50562cd0c |
|
BLAKE2b-256 | b536f23b8a6e5a6bb8c1608cdc48815b85954f99d22da999202281ba010d48a3 |
Hashes for pennylane_qrack-0.7.0-py3-none-manylinux_2_31_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f2765e017884b4210f5ea4a95d5899cc7df33fe63c9b6145914803d9c4d2467 |
|
MD5 | e83fae31efe4e2af5e43483124b9e3ac |
|
BLAKE2b-256 | 1bbcb7b4c6ce5c8e8fd71766f3438537f6a99635ad30220c7da579fb25417465 |
Hashes for pennylane_qrack-0.7.0-py3-none-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eca06a20b2ec10833db3b79000874672bf970b409e6f27f68e7d400f87ae73d3 |
|
MD5 | 2dbfe9f1fa60e85492af080b083b9732 |
|
BLAKE2b-256 | a8b481ac949139bc516ec4707a5d3f952ee3119ea878086182bab0dc3a12794d |
Hashes for pennylane_qrack-0.7.0-py3-none-macosx_13_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2d7ce04c9c6b25701815099ba031464f1f5730eb4510194868e0ab0aeaa6c3c |
|
MD5 | 791ea88c773a4f1659e26b35f82fd1dd |
|
BLAKE2b-256 | 5af46377fd77d3f1f3000b27641063759a50387062a4817cf037af1cb0a074c3 |
Hashes for pennylane_qrack-0.7.0-py3-none-macosx_12_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1942f2294c9a8f91a1af11786a8f2b139e030ea9f22e956997ee5535b796be56 |
|
MD5 | 4afeed034af0acefd2d8bb1f90222c83 |
|
BLAKE2b-256 | 831fa919a0c075197960be9d05375d9f838ecb3c44ed9afc2febd4b76de6aff3 |