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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.9.5-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.5-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.5-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.9.5-py3-none-macosx_14_0_arm64.whl (833.0 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.9.5-py3-none-macosx_13_0_x86_64.whl (872.3 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.9.5-py3-none-macosx_12_0_x86_64.whl (826.0 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.9.5.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.5.tar.gz
Algorithm Hash digest
SHA256 4c510613febcef195fb7448b927f3bbc5ab74db9a36bac256d857e4247ed39dc
MD5 b622214f75c57caf9b6e472d43fc4282
BLAKE2b-256 b7ed7ed22def5ab8ad874202485ed1e4fa9383eb1a5c8d32e779097e36870a2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 09b574a0f012a5df63b8bca5173a4b2d0c919c928e4af1d5bf53171bbdb027a9
MD5 87129a08fbb6df70e8f33c67ff119e59
BLAKE2b-256 d7c1d8ce339c017f184f89cce2f521ec0887eabf7c485bfff33d65127ccd0fad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.5-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 d5f9f81a8c16683fe45a446d1409cf4eaa9e5e10791bb59e772bdea311d7c7c1
MD5 eb5fc9b40c5ebded67f74851db5c4ef7
BLAKE2b-256 dea55114b564153bc0ace38e9a946c82377856665e27ae0f328f1263cdfb3e21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.5-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 b0cdd29f4f147a18835ec459dd9ca14b937c162d35dfab2b909588e481efd164
MD5 3b5b65ba734d3b4ea25178069da3d86f
BLAKE2b-256 d9a4a643e1653fc7e99ac7156e3a5a42ef48b0824c2192935f313019d419eabd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.5-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7183e1119e5b46ae23c2c949b4574fb3e82b1cb22dc5f7b99a598939c6b35bd4
MD5 16b3b00639c5158106fece048ca56ca4
BLAKE2b-256 6065f3dbdf29fbbb3aa1b344e1994e36fc8bdd6c09811475e89e31b065632e31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.5-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8138c8d79a5794051ca5a31a3bd64ccad3e202cd3b3f5d6879e1632f762e22ee
MD5 cc8304072ab8f33d457e3293990f71a9
BLAKE2b-256 2d28415eacc0276e8f7dbd342e9fbb5f93bb1ab43229f6822018d2346226a1ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.5-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6b59e999efe5d59eff730173d047beb17493f8c7aa94f38b487a75b6f8f71035
MD5 14204aa982798b1085c15c496a505777
BLAKE2b-256 bfcac3c0db01c9cf5750628cd853d90c15b90bf16d356b2f301ec156449cd45f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.5-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 75122d4c224831def723d0079b875181afb0dac1f04562802e5e6992684579d0
MD5 929a47786ba519bc10d4eae4b1717f92
BLAKE2b-256 126fe88de81ac55fdc60d7903c475cc036377ded0caf8eb8f04d7e257809f806

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