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

Uploaded Source

Built Distributions

pennylane_qrack-0.10.1-py3-none-win_amd64.whl (23.1 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.1-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.1-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.1-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.1-py3-none-macosx_14_0_arm64.whl (835.8 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.1-py3-none-macosx_13_0_x86_64.whl (875.8 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.1-py3-none-macosx_12_0_x86_64.whl (828.9 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

Details for the file pennylane-qrack-0.10.1.tar.gz.

File metadata

  • Download URL: pennylane-qrack-0.10.1.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for pennylane-qrack-0.10.1.tar.gz
Algorithm Hash digest
SHA256 dbdaaad77e905b22d90ae12ef2c8031ff3a37c6be05b2b6535add3a1f124d335
MD5 1ade3c6ac015742939bebf32c99ad544
BLAKE2b-256 e95ea8e6a734343a94c1e3ed67cdd8af9ca9b82823ff960f0d024f3364a89633

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 da55a0308d4f1f59c1e55aae9e85355a08ea32f087a83dfe1bcfc974bb197678
MD5 53cec22d0e6dcad86e0bbebe81a47b95
BLAKE2b-256 b8c3497a8613aba333c2ef316e72df7907313ffab8834c95df32df91faf6e3bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.1-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 ce2b61b4e658babe01e3cbfaab83803d2066537efc7730f4ec3816e359bccadb
MD5 ccdb6ae66561cc5b273a353dacfcae4f
BLAKE2b-256 2e1c65cec2b54563765ca190a4fa22f4c16007993b74d1977a6f76c2e900c986

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.1-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 b293819b431f4fe14dac104bc9fb9d4db54fd1332703343e7204e0bcae859db9
MD5 0cc199a118e74eac8d810575bbd60a70
BLAKE2b-256 1350ac3b32a7b50d2cf0514d4e9c2c4e5e802e296e30d3f5c286dd8a8d606b6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.1-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4aa047eb9e621ccc46cdf256546feb8fa937e018db4a1eaec57696ac1cabc607
MD5 ee9e633287a10cb92078036effb2bff3
BLAKE2b-256 444cb4fad865d0adb46e4c7ce58def67ffe4980f627a3ddb223a3070a278b30a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.1-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e2d09149d02a56a08053a68d6eb46e341cbe425d3a94c350fbb7b192b262d87c
MD5 69a7a911570d5f45a172558866a382c4
BLAKE2b-256 980105f2c27d6d18124cd6c34845e3835fa953c2aada1e68b452293de1337afb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.1-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 993d6c2dabf9f80ea959e5bac87b51cd947b672853ae60ce77330e3a8390e61d
MD5 3f5477690b8aabc9d8d4fcae434d320c
BLAKE2b-256 22b59060795d62bf7de59b0536a3272e441608340f52bc959d1ca2025d96d169

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.1-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 8774817822b85a17d8dd3e268e5c0551c88948549bb665b769e0fa319b823616
MD5 2a27483ecf2b1a76386baca7c4dd4e4d
BLAKE2b-256 3a604b79e8f4c19df38008c8bb485cf7537fb8effeed097c412ad2fe8164fc83

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