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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.8.1-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.1-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.1-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.1-py3-none-macosx_14_0_arm64.whl (996.0 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.8.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: pennylane_qrack-0.8.1.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.1.tar.gz
Algorithm Hash digest
SHA256 747ece30113598a143acdef8c0fe701860a5c855d57fe46d58a68dc5a65d8c1f
MD5 afe010dba4c39ef6580185e87ea4c84e
BLAKE2b-256 d8ec7661dfa8d838e78f54193b19a97713636144c2ec3667fdddb693b1cdaee9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 385bbc363b16ee1547df8404a3b8d128eced4eedde695e4cdc6dced3d67ab8c3
MD5 3c2fc3139c40ec471fc93b149275363a
BLAKE2b-256 784d8aaf085e439f123b3542ea134af3ed65dd0ae424144fa534dd504cb45ed4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.1-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 941201fe0062e297cb8ee08171d5d59632f2e0df664c1550a5f06ff4acf4dbc9
MD5 ca88892944e8d3f7e1f735d33466cdbe
BLAKE2b-256 15ba1f71324aa4cf447fd5b6803292252374da386e9ba86952c2e1f5e89e2b91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.1-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 29951ecd1fe5b7054a897ecd3a1e17ffdf20e609ed5a84d01dc56e7d8855b282
MD5 5a11f9cc40618642f42b89bd1d5f763f
BLAKE2b-256 e83a89b7f60c891702e47f6d4d66e451ade72881d493310cfa8a3088e6b7b1f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.1-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b0e8f4741f8740b6acf31761954e53b26647483f5e190120af87b8c5aa63383f
MD5 8b462b9e1e708643fcec6f0228b67bf2
BLAKE2b-256 b09396f5358c2db1554ed2b3d2e7c418ef93599988156877f8f89b8dc7363e30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.1-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cc46a6dbdae62e6f46b4587e94322fc40fb4881e7f37f1f41f4956a705fe3041
MD5 de51526532086105a86bda6033d47e37
BLAKE2b-256 b260fbad27dd2dd936c71c033e5f58477a157cda600754351002aa2a81eed466

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.1-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ec4ee937ab5e6f69256d62f5a8c3a41df27fdc4dd0439e7524672c8ea5987974
MD5 07c36f1d48fd7d072835fc691d760df5
BLAKE2b-256 44dd387869761654f3030d2412ea8901258edb5c316cbd3063d039fa6763f974

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.8.1-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 e6b030c54aa8192c856fa0415fa0e11f5d254d943634f5d571bc0b2b4f995ca8
MD5 b2cd4b92dd89cdedc5499963ab1f7cd2
BLAKE2b-256 22e8525bd6e4195c6737fb53ca1d5af80da4262d2293725258b7dbb2fd82305b

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