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

Uploaded Source

Built Distributions

pennylane_qrack-0.10.20-py3-none-win_amd64.whl (23.4 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.20-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.10.20-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.20-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.10.20-py3-none-macosx_15_0_arm64.whl (834.2 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.20-py3-none-macosx_14_0_arm64.whl (834.1 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.20-py3-none-macosx_13_0_x86_64.whl (873.1 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.20.tar.gz
  • Upload date:
  • Size: 38.6 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.20.tar.gz
Algorithm Hash digest
SHA256 c006d4429292661185b5c78fc0bd1b583217322215d0e54c405e250c9d471ada
MD5 8002014aafb3cef1ea4167476d6afe1b
BLAKE2b-256 71799a316fabe6c7b5b69b247cc4ce7897592706da4a3852d2bd0ae79289765d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.20-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b33f75cf0b092dd9abf6b8ad93639fde3ea6684ffcd665fdea1ce8ff7faa765c
MD5 deb89b23f6be37fccea0f83516c3949d
BLAKE2b-256 240350862da50fc51799890a631551861ca0e780d564a9a6c1ddd154aea306e5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.20-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 37ae1e37579b82a9d3fdae127fd7684be1010312a98bb3ceedd5d7ca0616d5b0
MD5 8473f581f6d13938ea2543a1099101bc
BLAKE2b-256 31ec7a42687bddf1651e52bf4d6bb1aed03d530334f570898477af4ab670781a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.20-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 221b5a8fef19c022f74912467c97a46b076b7967859fb65749cec84f912c15ad
MD5 9cdf2eca30ad5c3cd4adae027c6ec83d
BLAKE2b-256 5382b202a1eff1ad295e4cd05aa9e66d2b01ba2c8bcc0911403b940642262ee5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.20-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 fad23d09e533a387794909671c956eb324203fae0d390b0d083d7353ee635d79
MD5 1797869ba58b412038d14bf08ea1e17c
BLAKE2b-256 9ed45b96caea86fc7fdfc743b04087014d158b367cf6bcfc2b2811df0a9fa568

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.20-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7afd5071f91adbd035eb56bf9d8e3e2ad6d49e6b6b66a04ac8723600890d5039
MD5 e6b00f47a862d356e1ab55f30e2fa02b
BLAKE2b-256 2a2d27885e6b6c4e9ddfcfa8e65aeb7d139c70463d5c548b26a241b8d8d3dfaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.20-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e0ff7ee7b7cffe896ca28bb9a038d89a151f57da35c42ec1b1867079e07a48eb
MD5 9fbbaed34a5cfb464733ead1a8646885
BLAKE2b-256 aac6e544b4524bfcce2f701a343afa9d50de3fe003811b2195f07093f0b2271e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.20-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2a3a2ee5c2e6efdda0b49d282005e7c35d0cd15edcd8db447c386312dac580da
MD5 fe7c9c2fc794651deb6cd4155327fd2b
BLAKE2b-256 1c3b596f7cdea1dd29dda5e41a33e32d48bc4f6eb777e6e000c07a24547ea13b

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