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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.2-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.2-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.2-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.2-py3-none-macosx_15_0_arm64.whl (822.4 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.2-py3-none-macosx_14_0_arm64.whl (821.9 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.2-py3-none-macosx_13_0_x86_64.whl (858.5 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.2-py3-none-macosx_12_0_x86_64.whl (811.7 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.2.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.2.tar.gz
Algorithm Hash digest
SHA256 bc425c5ff8d878ba6f1b4bc090e38bd2fef95566b2b6694a069e7328558988c6
MD5 6d55eb46a4021d1897cf22c70b919c2e
BLAKE2b-256 824d8b45ed37bb85d5e49a7b7dde9d0aeebfd2c695e26fb10afee6781bfce32d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8355e549bc6394227444d579f3c9be2cf543673afa2a87504ed6d18112cfdd83
MD5 9fd0ac716c6a505bd64101dca29ef8a0
BLAKE2b-256 0f538448792a096b89bc3926b025654179d7c39dfadeed3c50f56559b7b03745

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.2-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 997e89b58bdf8e81649e90e06a439d2e29c5260ab39ea0733af114271d38cf2c
MD5 4f803c75282849e10682150fdbbbb75b
BLAKE2b-256 df55c4e51ec7f2295f8643ac2770872255367ed8b54e6cd8a5429acb9dc84b4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.2-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 d7b6cc2e369f0e9666c186b1fcec6b9d1d1cc434fd13636315a3b2fe277786e7
MD5 0fc15dd812782409fd572b6f36e216d8
BLAKE2b-256 d3bb7a64a9cb1592f4a0cd0359bc726c0f0cb23c85291d2ebe8c55bb4c128f40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.2-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1545a99e74ee31ef36ad95304e44eae56fb237f8f3fc91229e442fde4ba16d4c
MD5 4d2dc170db13295b14b44ea24b918f0f
BLAKE2b-256 8f2ac42d4c7468911af38c5e74436a61577c262f506a65cfe38da4bdfa84b3e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.2-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3f19696121de2a9d80ce848bba11fc868d7bc480b9f7423539a2f7be7c5edb2f
MD5 2e1b65d5bc7cb4de08578ef5b4b38e0a
BLAKE2b-256 33dc05f63b20768e204e539bf9106fa647cca5ccc82a06a749a856e42e20ca49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.2-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 315343119a73129ee324e853e320f8265c8eddf5b86232b289b7c3760486978f
MD5 aa59819a1638b01176f52d85577be983
BLAKE2b-256 edb07f921200d4bff4d5b9ca6f392faf1861cd12234ad07dc03ac7907e78e704

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.2-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 37f96090afcb20c0f682f0a4411231230ac63ad08a9bb3cb4e2033b376b40f08
MD5 d2233365b03404f0077e487fc04201f5
BLAKE2b-256 c0c34caf664898127ca2304c3a05a7ff9b1d465cd2dcb98206132ca7cea67725

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.2-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 17cd42adc8ab8ef05d9b8c803ba88737d8f30b47819e4680cb63cb8582906ade
MD5 9e4bc90d38a26f5103917ef6ffbd7683
BLAKE2b-256 5569837314bb8e00d3073e2a7acbeb7d3ca7c9ebcc1aedf164237a78120c25ac

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