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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.9.6-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.6-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.6-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.9.6-py3-none-macosx_14_0_arm64.whl (832.8 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.9.6-py3-none-macosx_13_0_x86_64.whl (872.3 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.9.6-py3-none-macosx_12_0_x86_64.whl (825.9 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.9.6.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.6.tar.gz
Algorithm Hash digest
SHA256 531c20121396e9eebf267bb5df75537fff9ca6137873fbfe66224c6d1bd24e98
MD5 5f4d872f45bf615e3be4dd039fcf4337
BLAKE2b-256 1cbf95a6b7831caafc51862b3394e7a9c6807a0f7042a61ddf7f406cb0221b10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ce615d2f4ee7f801c0d050aeae9874d6d7b704eaa440538ba14c663f13e8ef86
MD5 74a88478f8f140202ebc54a97be29bc7
BLAKE2b-256 3bbca750f726bb2045e2a97b373588c10b072f90e85e8641282cc3f5e7b983c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.6-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 1b28b1cb7329014de78176e011d4d7b2cff4155ac19e66792dac10c88d8b8e7a
MD5 e1d1433ad1e42e0c570dd57259b2ab91
BLAKE2b-256 3365342e8bd12fe53fee5459857a5df89d2eab35fa647844a39fb4e7e3c13697

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.6-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 b9ce2332f307e77ce73662a1b2f62a2969c93d44fbf183ba4e8f2696dafaf338
MD5 390fbc7bac7832245ee4f98089ffde53
BLAKE2b-256 f1151fdc68e5ce7b96e932665b69fc6ecd64118aa29c08c92573d458d7ebab67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.6-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7f71201b69ed9942816aa77ac61ed21927ddbd81d003232064c10f3782d1b15f
MD5 0d28779049c5e4c9934e208bf805d3e2
BLAKE2b-256 534be7318d242546ef75acda258164e314c0c1ec445c0547f9bf1269c78a46db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.6-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ee44a5f526a2d060c2c10d4cab5b8b684689e9415c1c3bae3cb06a3985f0de37
MD5 86e97063ab580938ed6a476ab9b046c5
BLAKE2b-256 073625b54b44fc6d5afba6716df19562d97ad49d90be1c1fa617a5a71946f840

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.6-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 82ef5feff1fcd570be6428d8a283269ccb244c596a8aede0066eb5be6d6dca63
MD5 ed27591af953462ee45411adfaae98c8
BLAKE2b-256 66048a5407310d0af52f520566712bcacf966087d5b1b03336f75977bc80b874

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.6-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 3b3a4899e5686dad80261254fff1200da85d3f9169fccf918c0ed0236943b483
MD5 d60a58cb07b970ff15fac1cd287ea49b
BLAKE2b-256 c55244052f48573030e05f81de533de22ee8aa704591ff8a1d5b62a0e37e7399

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