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

Uploaded Source

Built Distributions

pennylane_qrack-0.10.11-py3-none-win_amd64.whl (23.2 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.11-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.11-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.11-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.11-py3-none-macosx_15_0_arm64.whl (833.4 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.11-py3-none-macosx_14_0_arm64.whl (833.6 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

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

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.11-py3-none-macosx_12_0_x86_64.whl (826.2 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.11.tar.gz
  • Upload date:
  • Size: 38.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.11.tar.gz
Algorithm Hash digest
SHA256 cd006230e64dfb3332d518908da13b785c7294162879f1fcfefc02804bc5a8a6
MD5 1e1e650a65edeb3d14d53fd84162a398
BLAKE2b-256 017e41159ec360786ff4794f76bb5fadde09e532c8ed2d48f53df5f2e6a7e5f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.11-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 75ad7bfc6a69fcacefb129603345a74b259a8436af46bdc3142210e06f71481b
MD5 d4bb42b35fa71c17da69ab2dc7b496eb
BLAKE2b-256 f8388e5e8da26c82151e74429b0874fc393387d4bb30265261ff7e91f82a57e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.11-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 9bcc451af57d11924b8c596128111eaeed2f83788d99ae32370ac73e8e766b63
MD5 1ea6c4f507464758f3549854d87cb1c5
BLAKE2b-256 ba7cc24ec9ebabc6325d0e6b722e234a892ffd02e64d6102f8d754ccdef7d93f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.11-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 18d9a6fec5b4654b087560cc09ceac066e8472f79683968b2fb48416bc73dc5c
MD5 2fadd1e35d3440e28ab8e7c4c8cc0dc1
BLAKE2b-256 90d0e7a4c9f102a8e0da5ac0cc18e520505ca2b02195b9ea494bc90bd1e1a832

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.11-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 290169c4dbb54ae3b429cfdeba8f04c46b937d663c58f950fc13e99bedd25c6d
MD5 af9bcf518e9b3dc8253e8aefe480af57
BLAKE2b-256 f9d101dff07baf154a981dcc2b895e44401ace245e5a2b032b343e4053436567

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.11-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 95931b5f719ac8d94b69db4bc6b221bc2b85b109586e660ebd187c3bc1d46147
MD5 50597127b5eb43535760921bc5a989ce
BLAKE2b-256 8d7d363afd7f0ffab0889863e327a2c9215bd46b026a046a2078a63c37edc256

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.11-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 72ffab4708be51e9c8a446bb8ef2a9225a9ade5219da458f05e40435bb1c4e7c
MD5 5c112d1f2131dcf614e4453c0364c392
BLAKE2b-256 45baeeb4001a0fe516924de087d1307848e32453b2f494110f2544653a99d903

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.11-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fbcc897a40356fa0578d4e68f5a8eb2d6df0d782024203f5b4f402e61ea99765
MD5 1abd2ced233e676a0450fa8c86ad9c40
BLAKE2b-256 5e4562b63467685575fdfb72e7eee9f4ebc4af94deb263347822457376bc7d6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.11-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 9ba1c9f8d27f5ba7780231cf69a1a1744144f9c551a8272d4154e1bd13a4b1a9
MD5 e94703dc7fc608cde016cc826541999f
BLAKE2b-256 f3fd8123923297225d4de7abcf59938f390978acd313995b4ab9c86e804e2c8f

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