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

Uploaded Source

Built Distributions

pennylane_qrack-0.9.7-py3-none-win_amd64.whl (23.0 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.9.7-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.7-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.7-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.7-py3-none-macosx_14_0_arm64.whl (834.3 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.9.7-py3-none-macosx_13_0_x86_64.whl (873.6 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.9.7-py3-none-macosx_12_0_x86_64.whl (827.1 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.9.7.tar.gz
  • Upload date:
  • Size: 36.5 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.7.tar.gz
Algorithm Hash digest
SHA256 ef928cc9ec54499d0a8dea0c918b8ba18be651aa9e687f8c6d093fe30a11c4a3
MD5 258d9d302549446e10dea6a6a45f0dd5
BLAKE2b-256 6f2d92d4d3225718491da3609bb653085189b0546c86a33a54d2f1ae9ce7e9dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 15dfd9a72474bac7aa3550856928947c559ced8869a43eab38ff243a733933ec
MD5 9fb4b846c74f5f15a3d78f0c5412fcbb
BLAKE2b-256 b9e53c1e901355d9d5638add99615551808f1d15adf92bbfa7a3725659c734de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.7-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 5afc34a8b497eedf10b4a41003548ec6b51d197651906c164b97415ccf9546bf
MD5 54a2f57c12abe8ca228aafb5efae85fd
BLAKE2b-256 c15b42bf43d30920161dde5e631c7ef034c34ec98d6e75996ab09870598a4cd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.7-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 aa3b00e5d1a5430593719ff55e5b3ab9998e7105f550851a0511d887e74c3905
MD5 c9263b892f4745e79c63e7432e5fdf13
BLAKE2b-256 3e1ae48befd88a82a7706efe952a174864604b6d27760046d7d1641871071360

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.7-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4224b57e312051afa0dc81bec1085e39d70bad1ebc9b87e6dce39da30eaf4202
MD5 fd07fecc11d1fa6e53e400498e9759be
BLAKE2b-256 6c63f931d3e25f22611c13ff1ee5cb3b5e5e41f07fe2ee0074494a12ece2c81b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.7-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6efc8de2666ec512069e6a8ea9e3d694d21a56741747822b67b0265edfad154e
MD5 9a3783c4243b8581163b3bd424c551ec
BLAKE2b-256 cebcf86c14c101829fe5403619995ace721823272f83d6cc3a2442325833f71c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.7-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0e0783c8e392f2cbc5d2b6c868cecb19f79e0bc20b57846dbb3e1c5930344609
MD5 b92d32e5e55a6f699895504fcf0c533f
BLAKE2b-256 af60849906d0156fc32cc66e6793b7e155cfe1c5e82f2b5571bf2e1710cde878

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.7-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 2677c944b939370a642d15973ddd0d3dc8e10e951a949af60a1a66325a8c2b45
MD5 c9d079b765fa4fa039bd9a8306dd85eb
BLAKE2b-256 31601c8c58c3a32401f5274850d241deb7db8cd71670b4f28f9350f3684ecb3b

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