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

Uploaded Source

Built Distributions

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

Uploaded Python 3 Windows x86-64

pennylane_qrack-0.10.10-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.10-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.10-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.10-py3-none-macosx_15_0_arm64.whl (833.6 kB view details)

Uploaded Python 3 macOS 15.0+ ARM64

pennylane_qrack-0.10.10-py3-none-macosx_14_0_arm64.whl (833.8 kB view details)

Uploaded Python 3 macOS 14.0+ ARM64

pennylane_qrack-0.10.10-py3-none-macosx_13_0_x86_64.whl (872.9 kB view details)

Uploaded Python 3 macOS 13.0+ x86-64

pennylane_qrack-0.10.10-py3-none-macosx_12_0_x86_64.whl (826.5 kB view details)

Uploaded Python 3 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: pennylane_qrack-0.10.10.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.10.tar.gz
Algorithm Hash digest
SHA256 457ce8c061a556fa2d46eb3e5c4d7fef67ae78b00780c565da136618ea218177
MD5 ec3ad4580054a5d8c0c36a2f16ea34da
BLAKE2b-256 ab2cf72cb3c8ae1abcc3ef6d525fc707d793b172618f570aca18581a604462b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.10-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6b1bbc0f6088c52999ceb8f68bcb91f121b11d92a020d239e91d98ec3d08af05
MD5 fdbdbd0522af4a609a7ec449a585528d
BLAKE2b-256 493e62ffbba0389361d750a11de68312bd0942911fa36bcea1de66c3a0fcbdc7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.10-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 882ccc71f6dd77d3ea96048c67d6d03196f6835ac4fe7e120dfb196201379acf
MD5 296d7b10542a9d104718f3e41bb50946
BLAKE2b-256 eccd3e88a169c943bec9e639b9ba2b4aa51056eecf984d18ac49d6c043a9e588

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.10-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 b520d1214cbb9b391e88a7ecbb02ec2f2a7328861bd9a2ba29923603e3bb404c
MD5 7a0d82d5045d328c852a6b4c36c4ff71
BLAKE2b-256 0b2a64c63531aaca0a816af912648bd85257196287a924fc3d1a1eac0aacc9b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.10-py3-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 1723af9f0db8721b115d8200dd7b51d8b6d12f80151b381908f487b55f7ce144
MD5 085ce5831a2e035d01dcc1ce4eefbb1d
BLAKE2b-256 f05f837a6c81715698bc34e59405733907d05cc7bcd3acff31f6f561a4bdeb5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.10-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 0e42855666e9732f534b26e4d14b458e0c815234caf2a00a55cfa6b6b70279fd
MD5 99b9e8a6961034288759d3802f476b60
BLAKE2b-256 5211822227932db6f8ab04640886c00bd1582a1a29572cb2b99dbb9f19aeb6f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.10-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 67770d3ce7e5289339bb9da1fc41b40402c5e1d3e746ac8c0cb8219b3412ad78
MD5 b5d16df21124e180c184cd7f2d672d89
BLAKE2b-256 94c0a7e9f5fad5af57a1c1838f76873236c4052cc0e502e4b31d74d2592c4053

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.10-py3-none-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 67aeb7f11f8849f54fecfd812b4754c9fe30b57d2aa8bc7132fe8bc5616062ed
MD5 8c3a7dbe5aff04f542eb5ae65b029e7c
BLAKE2b-256 442a8c8d001457fabd5dbc6c2a08c75bde7e9af1d9a3298417f3bb9131698942

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-0.10.10-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 4da8bcbed9d1b0f93a74846e9e2d40ae4e2923313cee7ac25c8cc75cd87c5225
MD5 f58822e642347100e4e619d9889fdfc5
BLAKE2b-256 d9c93a7bb19306558ce0ec1428ffdea5521f206bdafcfb062bd946f48ff8c27c

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