PennyLane ProjectQ Plugin
❗ This plugin will not be supported in newer versions of PennyLane. It is compatible with versions of PennyLane up to and including 0.34❗
The PennyLane-ProjectQ plugin integrates the ProjectQ quantum computing library with PennyLane’s quantum machine learning capabilities.
PennyLane is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.
ProjectQ is an open-source compilation framework capable of targeting various types of hardware and a high-performance quantum computer simulator with emulation capabilities, and various compiler plug-ins.
This PennyLane plugin allows to use both the software and hardware backends of ProjectQ as devices for PennyLane.
The documentation can be found at https://pennylane-pq.readthedocs.io.
Features
Provides three devices to be used with PennyLane: projectq.simulator, projectq.ibm, and projectq.classical. These provide access to the respective ProjectQ backends.
Supports a wide range of PennyLane operations and observables across the devices.
Combine ProjectQ high performance simulator and hardware backend support with PennyLane’s automatic differentiation and optimization.
Installation
This plugin requires Python version 3.5 and above, as well as PennyLane and ProjectQ. Installation of this plugin, as well as all dependencies, can be done using pip:
$ python -m pip install pennylane_pq
To test that the PennyLane ProjectQ plugin is working correctly you can run
$ make test
in the source folder. Tests restricted to a specific device can be run by executing
make test-simulator, make test-ibm, or make test-classical.
Please refer to the documentation of the PennyLane ProjectQ Plugin as well as well as to the documentation of PennyLane for further reference.
How to cite
If you are doing research using PennyLane, please cite our whitepaper:
Ville Bergholm, Josh Izaac, Maria Schuld, Christian Gogolin, and Nathan Killoran. PennyLane. arXiv, 2018. arXiv:1811.04968
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.
Support
Source Code: https://github.com/PennyLaneAI/pennylane-pq
Issue Tracker: https://github.com/PennyLaneAI/pennylane-pq/issues
PennyLane Forum: https://discuss.pennylane.ai
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 ProjectQ plugin is free and open source, released under the Apache License, Version 2.0.
Release files for PennyLane-PQ 0.34.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PennyLane-PQ-0.34.0.tar.gz | 20.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PennyLane_PQ-0.34.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.1 kB
Release files / PennyLane-PQ-0.34.0.tar.gz
| Download URL | PennyLane-PQ-0.34.0.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3ebc7cfa74e598a625708b48efc52975bdc2d68ff5f1466f976f2d7aab2bb5e
|
|
BLAKE2b-256 checksum How to use checksums |
2cc994b920ee430438821336c3fc0ac5aa68893c28dd97200bdc61208e090754
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / PennyLane_PQ-0.34.0-py3-none-any.whl
| Download URL | PennyLane_PQ-0.34.0-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dd89a81e3f079cea5e0ba78276761a5dece9b1cf4c3e6fd74bb6138f65cdc79
|
|
BLAKE2b-256 checksum How to use checksums |
112239b35a738fc0808b2f9ad3ac9eff76bbf45c951c68c8230da0afac42727a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|