Pennylane-lightning

Latest version: v0.40.0

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

0.23.0

Not secure
New features since last release

* Add `generate_samples()` to lightning. [(247)](https://github.com/PennyLaneAI/pennylane-lightning/pull/247)

* Add Lightning GBenchmark Suite. [(249)](https://github.com/PennyLaneAI/pennylane-lightning/pull/249)

* Support runtime and compile information. [(253)](https://github.com/PennyLaneAI/pennylane-lightning/pull/253)

Improvements

* Add `ENABLE_BLAS` build to CI checks. [(249)](https://github.com/PennyLaneAI/pennylane-lightning/pull/249)

* Add more `clang-tidy` checks and kernel tests. [(253)](https://github.com/PennyLaneAI/pennylane-lightning/pull/253)

* Add C++ code coverage to CI. [(265)](https://github.com/PennyLaneAI/pennylane-lightning/pull/265)

* Skip over identity operations in `"lightning.qubit"`. [(268)](https://github.com/PennyLaneAI/pennylane-lightning/pull/268)

Bug fixes

* Update tests to remove `JacobianTape`. [(260)](https://github.com/PennyLaneAI/pennylane-lightning/pull/260)

* Fix tests for MSVC. [(264)](https://github.com/PennyLaneAI/pennylane-lightning/pull/264)

* Fix `include <cpuid.h>` for PPC and AArch64 in Linux. [(266)](https://github.com/PennyLaneAI/pennylane-lightning/pull/266)

* Remove deprecated tape execution methods. [(270)](https://github.com/PennyLaneAI/pennylane-lightning/pull/270)

* Update `qml.probs` in `test_measures.py`. [(280)](https://github.com/PennyLaneAI/pennylane-lightning/pull/280)

Contributors

This release contains contributions from (in alphabetical order):
Ali Asadi, Chae-Yeun Park, Lee James O'Riordan, and Trevor Vincent

0.22.1

Not secure
Bug fixes

* Ensure `qml.Identity` kernel is registered to C++ dispatcher. [(275)](https://github.com/PennyLaneAI/pennylane-lightning/pull/275)

0.22.0

Not secure
New features since last release

* Add Docker support. [(234)](https://github.com/PennyLaneAI/pennylane-lightning/pull/234)

Improvements

* Update quantum tapes serialization and Python tests. [(239)](https://github.com/PennyLaneAI/pennylane-lightning/pull/239)

* Clang-tidy is now enabled for both tests and examples builds under Github Actions. [(237)](https://github.com/PennyLaneAI/pennylane-lightning/pull/237)

* The return type of `StateVectorBase` data is now derived-class defined. [(237)](https://github.com/PennyLaneAI/pennylane-lightning/pull/237)

* Update adjointJacobian and VJP methods. [(222)](https://github.com/PennyLaneAI/pennylane-lightning/pull/222)

* Set GitHub workflow to upload wheels to Test PyPI. [(220)](https://github.com/PennyLaneAI/pennylane-lightning/pull/220)

* Finalize the new kernel implementation. [(212)](https://github.com/PennyLaneAI/pennylane-lightning/pull/212)

Bug fixes

* Fix for OOM errors when using adjoint with large numbers of observables. [(221)](https://github.com/PennyLaneAI/pennylane-lightning/pull/221)

* Add virtual destructor to C++ state-vector classes. [(200)](https://github.com/PennyLaneAI/pennylane-lightning/pull/200)

* Fix a bug in Python tests with operations' `matrix` calls. [(238)](https://github.com/PennyLaneAI/pennylane-lightning/pull/238)

* Refactor utility header and fix a bug in linear algebra function with CBLAS. [(228)](https://github.com/PennyLaneAI/pennylane-lightning/pull/228)

Contributors

This release contains contributions from (in alphabetical order):

Ali Asadi, Chae-Yeun Park, Lee James O'Riordan

0.21.0

Not secure
New features since last release

* Add C++ only benchmark for a given list of gates. [(199)](https://github.com/PennyLaneAI/pennylane-lightning/pull/199)

* Wheel-build support for Python 3.10. [(186)](https://github.com/PennyLaneAI/pennylane-lightning/pull/186)

* C++ support for probability, expectation value and variance calculations. [(185)](https://github.com/PennyLaneAI/pennylane-lightning/pull/185)

Improvements

* `setup.py` adds debug only when --debug is given [(208)](https://github.com/PennyLaneAI/pennylane-lightning/pull/208)

* Add new highly-performant C++ kernels for quantum gates. [(202)](https://github.com/PennyLaneAI/pennylane-lightning/pull/202)

The new kernels significantly improve the runtime performance of PennyLane-Lightning
for both differentiable and non-differentiable workflows. Here is an example workflow
using the adjoint differentiation method with a circuit of 5 strongly entangling layers:

python
import pennylane as qml
from pennylane import numpy as np
from pennylane.templates.layers import StronglyEntanglingLayers
from numpy.random import random
np.random.seed(42)
n_layers = 5
n_wires = 6
dev = qml.device("lightning.qubit", wires=n_wires)

qml.qnode(dev, diff_method="adjoint")
def circuit(weights):
StronglyEntanglingLayers(weights, wires=list(range(n_wires)))
return [qml.expval(qml.PauliZ(i)) for i in range(n_wires)]

init_weights = np.random.random(StronglyEntanglingLayers.shape(n_layers=n_layers, n_wires=n_wires))
params = np.array(init_weights,requires_grad=True)
jac = qml.jacobian(circuit)(params)

The latest release shows improved performance on both single and multi-threaded evaluations!

<img src="https://raw.githubusercontent.com/PennyLaneAI/pennylane-lightning/v0.21.0-rc0/doc/_static/lightning_v20_v21_bm.png" width=50%/>

* Ensure debug info is built into dynamic libraries. [(201)](https://github.com/PennyLaneAI/pennylane-lightning/pull/201)

Documentation

* New guidelines on adding and benchmarking C++ kernels. [(202)](https://github.com/PennyLaneAI/pennylane-lightning/pull/202)

Bug fixes

* Update clang-format version [(219)](https://github.com/PennyLaneAI/pennylane-lightning/pull/219)

* Fix failed tests on Windows. [(218)](https://github.com/PennyLaneAI/pennylane-lightning/pull/218)

* Fix failed tests for the non-binary wheel. [(213)](https://github.com/PennyLaneAI/pennylane-lightning/pull/213)

* Add virtual destructor to C++ state-vector classes. [(200)](https://github.com/PennyLaneAI/pennylane-lightning/pull/200)

Contributors

This release contains contributions from (in alphabetical order):

Ali Asadi, Amintor Dusko, Chae-Yeun Park, Lee James O'Riordan

0.20.2

Not secure
* Introduce CY kernel to Lightning to avoid issues with decomposition & adjoint. [(203)](https://github.com/PennyLaneAI/pennylane-lightning/pull/203)

0.20.1

Not secure
Bug fixes

* Fix missing header-files causing build errors in algorithms module.
[(193)](https://github.com/PennyLaneAI/pennylane-lightning/pull/193)

* Fix failed tests for the non-binary wheel.
[(191)](https://github.com/PennyLaneAI/pennylane-lightning/pull/191)

Page 5 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.