Skip to main content

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:

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.

Metadata

Release files for pennylane-qrack-cpu 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pennylane-qrack-cpu 1.2.0
File Size Uploaded
pennylane_qrack_cpu-1.2.0.tar.gz 37.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pennylane-qrack-cpu 1.2.0
File
pennylane_qrack_cpu-1.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
pennylane_qrack_cpu-1.2.0-py3-none-manylinux_2_39_x86_64.whl Python 3 none Linux glibc 2.39+ x86-64 Details
pennylane_qrack_cpu-1.2.0-py3-none-manylinux_2_35_x86_64.whl Python 3 none Linux glibc 2.35+ x86-64 Details
pennylane_qrack_cpu-1.2.0-py3-none-macosx_15_0_x86_64.whl Python 3 none macOS 15.0+ x86-64 Details
pennylane_qrack_cpu-1.2.0-py3-none-macosx_15_0_arm64.whl Python 3 none macOS 15.0+ ARM64 Details
pennylane_qrack_cpu-1.2.0-py3-none-macosx_14_0_arm64.whl Python 3 none macOS 14.0+ ARM64 Details

Total release size: 6.1 MB

Release files / pennylane_qrack_cpu-1.2.0.tar.gz

Download URL pennylane_qrack_cpu-1.2.0.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9096c7ab31744155f01d689566dfe95b7f1e893a1ba87185b41501454cec9883
BLAKE2b-256 checksum
How to use checksums
ee70b6d645e67fd230b8c5ccca68dc32545adbf5ab964e997cc7c7651ef46825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / pennylane_qrack_cpu-1.2.0-py3-none-win_amd64.whl

Download URL pennylane_qrack_cpu-1.2.0-py3-none-win_amd64.whl
Size 35.3 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
312e3dad4e17d256f30c4078e5dbe7fd29b1f2206fea5cdb3188bc9df13b1e8c
BLAKE2b-256 checksum
How to use checksums
37f6e619c83f2dfb2471c5e944a8a1f93c0be0010971617f4bb0e7dcb5f7d20c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / pennylane_qrack_cpu-1.2.0-py3-none-manylinux_2_39_x86_64.whl

Download URL pennylane_qrack_cpu-1.2.0-py3-none-manylinux_2_39_x86_64.whl
Size 1.5 MB
Tags Linux glibc 2.39+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5020e7be3274394c3f58238e773451257204ad38eb24620a6a4f2f6e97edb9fe
BLAKE2b-256 checksum
How to use checksums
e57109a5643e0fc0d9ebf8007824e0cd66442b9ccb66676619a295e2ef8ee732
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / pennylane_qrack_cpu-1.2.0-py3-none-manylinux_2_35_x86_64.whl

Download URL pennylane_qrack_cpu-1.2.0-py3-none-manylinux_2_35_x86_64.whl
Size 1.6 MB
Tags Linux glibc 2.35+ x86-64 Python 3
SHA-256 checksum
How to use checksums
789a8b1b50b00b887c9aa685132444bb602bc727984f99c54b07f1fb4d7586c5
BLAKE2b-256 checksum
How to use checksums
db838991d3557b157b90a415f893902236e1bdbee3f27839706d365fbd303489
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / pennylane_qrack_cpu-1.2.0-py3-none-macosx_15_0_x86_64.whl

Download URL pennylane_qrack_cpu-1.2.0-py3-none-macosx_15_0_x86_64.whl
Size 995.7 kB
Tags Python 3 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
0c11cd439d84128d814434f7f130b65853a7b7b93895e320b8ca0601811add9e
BLAKE2b-256 checksum
How to use checksums
800383635f2ff62783e2924fe0a356a28e3e47e5f11721bb4082e6e20064c5d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / pennylane_qrack_cpu-1.2.0-py3-none-macosx_15_0_arm64.whl

Download URL pennylane_qrack_cpu-1.2.0-py3-none-macosx_15_0_arm64.whl
Size 955.6 kB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
3c30f567c09efaccb04e46b64b46e09bdc4fe753f13a4fda18dff59d94e57113
BLAKE2b-256 checksum
How to use checksums
bb8e6b5c93071d64b2a71d95b2b80d5cabdc6b0e3367e4e839cbea4c8ce94c41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / pennylane_qrack_cpu-1.2.0-py3-none-macosx_14_0_arm64.whl

Download URL pennylane_qrack_cpu-1.2.0-py3-none-macosx_14_0_arm64.whl
Size 962.1 kB
Tags Python 3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
6ec3483cf75d5b7a9a456493fc3d1767d7024491b5e8b058893b95208f08635c
BLAKE2b-256 checksum
How to use checksums
c61e881f2eae45387a14460bd00dbc1cf3246694d8019b1d8ccfe6dab795f908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

1.2.0 This release

7 release files

1.1.0

7 release files

1.0.0

7 release files

0.28.6

7 release files

0.28.5

7 release files

0.28.4

7 release files

0.28.3

7 release files

0.28.2

7 release files

0.27.1

7 release files

0.27.0

7 release files

0.26.1

7 release files

0.26.0

7 release files

0.25.0

6 release files

0.24.9

3 release files

0.24.5

4 release files

0.24.4

4 release files

0.24.3

1 release file

0.24.1

4 release files

0.24.0

4 release files

0.23.2

4 release files

0.22.9

4 release files

0.22.8

4 release files

0.22.7

4 release files

0.21.1

4 release files

0.21.0

4 release files

0.20.3

4 release files

0.20.2

4 release files

0.20.1

4 release files

0.20.0

4 release files

0.18.8

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page