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.1

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.1
File Size Uploaded Provenance Actions
pennylane_qrack-1.3.1.tar.gz 37.6 kB Without provenance Details for pennylane_qrack-1.3.1.tar.gz

Built distributions (wheels)

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

Total release size: 4.7 MB

Release files / pennylane_qrack-1.3.1.tar.gz

Download URL pennylane_qrack-1.3.1.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
32686b98687b612fe2a2508d46de0722a3d634ac4219bbbff7ef24d10c9d71e8
BLAKE2b-256 checksum
How to use checksums
9534bfb7bd724a83c9f7b150ef9913f718c070a524ab8be5955f642289ac6003
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / pennylane_qrack-1.3.1-py3-none-win_amd64.whl

Download URL pennylane_qrack-1.3.1-py3-none-win_amd64.whl
Size 35.5 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
00bd290c02a738da1bc98814a2ad5db82a98a05d169e3222cdaec520a77bc24e
BLAKE2b-256 checksum
How to use checksums
f29f63ba6862b96275decaaf67d6e681afd83cfebef0e8769bc5301cbda43c54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / pennylane_qrack-1.3.1-py3-none-manylinux_2_39_x86_64.whl

Download URL pennylane_qrack-1.3.1-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
c7b3ca2f17ca7d170d607773c91d40d782828e0595eb4e409e554ff465b1d293
BLAKE2b-256 checksum
How to use checksums
df10b315aa8bd2d9a2ccf54f30fc93f177c3f1bc7633ad840312b5174548d507
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / pennylane_qrack-1.3.1-py3-none-manylinux_2_35_x86_64.whl

Download URL pennylane_qrack-1.3.1-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
63cf67e3da39881ba5cbba090d46732f41a73b64b4ccde07deba4b5ccdfd3fa4
BLAKE2b-256 checksum
How to use checksums
34ad6af1a12a2df78a8ff33b9153e460cc9cb288e2eb22e6f870009a4cb1f880
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / pennylane_qrack-1.3.1-py3-none-macosx_15_0_arm64.whl

Download URL pennylane_qrack-1.3.1-py3-none-macosx_15_0_arm64.whl
Size 969.6 kB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
d876b423ede19e0c88291a66fcee9fa65f11d3c488dfb942b1ede0d31fe917fa
BLAKE2b-256 checksum
How to use checksums
263ed520dd1a8e1e4d890e6ab3dc87a2ebe609f838ecc69c679ef254848f76e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for pennylane-qrack 1.3.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.1 This release

5 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