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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.8-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.8-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.8-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.8-py3-none-macosx_15_0_arm64.whl (831.0 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.8-py3-none-macosx_14_0_arm64.whl (831.3 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.8-py3-none-macosx_13_0_x86_64.whl (867.9 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.8-py3-none-macosx_12_0_x86_64.whl (821.7 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.8.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.8.tar.gz
Algorithm Hash digest
SHA256 b046bcce6f30dc09c04d62fb4d706f19a42280605e24bc3b5f3e7585e7eb9dca
MD5 a80e3a8dfb62f48a9b9cc34d92edeaab
BLAKE2b-256 8037fbe763d6efde1b3e335b45b23d86a17e44c5f1abdbfa5c95e1bad806fda8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8e8b1b978de8494cec6d96898b22ada39092cca21b0fe8d4d63524d1b0cf19e9
MD5 2362317984ae8615186b991ef93a8110
BLAKE2b-256 ac4fae8e86731a4d3e5eb39c9c829d908907723db86baf28a78e23cd42d5654f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.8-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 3a04a7be42a974c3083b62e2c61a2e337e077aaf57bf84a22d33fd0f27e1eaad
MD5 771eabeec7a1117e3e18a4828e45d55c
BLAKE2b-256 128c0f5fc142ca4473af2af9c9f0931c40eef7969352e42655df54d2754e6b9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.8-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 8db25e6f319f4be05daa152d5fd5f100273906b6c9a5dcbd48ff72715df6ab46
MD5 e4f87533f27b5c87369b961d7fc14d35
BLAKE2b-256 dbf6746bbfebeb7d9c75b561495620df56e6518888896c804073fa45a8854747

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.8-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f27d9b89a7f1c4a51730f188eb725a36a8407acf9e9fa637293d2e3df64eb046
MD5 60a55046ef818650a279a2230f899e5f
BLAKE2b-256 c18f47274b29d61bae06aa5ce2c614500aa0bbc6e4242979b3f2f6ac461c430e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.8-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7e2117beb4ac32e46f6cb5bc98a5ca1968fa873750bf0252ff30f3c5e7b41f8a
MD5 6577f6cbbdff42c222e34c42fa4de8e0
BLAKE2b-256 a795bcf4097f2e5254b6dc9b123548418cbcb440279e37a30df2ccb2910e5bca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.8-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c30bd1a4f09317fbbee57add3c70fda20404f0a991a502d4105d4e0b468c21e8
MD5 64cce782de2df3cdb2db0c5edd51e461
BLAKE2b-256 0302953030f97da09c272bed6358137a05d9708b59c071954dda30900af193bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.8-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 713678dfcf42920b77b61d275a34d188729d3a49962d139193a6b9c9109d4331
MD5 07ba87cb344c5c40b5228fbc3904950b
BLAKE2b-256 8f73bd64efccf95f6c47482fe03a8e0c380d3d6c5ce6d110df3e9e55cc52309b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.8-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 caae021a207f85b4ef43f9441e4f457fecc1763c9dfb390c7679239d1d9cb242
MD5 f90ce06dcd0072b7fae4c620c7a0b7ae
BLAKE2b-256 69c1ea41e0968019bc47a50eb35488528882b94db46364465d5fcccb77745ce8

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