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

Uploaded Source

Built Distributions

pennylane_qrack-0.10.19-py3-none-win_amd64.whl (23.4 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.19-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.19-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.19-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.10.19-py3-none-macosx_15_0_arm64.whl (834.0 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.19-py3-none-macosx_14_0_arm64.whl (833.9 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.19-py3-none-macosx_13_0_x86_64.whl (873.0 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.19.tar.gz
  • Upload date:
  • Size: 38.6 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.19.tar.gz
Algorithm Hash digest
SHA256 f5a86aa9e9982b8fd940dd2bc3865ac15fd3fe903fcbc781d0b15eabfbee4492
MD5 ac33f6395f9058fdb56751eab81c78fd
BLAKE2b-256 3ced7dc67d37f21f772dc11d21fb6359f5989357c3660881730a718d528abbd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.19-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 44552f2b54d6485a84ee2d6b2274423ffcdce8724e4247e6c305e94903a10e54
MD5 1284acbf1d306f2d9aee5407df4b79ef
BLAKE2b-256 c3ac0ccfd62f2691b11c933a8e3c7fbae08584ca82db7147697b708fd73467b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.19-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 e48a6ead35e04208aef914bff771a2d384cb7eb01ea9383cb6703598ce785546
MD5 cafcfef8bb0a3b08a1a495e3a5631ac3
BLAKE2b-256 0f1f57ebc470407257f6bb0fb731e6589c929b2bc2b62b0f155e8e81cb991536

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.19-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 f253f8fb026407df0152904ae1fd0ed4136d25be25dcf83a5103a64f1ba178b7
MD5 f37cf5c47dce43a3b3f103cec08fde26
BLAKE2b-256 c3071b887cb104af3088c7189b0fcd08524528202a84c45187d21491395d90cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.19-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7b79c0de3c340e263762907938bb298406543f9d4132255dca8593ea84fc551e
MD5 6611b007c08984c68ed5e166e86cdda5
BLAKE2b-256 2dc56a7b2495e8c9e1c419d0df253abc2e9be9c8dd5563c73b7b521f6b4e2239

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.19-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 968b57a05ada8c4441864e264fd42cfb83f019f6e4f30c0174a5ba2fc47712fe
MD5 8a0503e206e6e4a38dd7a22396fb862a
BLAKE2b-256 f4038f2289a93010aa75078a39ffcf6533a205c900d6ee22fb830341aeeed196

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.19-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b6e973a6f230ee08081cf29cc85e7b7d79bc95344517a2a0479dbbb3bb14e1b3
MD5 840583033f12f40251a1d350fe580a2f
BLAKE2b-256 4eee7f913434e2e9a57dd9cd5290f6289de2dc9c85bb34d5fbc8d95d33aeed85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.19-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4ab05582576fd45bb9402982e40f7268b5fe6065ad19f09a7852109369aef099
MD5 7c295e20d74fccbedb4214811427f38f
BLAKE2b-256 7d29ff125f7bb16afc116b8041f9694b102c4f7bfc7531af871fe8b7e0382a6e

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