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

Uploaded Source

Built Distributions

pennylane_qrack-0.10.17-py3-none-win_amd64.whl (23.4 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.17-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.17-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.17-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.10.17-py3-none-macosx_15_0_arm64.whl (833.9 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.17-py3-none-macosx_14_0_arm64.whl (833.8 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.17-py3-none-macosx_13_0_x86_64.whl (872.7 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.17.tar.gz
  • Upload date:
  • Size: 38.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.17.tar.gz
Algorithm Hash digest
SHA256 075555d72f4c67a0da5156daee53db6d70f65242c8f5384d56f5120467aef953
MD5 672bc5988e05fa371bff302ca0829705
BLAKE2b-256 85b2d7e8b8d9dd81afd239dac66a0ad1acecd4f972389467ecb38d9bef6a8422

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.17-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 07b034056eb1e8df12f7cbab9ee983a2e3f48a478ed0b81bfcd11a8b4be18c5a
MD5 0e639a3404dcd08814335e7d4e95f0ab
BLAKE2b-256 00fb0414c03f3474762fb5f05b743adc4e6f31c5482b2e8bb62e67572fb640d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.17-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 5c8aeb2429619463c8fd19b9abcfeae75e1d555e90c30babe70aa5934f48bc66
MD5 10271de02517563b9bd16a32ba034224
BLAKE2b-256 dd5959df89061d68741013dc98293c2822f32585846eefced8db53afc29ef539

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.17-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 4171a3b2bbfbe3b42367b090cfa4bed2e8ef3244ac05d8a55c54539a98f9675d
MD5 08a7d31bc22b3d98fad89135d7bfa75f
BLAKE2b-256 a7e3602eddea6f455ad0beab77a94a76db8700a15518a87de1aed173802c6e88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.17-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3c3678632a608bd607fa8f89230e8bc9f2af79febefcf53a5ff6a14ef4c076a7
MD5 4ddecd1a615f80a72a9e21826bbf842a
BLAKE2b-256 934677923e60467ef57ee157f16b3de45700ba79b70e738d8568697950f9e099

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.17-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f4df41b0529c9f21af3da899095be1abaa9fbb7db4727f380e56814abf60cf31
MD5 3d2f4afa66acd1c07eb6c87ae766c941
BLAKE2b-256 2ac650f54318973a6d6cd94d7462b9a780e9e1ad175f8fdb586986b2b737aec4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.17-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 301b8a3e35febb72cb452ccb5191716a869733a3ec22d60ac6e0a379f82669b4
MD5 832984b7bad457278a483b1295203067
BLAKE2b-256 a36bed048104d3390a1b5c0d54a81817ab6bad7c652ac738b23dc5f794829f86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.17-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7d15fe450e8b6209cb7031953b26d31ffc94450f82af7bf737e972c3ac7385e2
MD5 ce1f0734f66cd4927ec2a06f8679dc0b
BLAKE2b-256 5219f1032a1946c72adcd34cdb91caccfbaac65ca39214f7cd9915824201e0db

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