Skip to main content

PennyLane plugin for Qrack.

Project description

The PennyLane-Qrack plugin integrates the Qrack quantum computing framework with PennyLane’s quantum machine learning capabilities.

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

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.

Project details


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-0.10.9.tar.gz (37.2 kB view details)

Uploaded Source

Built Distributions

pennylane_qrack-0.10.9-py3-none-win_amd64.whl (23.3 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.9-py3-none-manylinux_2_39_x86_64.whl (1.6 MB view details)

Uploaded Python 3 manylinux: glibc 2.39+ x86-64

pennylane_qrack-0.10.9-py3-none-manylinux_2_35_x86_64.whl (1.6 MB view details)

Uploaded Python 3 manylinux: glibc 2.35+ x86-64

pennylane_qrack-0.10.9-py3-none-manylinux_2_31_x86_64.whl (1.5 MB view details)

Uploaded Python 3 manylinux: glibc 2.31+ x86-64

pennylane_qrack-0.10.9-py3-none-macosx_15_0_arm64.whl (833.5 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.9-py3-none-macosx_14_0_arm64.whl (833.8 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.9-py3-none-macosx_13_0_x86_64.whl (872.8 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.9.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pennylane_qrack-0.10.9.tar.gz
Algorithm Hash digest
SHA256 04326dc08e00eafef0ecdd4c5e5cdc9f52e21957e44ea5133cef8fa6bc520dde
MD5 15c3c1d37810fb511f7e6e92d2de7a7f
BLAKE2b-256 00d6e7a5db68247567017816ccc42533939327d2c99299cbe57cb78a48f40ae2

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.10.9-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.10.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8b89c1ca502eabcb86416fa12197509379e74eb1fda05223563240b12c7ef8f3
MD5 854a3c8a9b970a5d290ad216e9168de9
BLAKE2b-256 664c3cf583e424a99e26c97fb2413d469965e3c9872749afded202df90a3aaf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.9-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 035ccbb739feef4e9d8def6fc4331e7b45272a9d2f9b73da153da34fb98969fc
MD5 a375aa9a515b11eb2b447269e49455d1
BLAKE2b-256 33bf355d3fd6a27b482da90b8c4576c1e623939c575eefc788eb13fc3317b5c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.9-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 d20d014906dd090a05a3d09d20d24b03b28d0ddf4104aeeddc3f2c08828957a9
MD5 7b56f5da2da2e08ad162e00d469fb519
BLAKE2b-256 72753344cf4290e8dbe1266966f20d5b1ceef63d4f5cc6027d08ae59f5cabaa0

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.10.9-py3-none-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.10.9-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 564bc6f7ce6e8ff666d90dd5e7c0eb7bd18ad9a3f2bf4fd614587399c779b6e8
MD5 a2fb256ae43e9bb4e962ed5934191e9c
BLAKE2b-256 00b1cb237a2200c99a13420d3dfbccf1fce2fb4c652217a5ba14b01fd1d96261

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.9-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ab26932cc33e14d0d9a7f30e64c517db46513b27bc62919310c37d02101d49f2
MD5 b8186ea5006df199573a30693ee1c8fa
BLAKE2b-256 a0264708b2dfd98527b06d1c7fbe923802a41d35f79d1cff4a60d7f8136d86cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.9-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0d9023a2a51e45f1eb5822ecb239c2b8f74b70b3da0379c7c75287e9965a44f3
MD5 ad30b3acf6a3784fcad2580a5fe8b362
BLAKE2b-256 6d3faa87b1880007e73878cfd2cedd1f379d4f79c0bf927f40d2777e20d8ad4a

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.10.9-py3-none-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.10.9-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2e58063ec8a5f8cf15e94ddc2350cc2e36f8cdfbaaddd374ea05b0e7016dbdd5
MD5 772f8a7139505ae5b4f5e4ccead94059
BLAKE2b-256 9eeab1855504567a821dffa9324299560709f98f921ecad6bca93a953b021679

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page