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

Uploaded Python 3Windows x86-64

pennylane_qrack_cpu-1.2.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.2.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.2.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.2.0-py3-none-macosx_15_0_arm64.whl (955.6 kB view details)

Uploaded Python 3macOS 15.0+ ARM64

pennylane_qrack_cpu-1.2.0-py3-none-macosx_14_0_arm64.whl (962.1 kB view details)

Uploaded Python 3macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pennylane_qrack_cpu-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_cpu-1.2.0.tar.gz
Algorithm Hash digest
SHA256 9096c7ab31744155f01d689566dfe95b7f1e893a1ba87185b41501454cec9883
MD5 3e4b1ce981bafb97ae2ed8d983da8f11
BLAKE2b-256 ee70b6d645e67fd230b8c5ccca68dc32545adbf5ab964e997cc7c7651ef46825

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 312e3dad4e17d256f30c4078e5dbe7fd29b1f2206fea5cdb3188bc9df13b1e8c
MD5 c741f8951766e7e9a81f96dd0a5bf739
BLAKE2b-256 37f6e619c83f2dfb2471c5e944a8a1f93c0be0010971617f4bb0e7dcb5f7d20c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.2.0-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 5020e7be3274394c3f58238e773451257204ad38eb24620a6a4f2f6e97edb9fe
MD5 d1c78f0783c9bc979cb40ba256f24569
BLAKE2b-256 e57109a5643e0fc0d9ebf8007824e0cd66442b9ccb66676619a295e2ef8ee732

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.2.0-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 789a8b1b50b00b887c9aa685132444bb602bc727984f99c54b07f1fb4d7586c5
MD5 ee0438c0fe782bfed1ece9a0ff430047
BLAKE2b-256 db838991d3557b157b90a415f893902236e1bdbee3f27839706d365fbd303489

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.2.0-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0c11cd439d84128d814434f7f130b65853a7b7b93895e320b8ca0601811add9e
MD5 921427ac51b6a4fdd337600ca560fbf0
BLAKE2b-256 800383635f2ff62783e2924fe0a356a28e3e47e5f11721bb4082e6e20064c5d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.2.0-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3c30f567c09efaccb04e46b64b46e09bdc4fe753f13a4fda18dff59d94e57113
MD5 591b1871d12b5b3a1564fb8075590550
BLAKE2b-256 bb8e6b5c93071d64b2a71d95b2b80d5cabdc6b0e3367e4e839cbea4c8ce94c41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack_cpu-1.2.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6ec3483cf75d5b7a9a456493fc3d1767d7024491b5e8b058893b95208f08635c
MD5 b8b3f951d829e15d0476e4b55663c44b
BLAKE2b-256 c61e881f2eae45387a14460bd00dbc1cf3246694d8019b1d8ccfe6dab795f908

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