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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.9.4-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.9.4-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.9.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.9.4-py3-none-macosx_14_0_arm64.whl (835.9 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.9.4-py3-none-macosx_13_0_x86_64.whl (877.3 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.9.4-py3-none-macosx_12_0_x86_64.whl (829.8 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.9.4.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.9.4.tar.gz
Algorithm Hash digest
SHA256 03335072fcc4b2a8140317fe747b8b89cdf767a978460d148cfaa26b5979946a
MD5 934c33d9460d43b9d9a0c173c7623fd5
BLAKE2b-256 77e058c77f9efa60139a5449a4c252155aeb860c0fa4245a091e9ea8a55c3f89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c279ee3956f5f3c085392fa0b8bfcb7cc2b0d6859b8247bfe53f88ebe0ab826f
MD5 10d79c1f84f640efcdd4c895dc4c5b76
BLAKE2b-256 9987d93781805c2d4a41ed32dc1875b80807a5bf64369bd09afe9684e6ab6e1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.4-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 2b21ad77d9566643cecf7f11f6e49db85bd00db4f198e17536f9aa4d28a478a7
MD5 f83d9056e63897b6a0553b81acc11474
BLAKE2b-256 a7d3480fcfd3ca4903de19ef64b9b6d54c0d279dbbfe908c82be4d42da60f67c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.4-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 dee67fe2d8deb8866a930819f8052109132b73435955cf310c0ef8e1d1cb6c1c
MD5 0892098ffed3d6e89954f2c4514138e0
BLAKE2b-256 48969705118da37d16c4318f3b2c0d660658ff16f639ad3e35860b23f508a9ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.4-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 213431404fa319aea21e45c8253c9a3ec166168185afcafbfe9bdbdc14598932
MD5 0f4c30923659fdd6210671ff2dd119ae
BLAKE2b-256 88d122ec8178a3eb39b554394afb428868551bffaa53c6ea9bc23ef074b98e9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.4-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1ccdfa3e3f075bdbe66296861b1fcb79bba28a82a29273e32c7b083c5bd24dc6
MD5 5f0137f370ab02522bed266f73958890
BLAKE2b-256 d78fb7bd8f75dff5e9580988402bc7db564920dd671c9f5f7e8c7e6c12e67966

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.4-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 54c2b9f1f1ab398fdc37e41b64c76dde758a7506cd0220e955f7ec38274a1f20
MD5 44b1d98464f3b316a31e025583f9e244
BLAKE2b-256 674808d857e05eb0fb56b10bb2f1ab395ecd3f984dc4ca7f51196fe35912e585

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.4-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 f4dbe35ab6f6abacc0d03f05afeaf595150509811df8a35fff9a345ca44c0554
MD5 77aee8026c09d9054f8b04bb3b803218
BLAKE2b-256 e8377d59e6d153ea2d83f8b57de9b8c347e38b65e5f1aa37f48d8e6ff2391ffb

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