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

Uploaded Source

Built Distributions

pennylane_qrack-0.10.14-py3-none-win_amd64.whl (23.2 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.14-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.10.14-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.14-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.14-py3-none-macosx_15_0_arm64.whl (833.7 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.14-py3-none-macosx_14_0_arm64.whl (833.7 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.14-py3-none-macosx_13_0_x86_64.whl (872.5 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.14-py3-none-macosx_12_0_x86_64.whl (826.8 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.14.tar.gz
  • Upload date:
  • Size: 38.3 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.14.tar.gz
Algorithm Hash digest
SHA256 9964fcf91b7864f59fc95579aacaa06fabcc0b3f36848479306d7c6939f48658
MD5 f4ae310594e99cc82cf0b211265322f7
BLAKE2b-256 ef3a12fd4f7a1980cbb56a919cf70a52e150c95e66aec2b4508bde72f3b362e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.14-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2279b8746171907193e3fbc26913102033c824db03a4392f4ace5cf1afa968c1
MD5 1c9fbaf8100b5886e4a247a6ebc40828
BLAKE2b-256 3ac8259c14846f6b0cd7e38011c6edf0a7d3d6c10b88c2fd6633b1d939feddb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.14-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 346e188a02e785d883e9f8d934415867fa486d7cb4e781d2abae7742fea967f3
MD5 7c8540c8591b49b9242461ea76b5a467
BLAKE2b-256 c49cc0f51627ef318ad79d35dd68636bd6640a9dad4a981345b2ee5ba6f5f7dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.14-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 590786f10da28c5a34a8ac62ec4d6d488b33368763885299d3de25b220392d1f
MD5 e42caecedf3fb9bc362c29e9a5837c8e
BLAKE2b-256 f89bf6d295fb19bf1c1a23cd74ca8299380b33ba4dd400bbf9d2a2f386b83a1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.14-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 5366837115ee388c51c4cbf53046fd954816ac06853d03a740df0182ee0459b6
MD5 7f0f6e6b1b9916f5abf3450d83c238b1
BLAKE2b-256 f3ed5fdaa04dafbe83d96c2cc501b182ebfd2b13608815fee67b671ecc870b69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.14-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b0f7180989d4dc157231e0fb0b74e429e16e84fdbb21a7b96fe131bf7bf2b417
MD5 c90e35792feda149bf503e682934a91d
BLAKE2b-256 c77525f6a5a3fbf4a007cc100868051928759ad4bc6d7594bccc5b250ac96c44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.14-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ab905a85977b32b3bf11433e09a64da318889bc1e8e24b34998434089c8c6d0d
MD5 42671f62e44093bae7e4a795ff3bc52d
BLAKE2b-256 41632fac13b330b833eae20323051220fff18d3e9493b0a7c052d9ee9bb08dd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.14-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2f52bfe826a4aece5abb64a85498fd506dbfd021e6128ddfb0513a0dac2ea12a
MD5 affd3900d4b6d658a73ff4da8d245fb4
BLAKE2b-256 2ed902fca9a844087de976912b022b3035a1a2cbedcfa1825c197f3263deb76d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.14-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 14dcbf45ab81cc499778766987518bbba67f81d2ad6ce07662e0c79475809b54
MD5 744da6f0f66d2fee5830b1d498cdfeff
BLAKE2b-256 4815eaf95204a65388f4c94fa0378c674a3dd112a13af31290492e6e855085f1

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