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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

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

Uploaded Python 3 macOS 15.0+ ARM64

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

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.4-py3-none-macosx_13_0_x86_64.whl (858.6 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.4-py3-none-macosx_12_0_x86_64.whl (811.7 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.4.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.4.tar.gz
Algorithm Hash digest
SHA256 6f1a31f84d8d8118863f43fedb3586c4141aa4855410f5d58527f3a4d34dcf13
MD5 dc6f03707141e2516895bf1b9937d170
BLAKE2b-256 57b751e1d86332ed469ce68224110a1f186e4b62286c3bca6456c57226c3cf18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7911f6097402d8519c240955970f944dc5fa2a72d65e7c6a4e656b9296cd8534
MD5 febdc49362573c9d44ff9db72fd57524
BLAKE2b-256 49dccde593f8cc204e335e627b346ffa7912278fc748f134e7d9c0b6c1ad7e1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.4-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 463ec69937ee659fb99ce3b04c84a2325675b61467b29a24833cdeb4dfdc79a1
MD5 b20c10e4328ae918cbd050e55bc4718d
BLAKE2b-256 a601b103060b8f4be014cd4abe34ad3ccd322c67fc03bb4fd3d7238a3811e8fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.4-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 cedf704ac55f242c24de63a60b7e3445d03e8b6adef56743dee77380a9d6eb08
MD5 e3a196adbc0148e40200238469399898
BLAKE2b-256 695e2617995117c4b264401d69be2792c14df4195b48a8377c6424c41c096c5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.4-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 56a09555f2b27d40c3e921e56626378d47135997787f351366edbea2fb2cc235
MD5 a0efc8b04964e1bd2c7a15d705a2e438
BLAKE2b-256 3fef5e944f57d9d8ad83694f60c5f004430f79708f99edbff73b39209f2cde11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.4-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b8a7949cb792941915d8a469bcc70a97660a193ea72de5e71da445c59c25a8cc
MD5 c0a43947101c7e457c172782253f381a
BLAKE2b-256 e55e6c71a8c67d92faf099e8ed597936d3062f097492b07c4215766ea835defa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.4-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 16ba1db61adfa2f6e2cfc9b725c4606975527318b739bb4fb4eaa6862fa9f9a1
MD5 449fa772e98c7d57a3a4b7d537ca471a
BLAKE2b-256 62766142ae4398b7f2a46c2fb818390cf2e9c21e35113647941bbb105a96bec3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.4-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 06ea4a39e66e666715b042243e1256053064aa3091ec29b69ea0c119791adc81
MD5 d7abfeed8d0d9dbd84e17dadac425596
BLAKE2b-256 b64b58c0fabc94035ac42b478f36edfe3e36826795d8573e5b0038053c82bbf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.4-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 d843b7dc37126477d6c0bd2c162064e0b9c226b898bc7834df81f9ac5e4f2a70
MD5 8b24613a0c095156c0d18670114a0ec0
BLAKE2b-256 64ddfdfb90c2c9c9ce0d6a0310fa1da732621955d7dfce77828909d9d82c0f4e

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