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

Built distributions (wheels)

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

Total release size: 6.7 MB

Release files / pennylane_qrack-1.3.0.tar.gz

Download URL pennylane_qrack-1.3.0.tar.gz
Size 37.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a2f0acc1b2b6673bb3f03efd3ca072479962e375bcff6821a0c1a9768671dfa5
BLAKE2b-256 checksum
How to use checksums
0e4e628f387ff71cf12ae62104e6a40d8d3b44cd61d2560ccb0d688dc49641f5
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-1.3.0-py3-none-win_amd64.whl

Download URL pennylane_qrack-1.3.0-py3-none-win_amd64.whl
Size 35.2 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
d5a87524ded46e6af9fb15267d4d58fe3fb0dcd4f752246a8a40888fecf32e8b
BLAKE2b-256 checksum
How to use checksums
8b418b8909c6e1ec9071119b7326cca9e37e7fffdbda3383fe5faecb672f8805
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-1.3.0-py3-none-manylinux_2_39_x86_64.whl

Download URL pennylane_qrack-1.3.0-py3-none-manylinux_2_39_x86_64.whl
Size 1.8 MB
Tags Linux glibc 2.39+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f3bf27fccdacd6bd78c7914bb9c2233e90fdd74e95e6089600830adcf7c784a5
BLAKE2b-256 checksum
How to use checksums
e7000a6efbdd64428af33d2ba063f9426ea4ec5ea0e0fb148bf83d6d4ab264a6
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-1.3.0-py3-none-manylinux_2_35_x86_64.whl

Download URL pennylane_qrack-1.3.0-py3-none-manylinux_2_35_x86_64.whl
Size 1.8 MB
Tags Linux glibc 2.35+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ea4fa426ed48a75a76c4ae07f16d236a294a94a33019f4bb16134f8654b13dba
BLAKE2b-256 checksum
How to use checksums
ad8759ddc6734e83816784b673bfd4eb8dd7590397268ece0669f0934c6c91c8
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-1.3.0-py3-none-macosx_15_0_x86_64.whl

Download URL pennylane_qrack-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
c2ae15569f6e19cf3901e4a1dd54ffeefed6f1c7427cb5f3b365817f9eca10a9
BLAKE2b-256 checksum
How to use checksums
50089bc4dbb9cb40ec7c89a2130c866558d1d5523638ae019a8dd137e6f25304
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-1.3.0-py3-none-macosx_15_0_arm64.whl

Download URL pennylane_qrack-1.3.0-py3-none-macosx_15_0_arm64.whl
Size 969.1 kB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
40fb1d3f6e1471fe6fa194b119268e256e429e880eaa5a0a2c4897bf9112aacc
BLAKE2b-256 checksum
How to use checksums
d4033b1912bc6a5353a6ed36841284f72ad3526b248ddcfd8ea53a75aaffa671
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-1.3.0-py3-none-macosx_14_0_arm64.whl

Download URL pennylane_qrack-1.3.0-py3-none-macosx_14_0_arm64.whl
Size 975.7 kB
Tags Python 3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
982164b7661d98c3538bff239b0748e5931278215325a12bbad1314aa7edaae1
BLAKE2b-256 checksum
How to use checksums
e259c68801d0439effb804da0e2787a5f9c0fed5bf24d6a32bfd25bfbfe4239a
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 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