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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.8.7-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.7-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.7-py3-none-manylinux_2_31_x86_64.whl (1.7 MB view details)

Uploaded Python 3 manylinux: glibc 2.31+ x86-64

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

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.8.7-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.7-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.7.tar.gz.

File metadata

  • Download URL: pennylane_qrack-0.8.7.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • 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.7.tar.gz
Algorithm Hash digest
SHA256 b42dffb05ed7bb1a3de6f21a8ee5ea83b6238540d96ffe16f8e27ed230df7359
MD5 4f1d9fb19742262b9d91090565498e95
BLAKE2b-256 dec81b569e60d9134c675c7aa6437c9fb5bdf749262c669f0d278e151613c89e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3329cdcac45a9d0a6835e217199575198cb676d6814021d5af165bdcc62f856b
MD5 995d6c2cb86e038a15e86467cbd582bc
BLAKE2b-256 9d3e10beeb7010ae10abb35437ff2276e064a68138ecc176d6962419d85f4444

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.7-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 dc179e87fd59cf6bbe73d3e38134ad84bf93e02dcdc40b0f0334f3c25b317847
MD5 0dc7f99057763e751f0e1908112ea7da
BLAKE2b-256 0b45fa93df2942cfc67e18743ea074c9418813a8c95bcdc2428e4f6db43b5f2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.7-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 0a8532873a1bd33aa4dc67bb4a1d2f7008301d5d756067251c312f40f99219e3
MD5 2ba5c46461053933be614d56cc46b168
BLAKE2b-256 f795626f5b1bffa22b05329d36a0ecd5a3c0f8fc85e9c35b36f50aec345fe711

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.7-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7e83c3d006d3d1d326cdf476ab8f64bb76f03a32d789177629dd92bf507819dd
MD5 da2169a8b0f46725b08b6971c621d020
BLAKE2b-256 964ecfde003c284188ab64760a9aed93542b6a236aa712e642f231814f1f62e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.7-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 519824770a401338b157f2594cebe0214a72b946a618141a397a4a29a6160f41
MD5 b5eba954eb64bc6b1c4257242308f306
BLAKE2b-256 4d9d97111231b33a747f7273c4fe9f858526cf6cd4390cc83834d88ff47564ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.7-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 64d294c1167db2d1e12cedce53c75d372afa5321007245824c9ac8bec158247b
MD5 b6b698a491ead60b66baf63c0119b298
BLAKE2b-256 2ac2ed9639292144073f0183b759caa3c29a5d1f8501ca9f4f714b46d66bd734

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.7-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 0f98b1f75c7dd75bc56000f2010908f6e888cda67eba73a5056d5ef88d8b955e
MD5 35ff1fa5c1f52d7ec53844192cc0fe56
BLAKE2b-256 0c1e965c5473951061c8d50580f7f00af93ccb958efedbe9787d9294b6d52e74

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