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

Uploaded Source

Built Distributions

pennylane_qrack-0.10.0-py3-none-win_amd64.whl (23.1 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.0-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.0-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.0-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.0-py3-none-macosx_14_0_arm64.whl (835.8 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.0-py3-none-macosx_13_0_x86_64.whl (875.8 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.0-py3-none-macosx_12_0_x86_64.whl (828.9 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.0.tar.gz
  • Upload date:
  • Size: 36.5 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.0.tar.gz
Algorithm Hash digest
SHA256 3fa1e84d0861a6f3b92bb56ea17d621b249c77a60ecea73590dfcafffbc5fd51
MD5 b7a3c6de70e74f324851aa6bc8e9a0be
BLAKE2b-256 70ec1db08dcbc33280822ca78deee3eb6e11ef63e9707b7417fd2af5e777ed3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b7783be996a98ad9fbeb330463ac328cdb5f94924b2a6ffccc072f89d4e4d4a7
MD5 401bba58d0310caebbdaf7e9936c9fee
BLAKE2b-256 b7f85f420e8299e1038229a6f2bc88755adf1c22d2a19f82e3c6dcdbb9c3a9ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.0-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 ca5eb801c565c096e53fd47e7574867d6b13430504fffe79a20bae00cdac4251
MD5 b87384de9e26913ebd58d4c740e0901b
BLAKE2b-256 325b0f75e0eb1617abc02ab90034cc25d803cfd2d2fffc4c54de3967de97bf56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.0-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 08774d0faf56659362937328269466f11b918e8b5db918f308fb95c5c14b4599
MD5 ecb9753c9a1726ec320aeab4eecdb156
BLAKE2b-256 7f46395b4daa758552e950459f6b1460e6e54bd042c2da7f54d0c5a83496f28b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.0-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 52a61ac35b2adf106cf8570678eb9da0ddf9ee2abc6e2c2da5eaca3e9dc1f1ce
MD5 e8765a2145c3af9ce56ef3b0c16b0732
BLAKE2b-256 c97bef79f36c565a9562ff34a4983043d1e04928ae5f4d5b85122c306a9d3fa3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 56864a31b22d45f9e081e85e3c78374518415404f668201e3862b1202b5841dc
MD5 b8d553454f47de7ba6bde2c84b55c21e
BLAKE2b-256 46b591402d23234b351e9a44ec81aa251d09d338d1238dfe717d85c2c2156de6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.0-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a933b0f5ad7e02c9450256a3e1bfd85e22b4894627bd25c91136e17f84f52fa4
MD5 c184b53468153370f4b549725cd163e3
BLAKE2b-256 d2edc8b40c6df8a9f1c871573f26e0cbdbea915e1537d4578f7a52815a62afc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.0-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 88316dc4e4ab19557813b1cf0835f6a8c8357fa618631d4f74771b8588aaf983
MD5 e18d440e24013f8671fc681dacdcd40f
BLAKE2b-256 0ad2d307f0a7e137584cbc325030779a43d8674ba1ac19b7938cf6ca71bffd23

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