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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.9.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.9.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.9.0-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.0-py3-none-macosx_14_0_arm64.whl (832.5 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.9.0-py3-none-macosx_13_0_x86_64.whl (872.2 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.9.0-py3-none-macosx_12_0_x86_64.whl (825.3 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.9.0.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.0.tar.gz
Algorithm Hash digest
SHA256 f393176232b7ab2c0dc229ea97e300caba9e6d7e7f2504eaf8fac6142a7dc880
MD5 8daa0e80b2270df029469076bcbfce21
BLAKE2b-256 9a06c5e2c362628aa1666f800035f6aa961555d3f2c6fa6c6a6a3b78cb6f80ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5c83df5f6607e240a842758936a1ee0e602eee02c8592dd31bee157e839337b8
MD5 fe6e4119aed37bd5d71160842493fd77
BLAKE2b-256 9dd1962598ec45244cd5997d793bed0409f500bb423092c5cb379da6c7182c75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.0-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 723b506557f7e1a73caca624e718ce76ff4efd13b864781e696aae0cde0263e5
MD5 44f4c235b71707a6c4c86d3989f0cc5e
BLAKE2b-256 4a4fdc825295982841ac734c3954b2c08cc308b871d772a8e3b6b369421af602

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.0-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 5798df4121f8ee08fde969b02c1a6d38ef164ce99c64b6cd7656ddfa28b9ea96
MD5 e1161f0cb4d79ec28213df716278c2ff
BLAKE2b-256 174309b612e661ea27b9f94df0c995a584b94eb3bea6001f6c2eae7844244784

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.0-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6bd9216296beb4df81a8ac58c8beade1229e0496ea33540b87b37ab3877281d2
MD5 123a8951cce52705075f44d15bf68a71
BLAKE2b-256 ac44355b7e223865708c0461955c019035a702e3c7b49d4655c672002ca80218

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 00f2a93d6fc5c733be14b085dc6430176aea18e8bda9dd18400f782366edca44
MD5 5efc35588af183a1881043c7a9c14eb4
BLAKE2b-256 1f899490ccbf3f72a0546aee3e15ae488921da93b825aaf35e7f4138678b5875

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.0-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3913921c6249fac2590fe556373b38f438baf44a2fa301ba0ddfeef216b10e93
MD5 3bb130a7681d622369f6a3a0c2cf097e
BLAKE2b-256 dd4d161677f4c336f3453258e4a8716cb72f6ebcf53bd3cc8fce141ab903bb6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.0-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 73c61730ebc9ff3ce52a49362f8a0829cb5d5e2c02f180d25eb6daa5ad73016e
MD5 b0f9ea5ad17f130e8e23d8a6a7600e6d
BLAKE2b-256 a41f0ab49f297fe5230935e71c6791555b9b05294b702960e11823ed20aa332c

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