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

Uploaded Source

Built Distributions

pennylane_qrack-0.10.7-py3-none-win_amd64.whl (23.3 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.7-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.7-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.7-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.7-py3-none-macosx_15_0_arm64.whl (832.2 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.7-py3-none-macosx_14_0_arm64.whl (832.3 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.7-py3-none-macosx_13_0_x86_64.whl (870.4 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.7.tar.gz
  • Upload date:
  • Size: 37.2 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.7.tar.gz
Algorithm Hash digest
SHA256 11542fca2d2873efd4b611b1099a0018529f751d8c59e7fa440742d140285374
MD5 f6452cda01808ff891ac43ca6e52e084
BLAKE2b-256 1bac8ffa1a6879e328fb58538c55d5564223d6bbf6de1f886ca3431b886d31a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 567d27c0574ca214c442587461b8f19c6d17de5a9b8cdb7cad552579387e28a1
MD5 c612f5d69e0d783c9b2d16b3ca62f39e
BLAKE2b-256 eb9ae98454f1deb3e98451faf9bb6a0cffe2470a881942ef69021a24c62438e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.7-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 eb8ba195e4d8c3bfdbf4d60fe05fd36c7a0b17288e852304a14247aab1cecbfa
MD5 9fe6ace219a27015e4c7ad429832d423
BLAKE2b-256 22dce5a8209e830fe999698244dd2a40dbe22627350fa7d8b35548888c065fc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.7-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 9cb5cc1bdca2eef559df46c974c8af02d5b23b6ffbf579e7c67de43e9c8bb6d5
MD5 088f50251d75c86b736bc1fac6dc97c2
BLAKE2b-256 6986bf9987980daab1162f52802dd730b9565426c1f75ac6b27343f460e68e48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.7-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9528398f8ce43e56661eca0bebe53840fdea4e49994fa9f801144eee04237772
MD5 288bc840c72754586c038fd947b353a1
BLAKE2b-256 538e1ef372a100c47ca24b24060783141355b43a864a18c07176683351f41945

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.7-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 064f01c6e837ef4df8cec62c24259e0aee3858f812dbdccf45802aa29502564a
MD5 ad15cbcb2ac3ad819a2ab50c68731158
BLAKE2b-256 cf0976cca9637001d7a4298a48a50311fb98341a45d755c48daf99fd3bd2fed3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.7-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 66a29a2d258de627048946fc3a1773ccdf70651a6ff8ab7b844486d4dbfb6b26
MD5 2c717114d90e48028df2836fbe805902
BLAKE2b-256 8cc4adf5a830fb0f17bb7b7bb18263ff4ff035a82e977ae0b6b6495bd1238ad8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.7-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b794a4bd1d6f02fc8e2bc42e00b5df6227b003992c271db99725ee3718b47479
MD5 d59b2489375bc18762973becbb4724dd
BLAKE2b-256 08c9f72a3fdced5ec7b267fb2a89173ea73e1cc6c49ff6aaeeb93cc71b94ea79

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