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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.16-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.16-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.16-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.16-py3-none-macosx_15_0_arm64.whl (833.9 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.16-py3-none-macosx_14_0_arm64.whl (833.7 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.16-py3-none-macosx_13_0_x86_64.whl (872.7 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.16.tar.gz
  • Upload date:
  • Size: 38.4 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.16.tar.gz
Algorithm Hash digest
SHA256 a1920ac00948055344d9673b5ebdc1bc67f614fefee01945e48b232a609867d5
MD5 b1a8de90cea9c7ceba55db8af521065a
BLAKE2b-256 216a42fc7ce6ec706ab918f3a3d84bd64b2e587d48a1e1a45e52f386435ffa1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.16-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7b204f71f0106c9b0d54f5753445b7ad5901b5361f9046afe1f817775b0438f5
MD5 8f7918e2759275de0f1ed76428720bd3
BLAKE2b-256 7043feb9fedfb6344c85b94dc35557f567d50c839943472aebbc68c87a857b57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.16-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 565ca4af45232caf6486d8319ccb5f50ef5438d9ae01da7bebf9b6ccae7ac92a
MD5 6030e53261c876deafca859efcb984da
BLAKE2b-256 f9752b2c8277afbaa2466b5d5d51ead9f35bd2551516805fbd69e74ea785bef1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.16-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 15a8013a6c4d0f66262d5e6b5e74331e88ff25bf588bc11c89b516ac55a38cab
MD5 ce3ba7ea91c03a9219a1c5638e86b234
BLAKE2b-256 d11069e852b91981634c835575b623a21cce3e99c0ee4cb048d3e4daa7cc0437

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.16-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 45130f4e7db6a2398329943ee980e89647e3b55c7aa7e1eeb852e6a9c99cb83d
MD5 c41b8201808832e570eef7e3b12003df
BLAKE2b-256 637ec55df826e3726a8dd83cf835785800274818f6e2fcb25cac5c77d4f62918

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.16-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d7cd5cbd298a940a627741cf2c280fe66ac872dcec3b8806bf1c8f6b898ed1e8
MD5 d404093f3b941f28505b5bea42cba3c4
BLAKE2b-256 c79a1e6c08c943134d37c2fbbbc4b7991a77212eca0474b001168950018fffe5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.16-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8dbab871f36fc69bc1fa711a31687b246e0bda272d399f5de3968ba7ed833b1b
MD5 ab3bada03412e92b9c7958071642703c
BLAKE2b-256 8a5d6911876febe365ebc7cf4412cca546a7811e5383cefac13983e7cb98c345

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.16-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e2bfff12c26231c02b223bf6304cf30f04e1aa5f5b70e9884fcd2c5996c39187
MD5 90b74f278805ab182bef7350d9d9004e
BLAKE2b-256 63d440ab4f918edf5f451c9980bc38c763fe205ac70393941e889a7303e31ec0

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