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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.9.1-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.1-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.1-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.1-py3-none-macosx_14_0_arm64.whl (832.1 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.9.1-py3-none-macosx_13_0_x86_64.whl (871.1 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.9.1-py3-none-macosx_12_0_x86_64.whl (824.6 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.9.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7024e495af293009d85caee5538f9b595e62348ad73975544a83a8aabb69020d
MD5 1825b2798b364a9cd00dbdd729ba6b61
BLAKE2b-256 bb9805c3c4fbdfbed04248629ec0e21f82287dfb6f20cf43b222bf1e4286fce6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 397aa1a23fcaf0886d679e57402e348a52024d1f8f48ef6d52a29e7ecb87cbd2
MD5 20d16b75e1a2fa6b80e14115733b8ab1
BLAKE2b-256 1f03664b82b8ffc6487b5342997f6b120afb18507a7618a7760935ca0e230654

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.1-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 7c8f2fd5b2fab7c8af858d42d2842eea8113356924b5a792fc274fbaeeb68fdd
MD5 b3968a4e853b2d65aa68a1de6bc98746
BLAKE2b-256 4e032a5b3199bab6794c5b0238c5581c15b586609126a83e536779804284ccae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.1-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 ecec155c2a0bc885f0398a5a7b769f4cbaecc2276b7f51cf400a89b0bcfc0c6e
MD5 2f09d4f31b897e61f558ef74579a5a4d
BLAKE2b-256 3bd8777b2ce15fb08fc2a79ea6af593993364f3534311ba0458ec6ef4f7ddd7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.1-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 62fa0e80a621c2a7f2ed34b9f3ccd1cb2d29d3ca106b37921db8c6d85217246d
MD5 bf533cf9c81a5703f368e70c24ca896b
BLAKE2b-256 d4475ca63b12d6c93cd6c3eecc3405320f65594b45c65ddde73e5ca200bb564a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.1-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a2bd4c617f5a4a2c47a903a310f6a8d7448867965dcba4d861d9b176c927100a
MD5 e462ce7c67f5469e41c18f9af48dc80d
BLAKE2b-256 de6dfb47e290c78e59d791ffbaa9ed13a1c24acbd773fcc1345a2067f1fa0f79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.1-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 edfe61389611cd00dec8b2ba5037742c0d051d40d26f066c334980529da39bf0
MD5 b6ec0cd901e00199e57ef9f244517603
BLAKE2b-256 e186d3bd18fa6b744ccf456c0e5a75ac8f916a7b1cca7c22bab9e5ae6fc527ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.1-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 68313deba011d0e473963c14b1e0288d96768c861db0a2383ed0397e7b87353c
MD5 71d3fe2cfba75b24d09790f30159b81a
BLAKE2b-256 a257057fe1f1fa33fa45c2e71b5d90e1ab65a2a1e37a2e6d2ff8bc18eb6f8170

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