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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.8.6-py3-none-manylinux_2_39_x86_64.whl (1.7 MB view details)

Uploaded Python 3 manylinux: glibc 2.39+ x86-64

pennylane_qrack-0.8.6-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.6-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.6-py3-none-macosx_14_0_arm64.whl (1.0 MB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.8.6-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.6-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.6.tar.gz.

File metadata

  • Download URL: pennylane_qrack-0.8.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.8.6.tar.gz
Algorithm Hash digest
SHA256 d74f14606ebb61bdd57543faab5b84e14e19ce5f9c6759fe4457b211746a34db
MD5 8c04893e7543d011fff463caaf3f7f5e
BLAKE2b-256 937761b8c44cc0d183f12356e32f4d2c25f8849094499b07ac0df169d3b894b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8dbddb451f9a159714bf9bd4fb9b53282d12f877d619bfc61f573edee3049b7d
MD5 5a39049e1ba9b1990a00852ee3e2257d
BLAKE2b-256 d55eeca149dc73ecb9151598710f22a1c389af3382a3af554a67fbcdb18f3e88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.6-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 f7e3ebb0f35acd619a00c44b4651b20b9e3bf192357416ddc25f8dd649325b32
MD5 dc5a2c7ba2576ffdc7224da3c25e3487
BLAKE2b-256 a30dfc40830193d5a217226bd87743e61a90f2acdd9866b2c51c9740b027f4a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.6-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 ffc20b5ba2fa2e469ee31c0736115714a2b4ff3c50f1de378e29118053dec51f
MD5 3bfa22aa5f8f5b3f20bbf402b2ca079a
BLAKE2b-256 310951e4db037b18f68842b3052f93e01b45718c22bbf52e2f03c7c601435e99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.6-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f19d701e827ba1a40ad4a8256b4953325806afbcc48271b95a6f6901b6126d89
MD5 c8db65b4cfb357ed5e7f49652edfc905
BLAKE2b-256 32519ddd7b20caaba6954c944bb7e2622afb2e90e5d98aa1ce9eeccbbedbc84d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.6-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2aee99f0abf2058a08e311cc071b068852fe3bfd7076c6a27fed4a597a7d2b33
MD5 7abebcc2edbb60078874ebff85f87edc
BLAKE2b-256 990fb3cc08c1ec062348485e16daf1b64fe68aa79433dd0b49067e8b2e13368c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.6-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 af7d225dd012e99fc13ab7dbb02fc46c0ff823bcff919d360e29523d3dd56db1
MD5 ef6117994a768a23f7e18fd816ef4605
BLAKE2b-256 3e52ec5337e8bb41ff7e70615fcf40a91a6394c2655eb5c442b87741afeaddbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.6-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 119363be10e5a2833fbc30200eaa7dedc58d87f02756a786ae25436bb39ff035
MD5 a33a30f63101de8acc7e9ba649774e4d
BLAKE2b-256 8f6ffaee6b4dad5be4e0f6c0b8c446068b41d99f800e638ffe0edbbd8eabedb6

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