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

Built distributions (wheels)

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

Total release size: 4.2 MB

Release files / pennylane_qrack_cpu-1.3.1.tar.gz

Download URL pennylane_qrack_cpu-1.3.1.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bcb245e41267afc9f5533aa7df3660b748fcb5fdbd77e2d0aeb3f9c6e09c06cc
BLAKE2b-256 checksum
How to use checksums
294236ea1a1907d965a9a7e8e086c611759165ae5661c8de8ff7ad23bbb09ccc
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_cpu-1.3.1-py3-none-win_amd64.whl

Download URL pennylane_qrack_cpu-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
97bc1e2481a1039ea3cc03fe1b31e0627adaceebdafbee51d2f6393522080a49
BLAKE2b-256 checksum
How to use checksums
7ac177c2c28ad8b74179283adab3504660c9d2c70658553592b5e20b47850141
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_cpu-1.3.1-py3-none-manylinux_2_39_x86_64.whl

Download URL pennylane_qrack_cpu-1.3.1-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
86869f4fbf6552f84ae1275cd19ac00f0057be17d02c57b5141c0d3237fbf25a
BLAKE2b-256 checksum
How to use checksums
238fdaec468cd2a0b235b7aac78e073739382445835de4a93d49e97fc8ddfb05
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_cpu-1.3.1-py3-none-manylinux_2_35_x86_64.whl

Download URL pennylane_qrack_cpu-1.3.1-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
d8566376b8834152df4587fef67d0a093a48cd1fa393223a4b5ccb47bb1be408
BLAKE2b-256 checksum
How to use checksums
ca1a4b0698ecaced11309bb28f24fc27cdc6ae6c50dd20acab2ef5b9fc8b64bf
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_cpu-1.3.1-py3-none-macosx_15_0_arm64.whl

Download URL pennylane_qrack_cpu-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
5ad7ee649fd9ae4f8e7daac4e795d307708020e2d6daa472dac1a0d17c666482
BLAKE2b-256 checksum
How to use checksums
be48b38d4911fb9b727f3e3d80578bdcabbf4ab073244e43449c8d9954e60575
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-cpu 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