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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.9.2-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.2-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.2-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.9.2-py3-none-macosx_14_0_arm64.whl (831.2 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.9.2-py3-none-macosx_13_0_x86_64.whl (870.2 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.9.2-py3-none-macosx_12_0_x86_64.whl (823.6 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.9.2.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.2.tar.gz
Algorithm Hash digest
SHA256 02a0c0949ac035b3e18eb7d77bc881a1401be0265aa47b761eb8216ca3017273
MD5 9c1840c0643f6b9bf51dbdee3de3571f
BLAKE2b-256 14dfa5c12a87c33d976c6341ffd3c948139ea4760fac31a54fab952b3b1f297e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5f03830b202cd0f77455b135594d8ce959b476ec7e32de21a6fd0066b8b7011b
MD5 ea03b4504f30fa42789823b3fcb5d9fa
BLAKE2b-256 a8ffb34a064fbb25065a25b95edaf3ba5483ab148c61f4141df37a64853e71bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.2-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 59f2ef311d889ee67a711f80a40fa9b43f47632160bff58d12d718654cdb68e4
MD5 696f3464bc83b6b6d741a9270ea00348
BLAKE2b-256 2a2c44392cf97ab36c52dba408ec773cb81704b2f861f4159a1267f1c625a124

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.2-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 9bff693d7f9abadcf5c22941b9a7b9006f6af5f3f54ba83eb1148120e298a79e
MD5 33c6690582473aa24e506199c4f1acdc
BLAKE2b-256 f9cd845e5480617346d6b03df5d7eb1f92d1df28a92ac0e2b1289c23cf0295e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.2-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3c9b8c4768136014523ea16355b47f980e79222a0fcbd4799d685a88240a0dd1
MD5 56e586ddc3aef0856f905941857dc8aa
BLAKE2b-256 c9dabb3d5f676a0695b596c13c95c642d0fc36402a171ecedfc504746772d923

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.2-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2c01af78a2a00c9f11efb978fbced1e4f68d85967a13f0cc4e7d631a0bed489f
MD5 2435a6d587804c2b4358dbb02db42082
BLAKE2b-256 73ac335044c3f3be74675340f780d9d7edb340e71a6abce5ea00fdd45500c99e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.2-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 661cd73a020648199c492979a49ff84a9ab4362c673387e5db56fa7ee281beb9
MD5 ec7a7e39658a0ac2fa175cd1b0381b2a
BLAKE2b-256 1135ae083243538da2d82342c06985e485bb4b3d0b2c9a6b9198ecc941c7db0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.2-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 24742d396fda0bbc44b067cad4bf02d9bc0ecac346db812d68b90adbbe899dff
MD5 cbc6e978920b1616d933e4154bafe284
BLAKE2b-256 d4f5e96748525eb731363fca63afcc3c231812e953aec4f7f5f637b2f43cfcbd

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