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_cpu-1.1.0.tar.gz (37.3 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_cpu-1.1.0-py3-none-win_amd64.whl (35.3 kB view details)

Uploaded Python 3Windows x86-64

pennylane_qrack_cpu-1.1.0-py3-none-manylinux_2_39_x86_64.whl (1.5 MB view details)

Uploaded Python 3manylinux: glibc 2.39+ x86-64

pennylane_qrack_cpu-1.1.0-py3-none-manylinux_2_35_x86_64.whl (1.6 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ x86-64

pennylane_qrack_cpu-1.1.0-py3-none-macosx_15_0_x86_64.whl (995.7 kB view details)

Uploaded Python 3macOS 15.0+ x86-64

pennylane_qrack_cpu-1.1.0-py3-none-macosx_15_0_arm64.whl (955.5 kB view details)

Uploaded Python 3macOS 15.0+ ARM64

pennylane_qrack_cpu-1.1.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_cpu-1.1.0.tar.gz.

File metadata

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

File hashes

Hashes for pennylane_qrack_cpu-1.1.0.tar.gz
Algorithm Hash digest
SHA256 47e7c5b59338c87ab895062528bfe68f9e17699ccb89883605ac541ef3506fd1
MD5 e66062ca0e0d920a48c103cac0f125ce
BLAKE2b-256 4e37b3beb86ede9d4f7b53331b1f5f4f6b86217fb6cce0718b7688698af5bab5

See more details on using hashes here.

File details

Details for the file pennylane_qrack_cpu-1.1.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e62466258582a732ad1df052fdc9404b195f30c27407d3dff0eb7de2a338920b
MD5 31a28a7342e21141eafffd7acaddc723
BLAKE2b-256 ffc273e767801327558bf080c9759589a84f960f118b7ed3e9e84cc56a6e59d2

See more details on using hashes here.

File details

Details for the file pennylane_qrack_cpu-1.1.0-py3-none-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.1.0-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 30df28d9bc00b0cf913468dba4c81e4d67ee430cfc6e9949ca1fd8c8295ab0e4
MD5 b849c60555fd1e27bf53176d15666595
BLAKE2b-256 d61db5c37a86fbdfd1d55e7b677b2023d5cc6ca4b14dafb3f899dd66c484dc43

See more details on using hashes here.

File details

Details for the file pennylane_qrack_cpu-1.1.0-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.1.0-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 f05758d8ae6d3650d1bb144ee9d45b1330d204d609b2e1866f52a7b0749024f6
MD5 8845ba188d367bbd5184b063d73e303f
BLAKE2b-256 0b2e6d786669320eed30cf36d88e47ccae517bd8137bb6fefa59520b0394a6d2

See more details on using hashes here.

File details

Details for the file pennylane_qrack_cpu-1.1.0-py3-none-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.1.0-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0cd5b8e07ad7e0993f438a91db818939c1caeb5a74fec6ca321f66a1a4f37468
MD5 7a02d920798dabefb91642db4a547dcd
BLAKE2b-256 63a64db776bf4203df7f0c9c44f3d710d9b254ee33c19fb3d87d1f5af62cacc2

See more details on using hashes here.

File details

Details for the file pennylane_qrack_cpu-1.1.0-py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.1.0-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 be1532016a51dbf84d21c88448eae1a42d0308db7d02f6034bfcfab18cc4930f
MD5 a3cc47568febb5b6c39036a29c4ba83f
BLAKE2b-256 a2707d14c3a2e31d90b67a7c8d101bacf2421bb2f66c9d22ec94a9227c62bf57

See more details on using hashes here.

File details

Details for the file pennylane_qrack_cpu-1.1.0-py3-none-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.1.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f276f54d4989a0640090641d705596622b9cf9892b629ec2fd8c88cbda5e2ad5
MD5 a6362fd6558747887b65255cdb3d3a9a
BLAKE2b-256 c131925e8287d5d5c06879d89874bc143347e910045d5a033170680390247cf5

See more details on using hashes here.

Supported by

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