Skip to main content

The PennyLane-Qrack plugin integrates the Qrack quantum computing framework with PennyLane’s quantum machine learning capabilities.

Performance can benefit greatly from following the Qrack repository “Quick Start” and “Power user considerations.”

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

  • Provides access to a PyQrack near-Clifford simulator backend via the qrack.stabilizer device

  • Provides access to a PyQrack simulator backend optimized for large-scale approximate simulation via the qrack.ace 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.

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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pennylane_qrack-1.1.0-py3-none-win_amd64.whl (35.2 kB view details)

Uploaded Python 3Windows x86-64

pennylane_qrack-1.1.0-py3-none-manylinux_2_39_x86_64.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.39+ x86-64

pennylane_qrack-1.1.0-py3-none-manylinux_2_35_x86_64.whl (1.8 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ x86-64

pennylane_qrack-1.1.0-py3-none-macosx_15_0_x86_64.whl (995.6 kB view details)

Uploaded Python 3macOS 15.0+ x86-64

pennylane_qrack-1.1.0-py3-none-macosx_15_0_arm64.whl (955.4 kB view details)

Uploaded Python 3macOS 15.0+ ARM64

pennylane_qrack-1.1.0-py3-none-macosx_14_0_arm64.whl (961.9 kB view details)

Uploaded Python 3macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pennylane_qrack-1.1.0.tar.gz
  • Upload date:
  • Size: 37.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pennylane_qrack-1.1.0.tar.gz
Algorithm Hash digest
SHA256 48db622799d5d631cbec60b927eff334518fd940d0b56ad9202426ae8eeb8c19
MD5 047cf0c34f372b787f3a0ec2714d907d
BLAKE2b-256 2a56bee3ecf09f585d966bfd2465440970baf48bd17cccdf0ec7dc825264d638

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-1.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3316f68596ace470e2acdb691da3288384bf8a92cabbee22faac486a4f3dee6e
MD5 1822af3dffdc9061f78ec0758b8f80c4
BLAKE2b-256 b13662b3e27d1db48df67ab346d061c5f7d9fe310691ab8ddb9ddb44f0dab786

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-1.1.0-py3-none-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 69f3d7bef15cb28e6ffa55c04142bfb9bab076364207c52de16cf3dad3bcd3ec
MD5 e9d6dd89df9a950a7d6353819b3d3c7e
BLAKE2b-256 a4c213d9d12207251e3ff04100132690538333ccb8717c5deb158dc7bbda15c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-1.1.0-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 44c00c7056269630f8a9f8e1c5dfc87a2e050a15a820db487f7d599dd4cc395d
MD5 6f8b30aec368b61632ac65888c5b476f
BLAKE2b-256 b2964f9efcd055a3b999754f7ca1bea0c2bbf291c4a622ed74ceb28addf9582f

See more details on using hashes here.

File details

Details for the file pennylane_qrack-1.1.0-py3-none-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pennylane_qrack-1.1.0-py3-none-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 d5bb83bc1a25cc135dd0f9038acd592293301a0875e6619bdfff534c540692f7
MD5 23092cd016d8ac9f98fa86b11297b8b6
BLAKE2b-256 57afc24abe08bebece393f18b18a9cbff5ee121d2879ae2c37257100032fb09c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-1.1.0-py3-none-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 38282950db9684f8520e35d923468bbbf2a40e98921ac5da2b5d84c83ed37b7d
MD5 1f07d7f2374ca38f363b9901eb424f26
BLAKE2b-256 6a8bb2c5c47dc400df415914ff1f308a0f314545ff5df51632ad5bdb566ef586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pennylane_qrack-1.1.0-py3-none-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 47cc2234526c5507eede2a12ffeeab67b89245eb7cfc91007dde7712fddca0ac
MD5 e35197b1ebd1fc995c59f4be86c951b8
BLAKE2b-256 6dd2c34a17dbc6060a8fa4bcffec5119d326868657f1e5454116c5426145b004

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page