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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.6-py3-none-manylinux_2_39_x86_64.whl (1.5 MB view details)

Uploaded Python 3 manylinux: glibc 2.39+ x86-64

pennylane_qrack-0.10.6-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.6-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.6-py3-none-macosx_15_0_arm64.whl (825.7 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.6-py3-none-macosx_14_0_arm64.whl (825.7 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.6-py3-none-macosx_13_0_x86_64.whl (862.2 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.6-py3-none-macosx_12_0_x86_64.whl (814.9 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.6.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.6.tar.gz
Algorithm Hash digest
SHA256 3ee51483977dbdbf47943bf4be3f85f2a6aa9d556c62eae40e9c8d8cabe5c294
MD5 1147fa0a874ea951b03f767f7b8108c0
BLAKE2b-256 41aa1c295cc89a40af485c47f5a48bd5c6dd97c030d4ea6f48e8619d9b69cf01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 24a600217d7c5d13f1e17506717309dfa57e00df3256851e3956ad0f62999b90
MD5 83e53bbed3f531cf585d13df5d3f9630
BLAKE2b-256 cc82d81f454b7279c76fd64ecb6e2cbf8f21ef2e535c222027b291059d06ff1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.6-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 dfd59d968594b21635817f7b0fa71925b573fa2f72c2024a88c8368d37cc3277
MD5 7584be3002abbc5ac974789d8caba9f9
BLAKE2b-256 f1912adb24fcc9403e7e8c4de4fd94914aaeb57a79ae876e7d059c495b9edc6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.6-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 a0a7333b2cdfd68e631aefb093b242d2c4674161578131e1e40663baac0f1b8b
MD5 4f3e28d68c28c222ee9a05b62cfbce89
BLAKE2b-256 2eae24bc984bbeeaaf3f78992c6f26a6e826d24036074b959b4c70467847be3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.6-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 470a29c67d186d15784181a3120d426980425c0a8d86d181a4fed067f6cdbb7a
MD5 ac334956f2991e52f64d45d6f0bcf2e6
BLAKE2b-256 94289c34eb877e098f4378559584f6eae3ccb3516f77cf2ce38258a78cebd479

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.6-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 818d3d17857b4ad16abf1c41d1ead868906b251ed87b46a309a4d343e7510ef7
MD5 23aa910e342d35670ebf3e2c1ebf95ba
BLAKE2b-256 dcd01efaaf1b870697ca49e69d1ff0d5c02628a5d140d02cd9295db8573bf75c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.6-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0722c931ed4541e5768791457d168c9be380cbf867c2c0133da32d0a3cd841fa
MD5 08d2dc9f2ae3f5091b71a8db0eb61671
BLAKE2b-256 d58dcbaa4170f22aa0b11289391f00304b404afbe914fe6983a9c02f7d09e5e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.6-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 454fd1f2e20ed82b1871b23eefe7ff4ef04f294dfcb29cf751c8cbad8c388bdb
MD5 d618c39d7209f419b482d612bd627aea
BLAKE2b-256 bd8077a06a58408d7790990df04603305805160920708aad3e9cd2e75dac69c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.6-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 8ff4fee278a57d7898a345cc5cf9b999de5cc43e4983216fb31fcbcfb97e83a0
MD5 1b33b55c14ad31e9dd3eb6fd69e38769
BLAKE2b-256 2827ff194c5fd1c648760bc1393c6e3c3eeda786eea04d70f878fb4f70cb78cb

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