The PennyLane-Qiskit plugin integrates the Qiskit quantum computing framework 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.
Qiskit is an open-source framework for quantum computing.
Features
Provides three devices to be used with PennyLane: qiskit.aer, qiskit.basicsim and qiskit.remote. These devices provide access to the various backends, including the IBM hardware accessible through the cloud.
Supports a wide range of PennyLane operations and expectation values across the providers.
Combine Qiskit’s high performance simulator and hardware backend support with PennyLane’s automatic differentiation and optimization.
Installation
This plugin requires Python >= 3.11, as well as PennyLane and Qiskit. Installation of this plugin, as well as all dependencies, can be done using pip:
python -m pip install pennylane-qiskit
To test that the PennyLane-Qiskit plugin is working correctly you can install the development requirements with,
python -m pip install -r requirements-dev.txt
With this, you can run the tests with,
make test
in the source folder.
Development
If you wish to develop the PennyLane-Qiskit plugin, please first install the developer requirements with
python -m pip install -r requirements-dev.txt
followed by an edittable installation of the plugin with
python -m pip install -e .
Optionally, you can install the pre-commit hooks with
pre-commit install
This will set up pre-commit hooks to automatically format and lint your code before each commit.
Please refer to the plugin documentation as well as to the PennyLane documentation for further reference.
Contributing
We welcome contributions - simply fork the repository of this plugin, and then make a pull request containing your contribution. All contributors 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-qiskit
Issue Tracker: https://github.com/PennyLaneAI/pennylane-qiskit/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 qiskit plugin is free and open source, released under the Apache License, Version 2.0.
Metadata
Release files for PennyLane-qiskit 0.45.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pennylane_qiskit-0.45.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pennylane_qiskit-0.45.0-py3-none-any.whl
| Download URL | pennylane_qiskit-0.45.0-py3-none-any.whl |
|---|---|
| Size | 45.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2b1a53f16e5aaef7c236c471576e0fdb5153574d86cc760ca78649a930541dc
|
|
BLAKE2b-256 checksum How to use checksums |
79687cd3d890494fcac29fb72c1e021b7ddc1baed00d3f6a92d276f70bf7bb50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|