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

Uploaded Source

Built Distributions

pennylane_qrack-0.10.3-py3-none-win_amd64.whl (23.3 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.3-py3-none-manylinux_2_39_x86_64.whl (1.5 MB view details)

Uploaded Python 3 manylinux: glibc 2.39+ x86-64

pennylane_qrack-0.10.3-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.10.3-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.10.3-py3-none-macosx_15_0_arm64.whl (822.4 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.3-py3-none-macosx_14_0_arm64.whl (821.9 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.3-py3-none-macosx_13_0_x86_64.whl (858.5 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.3.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pennylane_qrack-0.10.3.tar.gz
Algorithm Hash digest
SHA256 953e42a648f926bfd8f71a961854a052d9c8c790487166ae7ea8a70705c973aa
MD5 590a06edde613afedfb3fea9a3f8199a
BLAKE2b-256 26d23582929e7dbe98b3975a06062283f10dd7b43e908719b5e1038b0e089b71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 918352ce7cbdfd03bf5a86951e706b57e4a09e85c14c834b4594e35455e0ac91
MD5 1b73b2d15607e9a88107e423ce0f0102
BLAKE2b-256 757270ac567a234659c814410daa74c6ba33f91a34d67ad9c0952cf3d164843e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.3-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 fccb086f58af6075558d7075638e185015711f1c4fa1faee1127213414e30788
MD5 e5c2d34aab733421a050d94fdbca3ebf
BLAKE2b-256 1daf8fc21e5ef77fe49bddfb8a111cfa8eadbbc77e619efc9b0f0879bf9ed129

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.3-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 1767309ced80717dde95a710d8c9a85ef10e240e4b1cf5f5e4b2aa47edd84aab
MD5 fa9c73ad905ceaf04e9d32eb03b33801
BLAKE2b-256 7073d3b167ff34fdc2c59f5592de9b6a0f4840a54abfd7dfd777eb964183c3ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.3-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9d1cb26f1942deb9b2597515ea1d3d4704fe4a860ae51840fe9a4ce5201eacfe
MD5 201d1acf483c7dff096ddccf411ba291
BLAKE2b-256 628fd60ec0e01ff0117b34f90c958743f53a29b7413aa2a25cf68ee610df9287

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.10.3-py3-none-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.10.3-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6fd610beb7b75d5f32f2c16f2781fc845f96d6c0fdaade319334179c1151aa49
MD5 04ab679594c74f68fe6c4a50c68aeb0c
BLAKE2b-256 e9a0b5c88a144ade8cc9fdc5ec02fed1741f05547a42b741540608848a01ea40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.3-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0e16e62429610cba1c65180965e3a242d702cb341100cc38d23f1157c72af602
MD5 68fb6406ef3f57e55bd380999e2f666a
BLAKE2b-256 249dc2be7321c2936fadbd9405fd57e4313a463fa12ebe6480953f4ae63f67e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.3-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1ba49e4170a49789a72206a011143881611ae04299f76a0b73618c147f6d780b
MD5 8e5309f0d655eb85ed452e8aba16e2f8
BLAKE2b-256 537997e6c79c6d44e7bab18e1cd32c0aadc04a5f1800fccc638ac759a89af2cd

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