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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pennylane_qrack-1.2.0.tar.gz (37.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pennylane_qrack-1.2.0-py3-none-manylinux_2_39_x86_64.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.39+ x86-64

pennylane_qrack-1.2.0-py3-none-manylinux_2_35_x86_64.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ x86-64

pennylane_qrack-1.2.0-py3-none-macosx_15_0_x86_64.whl (995.7 kB view details)

Uploaded Python 3macOS 15.0+ x86-64

pennylane_qrack-1.2.0-py3-none-macosx_15_0_arm64.whl (955.5 kB view details)

Uploaded Python 3macOS 15.0+ ARM64

pennylane_qrack-1.2.0-py3-none-macosx_14_0_arm64.whl (962.0 kB view details)

Uploaded Python 3macOS 14.0+ ARM64

File details

Details for the file pennylane_qrack-1.2.0.tar.gz.

File metadata

  • Download URL: pennylane_qrack-1.2.0.tar.gz
  • Upload date:
  • Size: 37.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pennylane_qrack-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d806bdcf8905a7eceacb79005bac76d7c5ebab85c0d63edd599d56a796a47e7e
MD5 7db2194a288c3685a8dd7c5ca8687eb0
BLAKE2b-256 c15603b87773edcd8e44c71a5eed9f924a94994eb2667acf49f9d3efcd7000c8

See more details on using hashes here.

File details

Details for the file pennylane_qrack-1.2.0-py3-none-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-1.2.0-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 ebe3cfe0f4e1b3a0b8861a868b298a202b5e9f65d1fc9e3a8c641e63cd3dac16
MD5 87c5c11977220a3f9181593e9a58f1b4
BLAKE2b-256 09c1982491ff8e7fe5d7fa83daa45c327d4837e8c0168c57b458febb0f52a196

See more details on using hashes here.

File details

Details for the file pennylane_qrack-1.2.0-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-1.2.0-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 1ae9cd34dd282fe54ac3817ddc02c9e0e6886ef1a19bcad7a7df009193e55b33
MD5 a49edcac073efafed1528b9eb373348e
BLAKE2b-256 434949c268617c7eda6bb0821b6679bc6c64a8aad231c94f501f0e85f706f4ff

See more details on using hashes here.

File details

Details for the file pennylane_qrack-1.2.0-py3-none-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-1.2.0-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 d856328c483010c62ed4cc10ed220f675c3a66b877f7c572c96782d45dc1bf7c
MD5 fe79d50bc90e14884f0dcdbebcce9825
BLAKE2b-256 420ea76b5d5262f29bfda5ae06eda894aaa185da3373149b8bb9e26da5fb9d59

See more details on using hashes here.

File details

Details for the file pennylane_qrack-1.2.0-py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-1.2.0-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 28b3ceefdea6074d9f70f1b73b5945bcc7f2218880b3bb20cc408482d2686105
MD5 31de558c4f70558cb856e975b546649d
BLAKE2b-256 b1484f43737ced6bce4ac3a88ffcda241ceb219a4493b8cf78fc58f42c72b5ec

See more details on using hashes here.

File details

Details for the file pennylane_qrack-1.2.0-py3-none-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-1.2.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d401db4fe739aac3a76e5cce177ba8c8e46ebd9af32c0c2d634aa5d4ca980fc3
MD5 df51bc1cf3d8fa6c27dd9a67a56cb556
BLAKE2b-256 68e390d9fdbf67dd5ba88eed17a856aca4c674b013578362eef1273dc8676dcb

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page