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

Uploaded Source

Built Distributions

pennylane_qrack-0.9.8-py3-none-win_amd64.whl (23.0 kB view details)

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.9.8-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.8-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.8-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.9.8-py3-none-macosx_14_0_arm64.whl (834.2 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.9.8-py3-none-macosx_13_0_x86_64.whl (873.6 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.9.8-py3-none-macosx_12_0_x86_64.whl (827.1 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.9.8.tar.gz
  • Upload date:
  • Size: 36.5 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.9.8.tar.gz
Algorithm Hash digest
SHA256 756bc506c9f37a347e3869b0f386fc7f5bdf20170e182b40e350de6c99662b1e
MD5 dc7102944e324a7e15d7e1439acf1e35
BLAKE2b-256 c76fa505879ad2ef19c621ecf8923061d93bca0af1b82960bac5043ecebf222b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7e1ed1cfecfe6252ceca04490397047987a92f8a5df1bd41a5c59557d1aa864b
MD5 cddea412f164e95755718465e5bef908
BLAKE2b-256 710d959cc1b476cb86ff96f986054bb62ef1d959d8fb92952c1b87116908dad7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.8-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 1ccf5560a591f962d0be45c8f760fdc0eecc30085be4e88164621097bacade64
MD5 ea6a0dd821dd558527f08c976387a58d
BLAKE2b-256 0c146032322ef4c6eb97416b7bbdd93268854947f5b55bb243bb401699915041

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.8-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 6c4937de13af43673c8380c4a37f4a6694a9d9466fa664efa88836368fd7feb0
MD5 26b0a1d915d36f9e0611791c8a9030ef
BLAKE2b-256 7e4539a9001c28551017ed35640ea543d0f44c36ba61061f8aad1c846894aee4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.8-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4ab47025d907dbb3bd8059edc6cd3f97853e103881866eb0d8d732db7c63ffe5
MD5 0c0e152c274582a47845bf96104d8c3a
BLAKE2b-256 adcdcb4dab77d85a1612edc9bbaba6b59d58c1612fc52414c98a9bfcec7e536a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.8-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d8b3cc15b60bc48caeeedfc4ad262cf1e7ffd17b4938c44c0b2546ed5800e476
MD5 92f46130c09a2bc4b60d2cca21aa306f
BLAKE2b-256 a08ca2aad82643ee4fa422a9319d9d8d9c946011f54689963183c5cb6c00d7d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.8-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3e8ca3683c0a8983e30650e9e4654aadd345423e7cd3f231692fe9d6317be0af
MD5 3e23f083752a7a4ccd6e793bbbacf5aa
BLAKE2b-256 dd19b5cca0d1f065b78f037e07e6523199920c24695a9eae46667f06151be2a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.9.8-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 3ed76b4364aa80d0dbe085c18abfd612c5fc14cd93e7e0f5dbed04984cd9d480
MD5 f559846bcbd02a2b8399d1c622d25e1b
BLAKE2b-256 1fcc9ff5d9cfb3666c812c35c42fa6cca574c0985e073da9456c1d9f4faaa578

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