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

Uploaded Source

Built Distributions

pennylane_qrack-0.9.3-py3-none-win_amd64.whl (22.2 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.9.3-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.9.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.9.3-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.9.3-py3-none-macosx_14_0_arm64.whl (831.2 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.9.3-py3-none-macosx_13_0_x86_64.whl (870.2 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.9.3-py3-none-macosx_12_0_x86_64.whl (823.6 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pennylane_qrack-0.9.3.tar.gz
Algorithm Hash digest
SHA256 25b3c25d74f7212059ac96536b63e0b009b4af506c811b808026f1b63500490f
MD5 11eba4c7d4636d851aa366e82b92ad9b
BLAKE2b-256 cc46e2466405c5b1b4989710cb6df77cada87a90c9feb5f721ee456d2178f6e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4db767bb94a7def8fa08de5d623c090ba5ce81d2957db74dacae78da331a866e
MD5 78191b7c1391bccf9421f0318447a887
BLAKE2b-256 7f55e7fa47fd05eb462806146346bb8f4846a4c80f9060da0283707ce87bd18a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.3-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 48876901ac6b7f6777a41db74b57e0434269574fd9a8ec53e0f024de0fcef79d
MD5 156b3df72ee4a4c765c49907fd274bef
BLAKE2b-256 040cc0db7130ff91569078421ba15c40d240a3be12878de50970357d48fcfbf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.3-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 99ffb2fb39bb23545c21a75fcdca7c4db8030ff9bacfe843defd1b2a965a3968
MD5 8129f6d1ec5487397b9d5fd1d9a9dfd4
BLAKE2b-256 f999bf3272b3998790da25f74f5e68c5875b8b233af1763d433f5bab3c42dd41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.3-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f05466dac03d6b4429ec57594bbb8d1ccd90b958250242ac665ca7c1c96ede28
MD5 fecee06c8c45907f611f4e3ccf0ffd10
BLAKE2b-256 ea9c7f2f61c63195c8de99eb2beee13f3ff4626f7b97411a2dc68fae07c6cb7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.3-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 613d8f02db64780988dc1651201036d6ba3a9955de882e7c83f93f9c8558986a
MD5 7b748bb7a752c3d5413febb6d010023c
BLAKE2b-256 47f380ba6a5569f67c80445283f0bc93df2bb3cf57150012fa32c75f4921ae7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.3-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2240f4701b19c5e2144cd3f9cb640f318146526ed1e0316d091d4d008364aff1
MD5 74192c66da146f02ba473fbaeae20b9f
BLAKE2b-256 b824b705e8cff78e2cc0051bcd415af99b8deba7a900efe22728f24e56bf6071

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.3-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 3eb43aa00fb590b901a4ebe4d8ec330fc7b983f12496d533481dc36cdf0686cb
MD5 f35a5c336349d72ed2ea4f5ebab3810c
BLAKE2b-256 9f33c89e4d802021fb783b32c5f827f9dc5c408ef41b5e0b5d7c1d22afe50ab3

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