Skip to main content

PennyLane plugin for Qrack.

Reason this release was yanked:

Wrong header (segfault)

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

Uploaded Source

Built Distributions

pennylane_qrack-0.8.0-py3-none-win_amd64.whl (22.8 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.8.0-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.0-py3-none-manylinux_2_35_x86_64.whl (1.7 MB view details)

Uploaded Python 3 manylinux: glibc 2.35+ x86-64

pennylane_qrack-0.8.0-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.0-py3-none-macosx_14_0_arm64.whl (996.7 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.8.0-py3-none-macosx_13_0_x86_64.whl (1.1 MB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.8.0-py3-none-macosx_12_0_x86_64.whl (1.0 MB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.8.0.tar.gz
  • Upload date:
  • Size: 30.4 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.0.tar.gz
Algorithm Hash digest
SHA256 c968250abb6e570cefa635b632b561e4010d6c7e0fe9b09912eb759a793258d1
MD5 bc30fd96d7a2b60a74feeec16cd4f31a
BLAKE2b-256 9a56b128a7bf38850f1f031606eedc7b2546d843296ac479c4db46a3a848c999

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f220442b2eb811014a515fcd39f9f60093c5d8d2776b71030ee8e5641cd8d69d
MD5 8aaba8333f6e38ac06290b8609178f42
BLAKE2b-256 36a906135911e655f7cde6c57984ff39779a25a8910bceb3c7775324209a8040

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.0-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 c91e45a83018427a57a682b4cfb05787c59603bc80012709bdb8b2325b0600c1
MD5 06c2caa0e5652d921e6df4c230a42613
BLAKE2b-256 4fdb515b3775a245f8a492b510d00d5343b1d39daafb5381cf7f4f9fdca6e4ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.0-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 8f83f74be038d8f1a19cfbd064fa58c43e1f5f6eed36656a7706e5c9387d521b
MD5 ff58689ddabf44320bea2bff3b7ee15d
BLAKE2b-256 5c7339c7965135005a7ca80ab067f15b24427b59866a8eeb1e7a0835f7b9d460

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.0-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 29b1bd7a085b2f935997d8a127e3d8320e0f206c99ec96bf6ef286e1e9cae5db
MD5 b6b4de4043ce61f1b0ac2de2cb616437
BLAKE2b-256 323f1f74da376c262a6ed76fdf269fa962d786a9982c83a8d31acebf0111bfee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 70718fd2ded555e8af81f041a59b8c7bca316c1ec353611a509a4bcff3f47ada
MD5 cf7d2b1ab1446bff906d6f190dddf442
BLAKE2b-256 c80e29eafc3740a6fb61863149120b69b5c83a70ed215eb5565556b212969242

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.0-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ac3f61cd148f3e8535eabc213a694ac9a06579285a6d0f664d738f21257ea134
MD5 189cd8669855cd20ef00b5436a70ae98
BLAKE2b-256 a731beccc1f6761ebb2d6aa7e9df55d827e87e0ea712a69f79a898dd1b2a0984

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.0-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 1bd9af437f586884fc5ef2129422917c69ed652be139a855f9942be0bff28882
MD5 cef26fa99776723b5fe3997e7b57ef26
BLAKE2b-256 25a73626e1e0b97b06fa260c6e825540c517bd3061b1567aa120049698c75147

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