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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.5-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.5-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.5-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.5-py3-none-macosx_15_0_arm64.whl (821.6 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.5-py3-none-macosx_14_0_arm64.whl (821.0 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.5-py3-none-macosx_13_0_x86_64.whl (858.1 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.5-py3-none-macosx_12_0_x86_64.whl (810.9 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.5.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.5.tar.gz
Algorithm Hash digest
SHA256 0e66a30722c2f8e7a721dfebdbca24ebe5643c2571a611f43fcdd99ab7d5fe42
MD5 c13d7d49836a8be1c6a7c01d5a64afd7
BLAKE2b-256 c701eba387a6a89199898b371d71978f3a40cb2016080bfa1adde19f86f10e7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 696ef9e5c2e9a40aa54dc748ad4166b4736e276c0f257fb6d7f507ec7ed2c249
MD5 9fa4a471f269d7d99f87db8b8dfcfd3d
BLAKE2b-256 b455829b37c4bbaed14fae274ee06c6ec4d0555325eb5f55e953677fc6ed55da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.5-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 8e6216f485526c2bcf78e0f6dd31b0f146cabf2fa8f6f3106e6976b78355c80b
MD5 20e51d75290ec591d349f12a61b4cae9
BLAKE2b-256 23827264c2c0a25dbee14e20a4154405389d5206481b99cd8d86121fee2b2168

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.5-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 49d6e19d3cfb3f339046e11f7fe9134eb393aedef777d62cceefed0450f82df9
MD5 7255467253f60c7a743270dfbbf049a4
BLAKE2b-256 8d1d730595f4286a7f0fc0e49f144892183fe9b1d17f08ced8b0c100c84e7f17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.5-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b73ff3f977a71752532921b6966d0c3afe0fff5508e8aa3c3f3f0a3234ca99b7
MD5 e869568c54cf6965b46bcd2659c206ce
BLAKE2b-256 c80dd7c1bb39b7fc915b853f7697e907b4e8da7b8701ab68dc6431a243e81e8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.5-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ff9410ea655423b6f867e533327a032c1ad842aeacf0dc3f2a98e9a0b3d729b7
MD5 012fa1e5610f6f26e22d3a5dd7157b7d
BLAKE2b-256 a42843e33cf68ae153c0239294e6ac278cf10dd2e220982dfe21fe430e1ccb8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.5-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2d4328b0a7e7f9ff3d3e8a6c7e1dd5cd59551d9eccbae25b9eb38a0dfb676dfd
MD5 e3da574ea20b91e5b273c201b591e02e
BLAKE2b-256 1058654f1f3ab422857d29441f4dabd971d0d281f2eed6a99ebfd365a21ed3ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.5-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 19652ade385ebc00e4a06370abf24e75fc2fd86cda66a9d9f000e2e1278335d5
MD5 83e0f79078d9d080af402d124c7c3ffd
BLAKE2b-256 e47408d4bef73bcf70257e3680d20d504e2be5d78978416c568147b7f4d7b058

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.5-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 715d7538e7faa3c360e10c2bbe6d2e4fc7ffa2acf9d3546ce6f48b0ac882af39
MD5 cfa21a93614cffc029fd8ac7cf040861
BLAKE2b-256 ca8fea6de87a391dca7192103bbbdaa9a708016285730c3fa21791d486157eb1

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