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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.8.8-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.8.8-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.8.8-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.8.8-py3-none-macosx_14_0_arm64.whl (832.5 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

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

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.8.8-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.8.8.tar.gz.

File metadata

  • Download URL: pennylane_qrack-0.8.8.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.8.8.tar.gz
Algorithm Hash digest
SHA256 cf6541d9789f901a7ab1013661334c3b54e4356a39982519b1a338626212c106
MD5 cd56905a612a0e4fadf5761ce785c7c8
BLAKE2b-256 dc4610fa4dd11283328cb10d7cbf4058ceed2794c61636c4b665049e46055fc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 d75f0a0bc59d45322dbe22cefea9764ee611bd76490d04f101a6ef0aab388d62
MD5 2a3f5944391a1c3f4f9b40cfd5eca962
BLAKE2b-256 aa46279e144b4d13c9ac1f43c1009c263b505d548c7d5e812d7f478773227a67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.8-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 e26e94fc3837793456a3c314d65b742ec6fcda23a54b7497625ccd43835c3b65
MD5 e8aad55f666655a427ccd66e554fb1df
BLAKE2b-256 d0292febf4bfeca382a99cb8f8d273bcfabd7b4f552a4688703ccb0a92b11e82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.8-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 66c006d62c35fc465053019cab947a48f268ceb3df94237f7658a6ee72a7dcee
MD5 4bbf86f9fc019f58fd318446df15235f
BLAKE2b-256 ee9352745abb8e987939a9409ae257c541eccb788a951682ec0f551374f742fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.8-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5d021a8799c458a599226f7b3d491b491c4954da509a24f3cf12341598f51915
MD5 a987f6bb83fff83cacfadce0e28dc6c3
BLAKE2b-256 b649f51a1194dd4158805cdf72a8f29549692f30a78b1b14e4d76c6622631cad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.8-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5f353c9d43a7241de674d5e837225f54d70621bfd5e3310067c5581e13917ab8
MD5 e1492e5a7d56950415801d6401dbc673
BLAKE2b-256 c1f10798af3e443e35df932186738d174e2bed68360e17ef6ec8dfe5e833b710

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.8-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 89b771956dc5e20f66d5c70e5e062a8a54896f908146981e4be96fd551b17a53
MD5 9c3d37459c77e11a46c1e9d52f814a94
BLAKE2b-256 b59770e41674498caa76e659f4d5f07883a60ad054b8033a0339e3f641d3a763

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.8-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 65e4dd04a7033a4b3a5074d25f9715c62b8d4922b6d081cea5093bf58f5a9ce9
MD5 8d97599635cc3f023215000a0590f774
BLAKE2b-256 e7c53821547d18df78c0b78c28c5d8cebff9334b6757417f1d66f37db4ecf89e

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