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 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 1.2.0
File Size Uploaded
pennylane_qrack-1.2.0.tar.gz 37.4 kB Details

Built distributions (wheels)

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

Total release size: 6.6 MB

Release files / pennylane_qrack-1.2.0.tar.gz

Download URL pennylane_qrack-1.2.0.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d806bdcf8905a7eceacb79005bac76d7c5ebab85c0d63edd599d56a796a47e7e
BLAKE2b-256 checksum
How to use checksums
c15603b87773edcd8e44c71a5eed9f924a94994eb2667acf49f9d3efcd7000c8
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-1.2.0-py3-none-manylinux_2_39_x86_64.whl

Download URL pennylane_qrack-1.2.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
ebe3cfe0f4e1b3a0b8861a868b298a202b5e9f65d1fc9e3a8c641e63cd3dac16
BLAKE2b-256 checksum
How to use checksums
09c1982491ff8e7fe5d7fa83daa45c327d4837e8c0168c57b458febb0f52a196
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-1.2.0-py3-none-manylinux_2_35_x86_64.whl

Download URL pennylane_qrack-1.2.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
1ae9cd34dd282fe54ac3817ddc02c9e0e6886ef1a19bcad7a7df009193e55b33
BLAKE2b-256 checksum
How to use checksums
434949c268617c7eda6bb0821b6679bc6c64a8aad231c94f501f0e85f706f4ff
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-1.2.0-py3-none-macosx_15_0_x86_64.whl

Download URL pennylane_qrack-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
d856328c483010c62ed4cc10ed220f675c3a66b877f7c572c96782d45dc1bf7c
BLAKE2b-256 checksum
How to use checksums
420ea76b5d5262f29bfda5ae06eda894aaa185da3373149b8bb9e26da5fb9d59
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-1.2.0-py3-none-macosx_15_0_arm64.whl

Download URL pennylane_qrack-1.2.0-py3-none-macosx_15_0_arm64.whl
Size 955.5 kB
Tags Python 3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
28b3ceefdea6074d9f70f1b73b5945bcc7f2218880b3bb20cc408482d2686105
BLAKE2b-256 checksum
How to use checksums
b1484f43737ced6bce4ac3a88ffcda241ceb219a4493b8cf78fc58f42c72b5ec
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-1.2.0-py3-none-macosx_14_0_arm64.whl

Download URL pennylane_qrack-1.2.0-py3-none-macosx_14_0_arm64.whl
Size 962.0 kB
Tags Python 3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
d401db4fe739aac3a76e5cce177ba8c8e46ebd9af32c0c2d634aa5d4ca980fc3
BLAKE2b-256 checksum
How to use checksums
68e390d9fdbf67dd5ba88eed17a856aca4c674b013578362eef1273dc8676dcb
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

6 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

5 release files

0.24.5

6 release files

0.24.4

6 release files

0.24.3

6 release files

0.24.1

6 release files

0.24.0

6 release files

0.23.2

6 release files

0.22.9

6 release files

0.22.8

6 release files

0.22.7

6 release files

0.21.1

6 release files

0.21.0

6 release files

0.20.3

6 release files

0.20.2

6 release files

0.20.1

6 release files

0.20.0

6 release files

0.18.8

6 release files

0.18.7

6 release files

0.18.6

6 release files

0.18.5

6 release files

0.18.4

6 release files

0.18.3

6 release files

0.18.2

6 release files

0.18.1

6 release files

0.18.0

6 release files

0.17.2

6 release files

0.17.1

6 release files

0.17.0

6 release files

0.16.0

6 release files

0.15.1

7 release files

0.15.0

7 release files

0.14.1

7 release files

0.14.0

7 release files

0.13.3

7 release files

0.13.2

7 release files

0.12.0

8 release files

0.11.6

8 release files

0.11.1

8 release files

0.11.0

8 release files

0.10.9

8 release files

0.10.8

9 release files

0.10.7

8 release files

0.10.4

9 release files

0.10.3

8 release files

0.10.2

9 release files

0.9.8

8 release files

0.9.7

8 release files

0.9.6

8 release files

0.9.5

8 release files

0.9.4

8 release files

0.9.3

8 release files

0.9.2

8 release files

0.9.1

8 release files

0.9.0

8 release files

0.8.8

8 release files

0.8.7

8 release files

0.8.6

8 release files

0.8.5

8 release files

0.8.4

8 release files

0.8.2

8 release files

0.8.1

8 release files

0.8.0

8 release files

0.7.3

8 release files

0.7.2

8 release files

0.7.1

8 release files

0.7.0

8 release files

0.6.16

8 release files

0.6.11

6 release files

0.6.10

6 release files

0.6.9

5 release files

0.6.8

1 release file

0.6.7

1 release file

0.6.6

1 release file

0.6.5

1 release file

0.6.4

1 release file

0.6.3

1 release file

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 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