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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.15-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.15-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.15-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.15-py3-none-macosx_15_0_arm64.whl (833.7 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.15-py3-none-macosx_14_0_arm64.whl (833.7 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.15-py3-none-macosx_13_0_x86_64.whl (872.5 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.15.tar.gz
  • Upload date:
  • Size: 38.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.15.tar.gz
Algorithm Hash digest
SHA256 736b34a704107c802fffe0d150e28e13a23e3cf869027a3be086574b4b4b792f
MD5 dc458a63c1817fe632298f28c2515cb4
BLAKE2b-256 6126625b68578a630e678aab610b78c59b07e5d8d1c3c7833e3dd7ad89a5dba9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.15-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e5158ab5126164ba50710ad8e58930651da1a642ff1bd42f910324ff0cdbcd30
MD5 6018069c4373742cf552739e81661521
BLAKE2b-256 4b1866882625c9878b0a53f62d7293eb70e17bd039d126460824fca68866d333

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.15-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 53b5b2f6c70fb981714459ecce0dae1425955727e531e28894ce7b1207ae07fd
MD5 27b94a541c8b10b74b3c509c0329285d
BLAKE2b-256 5b4488dbe74b8e18c3f64579d6c90da158d414ce7fc05166fab5aa170d030084

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.15-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 8882e47afbc4d092a431b2eff37f9f8873b7704522bfa41abf6ee40422c02012
MD5 ed472887435b8683f7622ea7ccb526c9
BLAKE2b-256 5297e976b4543f1b8d1649ffe8743c369a9ace71b0649976b12ac6dbdcdec63f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.15-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4ee01b5a69b98c0936d5180e6ff4bac5f19515c48eaedd9681f87e0d2b96085a
MD5 4c85c31f36004d1e731d227e39794d89
BLAKE2b-256 f76e6136fab17d7a9e7b2da3572762aed10667772802e5a61aae6d3262b65923

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.15-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fddd0cf615ec0e4a0dc499afd4696aa7421253e98a410f2d174681f48459c4be
MD5 b1c1f2634be02593757c81a60afa4208
BLAKE2b-256 152896c567c787f0b886a9cd26a63997cc3ea93243e7452a494cc53e8a2c7575

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.15-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 763fb54f8b17b237d1ffb0052e0428f5998002a4155f80b5eca7185811452934
MD5 ae16e4e874a8e68a84293a6906a5e1e0
BLAKE2b-256 20bd7474b69c8c3cb509c897f0ec09350d81a4d5ded3fc55910e8feb2289c015

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.15-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ae307f8926f190dad56fccfa2685f620ecb06792ead6b01345587fd3fd8ff6a2
MD5 5fa9565aadee7e0059b66de0fdbf2424
BLAKE2b-256 1117e28463fef5cc2cf66547d66ed84a786c65555ceb8d41e62dda4a0e314509

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