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.8.4.tar.gz (1.7 MB view details)

Uploaded Source

Built Distributions

pennylane_qrack-0.8.4-py3-none-win_amd64.whl (22.2 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.8.4-py3-none-manylinux_2_39_x86_64.whl (1.7 MB view details)

Uploaded Python 3 manylinux: glibc 2.39+ x86-64

pennylane_qrack-0.8.4-py3-none-manylinux_2_35_x86_64.whl (1.7 MB view details)

Uploaded Python 3 manylinux: glibc 2.35+ x86-64

pennylane_qrack-0.8.4-py3-none-manylinux_2_31_x86_64.whl (1.6 MB view details)

Uploaded Python 3 manylinux: glibc 2.31+ x86-64

pennylane_qrack-0.8.4-py3-none-macosx_14_0_arm64.whl (1.0 MB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.8.4-py3-none-macosx_13_0_x86_64.whl (1.1 MB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.8.4-py3-none-macosx_12_0_x86_64.whl (1.0 MB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.8.4.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pennylane_qrack-0.8.4.tar.gz
Algorithm Hash digest
SHA256 bb898071ec819b50b980348828c7ccc55fcb2b8a089d2cf3c201468092e0f07b
MD5 6bb42107c280e485d73f2aad1366348f
BLAKE2b-256 bbee385826b1c8d40cdf190c89f8c0f9cc1227d6ed8448513828486c21cf2c70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0fdbaaff6d90ea7b215ffe71b9a0c18948c12ba1f95982ccf02ae71503233be1
MD5 7a84c1ed9cc7b7ec846dcf7021fc10b7
BLAKE2b-256 411187621d8c20a1d891b323808af1f57fc16b5cf522f25cc2190c10928fe45b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.4-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 ff9812aafea2bfde46a833699497122133fbc9070a06685271564de1a440576e
MD5 6b9424d50f3de6c87ecf916dd78f52f7
BLAKE2b-256 c95bcc9bfcea35542a674e3a55b10a306e9428a7823ccbbfab10f6621e7d6d03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.4-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 cecf8a5226059cf60d0d7cc199ad93c6ba2c08b295e731d9f4f6b6f570c6e55c
MD5 b7b5ddbd51affb6074c83263c509fad7
BLAKE2b-256 e1d98e62e1e691f6a7389fa60b47eaf55a1c73519062c22b69558b805a12d71b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.4-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 aabfd19f26355f48c9e786a16e7ef0908f8ace0bf381b7bd53fe0031e46a915a
MD5 24a8d4a62f2779c84e0efc80a9bac35f
BLAKE2b-256 d991cca507d5703a9bcbc9b9c2c04c15feb2f649b588dc43d64d4b7ac619a42c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.4-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0fc656a7467e204dde0b8c16e00c16f2b4ff0cad0a3375157cf08e23e1c61351
MD5 ec25c7694171f74e57d5cd7a8b3b13c4
BLAKE2b-256 1ea73883ffe3ea3c59299f1042154053a49b30ba1ec23dcebb9f2780282ec2f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.4-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f8deef6d72ddfdb9a07524ee33b613897fc6837cabdda9e9243267e9678635fa
MD5 f1e659626f8d1391656a83fe42f71f5e
BLAKE2b-256 31d5ee23cb7982f6adb8a4e7d7433359ec5ab81209201435424966075b89ecaf

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.8.4-py3-none-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.8.4-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 a759e848ab8023ee3bee05c4d8c0b589541cb9eb2b24803e62a939f2fa7d796a
MD5 88366dc30ce5766a787d24ba69b16fbf
BLAKE2b-256 c7086a6d02dd1b9e7f4a6579a4f1299051aa78f19a2757cdc975254ef015d26e

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