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

Uploaded Source

Built Distributions

pennylane_qrack-0.10.13-py3-none-win_amd64.whl (23.2 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.13-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.13-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.13-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.13-py3-none-macosx_15_0_arm64.whl (833.4 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.13-py3-none-macosx_14_0_arm64.whl (833.6 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.13-py3-none-macosx_13_0_x86_64.whl (872.4 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.13-py3-none-macosx_12_0_x86_64.whl (826.7 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.13.tar.gz
  • Upload date:
  • Size: 38.3 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.13.tar.gz
Algorithm Hash digest
SHA256 a379e1fbf8ebdb994c09b773d280da582d1be9c3b503beb6b22ecef4551b98f2
MD5 4cf1cc348dc0e9d0f123e752d67e7b4a
BLAKE2b-256 36a8fbd843890539bd2a238c165f9d35e2c47a9a00071ae532b0f7a17a6a8cb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.13-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 72398c5e15f457b2066729602bce8ec959869f1098fec06a2a4e1dd9d1c5af81
MD5 364c260c83037fdef90371e08057707f
BLAKE2b-256 7ac166254231beb9fcb50ac0c6edd06fd2cfa8ae4862b1683f0153c3417e5ed3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.13-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 49b7f48797d072057f507d1d7fb2c6d51439202340439ea67b6d270b9390cf0a
MD5 9d8f63beb475f1b85682ecec13f41721
BLAKE2b-256 5cc482c6530cc6f35117675139c55ac3e5a3539aacef5491f1eec24c0d06dead

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.13-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 0d11a5b601c2b57d2a16a0a9881c39d54ac3cbcac18d3b052dd32d24ccf1c859
MD5 19c1ad897d5f43486a3660e8a97a0fea
BLAKE2b-256 2aa89296513a77fe0a234d44577430793a2203034949672d4e827c341a10baa5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.13-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 91c3f41b09638b3cb1dd4635d15fc034b6689840a0673f4fb648cfe2d5ef22e7
MD5 a08a752c3d81c55bae29510bc9d88cf0
BLAKE2b-256 ad6ed94a3553125bfa244a16e9fa6c0423da0f34135b703985cef9f4f99113e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.13-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2c1e16e51e5ae4b6221ca911b5deba0c08e52891ca175e92b1f84940fdd3a372
MD5 f33e0fbcc2a6a45aac370b292144de12
BLAKE2b-256 255b29d0535e873aac8ad8d5a40f342054bb04ca0ddc47c626651bd642db77cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.13-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0ed1922ec2ecdd11e1af5605d796e311ce0b44948bd8637342148ae5055e60d9
MD5 39319b752a2ad3c7407e855b896ff7f2
BLAKE2b-256 012e3898a262bbc0cb04ba417571a5fc856c8571e4376ec72e3e0a3eeb16b2df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.13-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f6627c1fcb638b8ee5314b4ec5dc43b054e6aae0094752baef7580b994a4ec69
MD5 05cf9618475943f75da3e66809964968
BLAKE2b-256 c4f5afa04dc6425b1e161907e4a0edc1942972571224d6615d8f05900b00c789

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.13-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 f06e8cbbf3277c63c9e75e9b56eaa323504333c29606967d9a3ed535afd3902c
MD5 9ede1e7f930b2e2792e291053b613936
BLAKE2b-256 3567b3c0280645ec70997f584190240e8debc71452102f2c959c165cd21631be

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