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.

Performance can benefit greatly from following the Qrack repository “Quick Start” and “Power user considerations.”

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

  • Provides access to a PyQrack near-Clifford simulator backend via the qrack.stabilizer device

  • Provides access to a PyQrack simulator backend optimized for large-scale approximate simulation via the qrack.ace 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


Release history Release notifications | RSS feed

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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pennylane_qrack-0.28.6-py3-none-win_amd64.whl (34.3 kB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.39+ x86-64

pennylane_qrack-0.28.6-py3-none-manylinux_2_35_x86_64.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ x86-64

pennylane_qrack-0.28.6-py3-none-macosx_15_0_x86_64.whl (970.2 kB view details)

Uploaded Python 3macOS 15.0+ x86-64

pennylane_qrack-0.28.6-py3-none-macosx_15_0_arm64.whl (927.7 kB view details)

Uploaded Python 3macOS 15.0+ ARM64

pennylane_qrack-0.28.6-py3-none-macosx_14_0_arm64.whl (934.5 kB view details)

Uploaded Python 3macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.28.6.tar.gz
  • Upload date:
  • Size: 47.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pennylane_qrack-0.28.6.tar.gz
Algorithm Hash digest
SHA256 6de0f9a75c0e5af778ecfa090c568a76f0e68cbf4b0e19edc8990e01355aace8
MD5 caacdb779ce87457676a4db737d2b227
BLAKE2b-256 321b61487513f20c5be58dd125d5b727ef860c698d2722d63dfa08a18f146e84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.28.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9b60ec6ab5796461546c6776cf5c7388367fa052d2def126395092ea9d787fc5
MD5 9fee42c0d4a93147da4e9426e193c79b
BLAKE2b-256 3f76f49e4d5981ef64e9d55e70f2ef912e84ffeab1fe5f037c7a21aa93b7a330

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.28.6-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 df0c631865eeef1d25d9b8dbd648c1db6c0c9dd062a93d3ff08f155c6e5a3069
MD5 dcc9e4589098cf32378b96e34187107e
BLAKE2b-256 69911c7ebc63187bc110407849d9eda3d3ef26f9f8d9624135c6bf1a72db7165

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.28.6-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 5a307b73643bdf309ab0640651542ff2b2ff1d3dc84c301279aa36ff07d6deb1
MD5 d06e80bfac07090f356f16d2da1f9107
BLAKE2b-256 b46420db0a0ae4a752479bf5a4694201b02aa84e86c134d0905489b87861b0d0

See more details on using hashes here.

File details

Details for the file pennylane_qrack-0.28.6-py3-none-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-0.28.6-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 cb6aab640ba51941eae7129b8fb18fa18ff49e9267bff1d09d18b462a53b9465
MD5 224c71c4c1c9ffec98af803e6f67ac56
BLAKE2b-256 3d3c6050c221660d979ca7ed326579071f4198bcaffd23e172b136c6b55f9d02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.28.6-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 2fffc801e39dfb0b9c389b11bee2e09c8332e8be670313c7d98c6306b28eb790
MD5 e96eef2226dcf2b8305811bbd2aa268b
BLAKE2b-256 42d6f83aca83abc8da7c192adf409a410695ba1021cf600dd9a33a4ba182bc93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.28.6-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6384c4fe52b1b6dd5f5559cdc877ba4f2fc31707b4c8312757fd5a08e790cdc0
MD5 65e616957cb2b6752c634382cae122dd
BLAKE2b-256 08a12aba6dbda85f7ba925912469d5e4cc55b13f6be2c53de23282abd0742873

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page