PennyLane plugin for Qrack.
Project description
The PennyLane-Qrack plugin integrates the Qrack quantum computing framework with PennyLane’s quantum machine learning capabilities.
Performance can benefit greatly from following the Qrack repository “Quick Start” and “Power user considerations.”
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
Provides access to a PyQrack near-Clifford simulator backend via the qrack.stabilizer device
Provides access to a PyQrack simulator backend optimized for large-scale approximate simulation via the qrack.ace 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pennylane_qrack-0.28.1.tar.gz.
File metadata
- Download URL: pennylane_qrack-0.28.1.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b7512ff1ea6cf54ce9c5f79e195fed57bbbecc5e02a8a8cfd23e670de25c108
|
|
| MD5 |
66cef6827ed1883c680dfeac23e561fc
|
|
| BLAKE2b-256 |
a64e9d4c90e5dc40effeb194a419b04855ac4af7000c77244a873c9b327ac6ff
|
File details
Details for the file pennylane_qrack-0.28.1-py3-none-win_amd64.whl.
File metadata
- Download URL: pennylane_qrack-0.28.1-py3-none-win_amd64.whl
- Upload date:
- Size: 34.3 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b70627e0abad75792de6aaf22d073523a2d7042ac82c4e8ddc19cd50bc746318
|
|
| MD5 |
565acbcf57591f23f6fa02f7e2052449
|
|
| BLAKE2b-256 |
f6d4bf77e2b933a36040dde779e2f27ecc33de872d6b8dfb1657195defff4742
|
File details
Details for the file pennylane_qrack-0.28.1-py3-none-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: pennylane_qrack-0.28.1-py3-none-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b9254ce9efcfb7888f07fd1f75a79abb71943736393c9af41a3b2c1cd5b3550
|
|
| MD5 |
f655010161dd4637eab8e8a3b739084d
|
|
| BLAKE2b-256 |
4e9a3d18d10d6064a1fc5b071cdd764eb2ab3b70e7fa17bb45f05aec3bdb51eb
|
File details
Details for the file pennylane_qrack-0.28.1-py3-none-manylinux_2_35_x86_64.whl.
File metadata
- Download URL: pennylane_qrack-0.28.1-py3-none-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25d582395c6ca10548e30ff9315b8355608b74ff12f5bb5a26f433684c00e28c
|
|
| MD5 |
55ccf6dba3dbce9ff6825d32968c3b1e
|
|
| BLAKE2b-256 |
0376fb566670f0c784b9a68160051aac61c73c41f3c596899481c4b03a3aaa7f
|
File details
Details for the file pennylane_qrack-0.28.1-py3-none-macosx_15_0_x86_64.whl.
File metadata
- Download URL: pennylane_qrack-0.28.1-py3-none-macosx_15_0_x86_64.whl
- Upload date:
- Size: 945.9 kB
- Tags: Python 3, macOS 15.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34308c7dc269d6992383397fa2cc64b3c5f0685cd1c9db9b5f0d988340eb40b4
|
|
| MD5 |
a24c469a8f8a3f7a3bb4d794c49b981f
|
|
| BLAKE2b-256 |
04071f7ca4405e147a360d50e989b62c5c5fba174d9cc468e953725e92f2798c
|
File details
Details for the file pennylane_qrack-0.28.1-py3-none-macosx_15_0_arm64.whl.
File metadata
- Download URL: pennylane_qrack-0.28.1-py3-none-macosx_15_0_arm64.whl
- Upload date:
- Size: 903.6 kB
- Tags: Python 3, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7bde96c52de8d5fb254ea7e757189acc140bad4f3ff31d91a5bbd743838964d
|
|
| MD5 |
2e0872d8d03cb79ea9bc875bbcae12fc
|
|
| BLAKE2b-256 |
1c53c95050df6331b0079507e3ed7749ad1d9fdbd0eb6fbd5df4efa73fcfa88c
|
File details
Details for the file pennylane_qrack-0.28.1-py3-none-macosx_14_0_arm64.whl.
File metadata
- Download URL: pennylane_qrack-0.28.1-py3-none-macosx_14_0_arm64.whl
- Upload date:
- Size: 917.3 kB
- Tags: Python 3, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
516cccb4b48a96b9be182d890b329476f792d0a460a8fad419bd1d8ae3fbde65
|
|
| MD5 |
dc8ca3c5a4119d8705efa88e1c2546c6
|
|
| BLAKE2b-256 |
240ebbb70d3971788cc233d95aed37b47dd3424aece9f5d7d31517b2c7e10f44
|