Skip to main content

PennyLane-Qrack Plugin

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.3.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.3.0
File Size Uploaded Provenance
pennylane_qrack_cpu-1.3.0.tar.gz 37.5 kB Without provenance Details

Built distributions (wheels)

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

Total release size: 6.2 MB

Release files / pennylane_qrack_cpu-1.3.0.tar.gz

Download URL pennylane_qrack_cpu-1.3.0.tar.gz
Size 37.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5582bb25e0ceadf6af18598763719d46ef756c4a09790a8dabce3260b4c0901b
BLAKE2b-256 checksum
How to use checksums
463ecb1e44e706962db1b30bbc1269ca17b9c6e415a127d4ed7ef7f3dfb38015
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

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

Download URL pennylane_qrack_cpu-1.3.0-py3-none-win_amd64.whl
Size 35.3 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
da826dfa3b6b1d6357d04c3234a2510d74272060197cbd872280f5654ef13ad3
BLAKE2b-256 checksum
How to use checksums
1699d0d430c63b9fe23011181e721344ee009eebf1ed82d2104274dee5031a13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

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

Download URL pennylane_qrack_cpu-1.3.0-py3-none-manylinux_2_39_x86_64.whl
Size 1.6 MB
Tags Linux glibc 2.39+ x86-64 Python 3
SHA-256 checksum
How to use checksums
609b2d88225ea38d066591bfbb04a3cfef0c71e5ce5cdcfa6c053c48ee76f977
BLAKE2b-256 checksum
How to use checksums
5ec1c0f9e3c51c54525d645669933be4c99104ed9d9289964a974cd972e6e786
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

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

Download URL pennylane_qrack_cpu-1.3.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
97941a508285b02ad71d55be49b6ebbe9c5e834a31ec813fd3e6e146f093d458
BLAKE2b-256 checksum
How to use checksums
d1e2b05b224c4658f9ec99ab47be26d539f5a11b65179c9a208990648457a4da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

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

Download URL pennylane_qrack_cpu-1.3.0-py3-none-macosx_15_0_x86_64.whl
Size 1.0 MB
Tags Python 3 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
c8afc0dc061c728e71b0db8db137387b94e4f4109c8d08d2da524067e6e20859
BLAKE2b-256 checksum
How to use checksums
7c188895ed6ac77d20c8d46de804ba0859c05c6521c50fbd8158ceab97477a7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

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

Download URL pennylane_qrack_cpu-1.3.0-py3-none-macosx_15_0_arm64.whl
Size 969.2 kB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
2b817f619efc308a81cc0f1eeb17c0946af87639a6513d72d6510c28f207ad0a
BLAKE2b-256 checksum
How to use checksums
17e4a44cad0391e6716151395faf4492a493c1079fbbc9d8b533e8cdc035ab54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

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

Download URL pennylane_qrack_cpu-1.3.0-py3-none-macosx_14_0_arm64.whl
Size 975.8 kB
Tags Python 3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
a62fece1e64a0a56075817971a0bb72328dca11e9a978b74de5489e3b43f644d
BLAKE2b-256 checksum
How to use checksums
ad926ce7fbd3b3e85dd2671eded35e6dd9a2a1f17e9e6e34d53ed4c18f05bf8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for pennylane-qrack-cpu 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.3.0 This release

7 release files No provenance

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