$npx skillfedfor your agent

pennylane-lightning

PennyLane-Lightning plugin

Worth itPyPI PhysicsReleased May 2026749.4K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pennylane_lightning-0.45.0-py3-none-any.whl
v0.45.0 · released 2026-05-12 · Python >=3.11 · 2 runtime deps: pennylane, scipy-openblas32

Yes. PennyLane-Lightning is a mature, actively maintained plugin with low install friction, no security vulnerabilities, and permissive licensing. Install it if you use PennyLane and need faster simulation than the default backend, especially for GPU-accelerated or distributed workloads. The CPU-only lightning.qubit backend is available on all major platforms via pip; GPU backends require appropriate hardware and drivers but are well-documented.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or above.
  • GPU backends (lightning.gpu, lightning.amdgpu, lightning.kokkos with CUDA/HIP) require corresponding GPU drivers and toolkits; most are available via pip for common platforms, but some require source builds.
  • Low installation friction with a pure-wheel distribution.

License · maintenance · safety

Apache-2.0 (permissive) — Released under Apache License 2.0 (permissive), allowing commercial use and modification. GPU backends use NVIDIA cuQuantum SDK headers under their own respective licenses.

last release 2026-05-12 (94 days) · last repo commit 2026-08-14 · 144 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 749,420 downloads/mo, #5,161 on PyPI

Verify before relying

pip install pennylane-lightning

import pennylane as pnl
dev = pnl.device('lightning.qubit', wires=2)

@pnl.qnode(dev)
def circuit():
    pnl.PauliX(wires=0)
    return pnl.expval(pnl.PauliZ(0))

print(circuit())
  • Performance benchmarks comparing lightning.qubit, lightning.gpu, and lightning.tensor backends on typical workloads.
  • Whether scipy-openblas32 is automatically installed or must be explicitly configured for optimal performance.
  • Compatibility and performance characteristics of MPI-enabled backends on specific HPC clusters.
Same gist for agents: .md · .json

What it is and what it does

PennyLane-Lightning is a plugin that extends PennyLane with fast quantum simulators written in C++. It provides multiple backends: lightning.qubit for CPU-based state-vector simulation with optional OpenMP parallelization, lightning.kokkos for multi-platform parallelism (OpenMP, CUDA, HIP, MPI), lightning.gpu for NVIDIA GPU acceleration via cuQuantum SDK, lightning.amdgpu for AMD GPUs, and lightning.tensor for tensor-network simulation. The package depends on PennyLane and scipy-openblas32, and is designed to accelerate hybrid quantum-classical computations on modern hardware from laptops to HPC clusters.

You install it as a PennyLane device plugin and select a backend (e.g., 'lightning.qubit' or 'lightning.gpu') when creating a device. Most backends are available via pip for Linux x86, Linux ARM, macOS ARM, and Windows; GPU and MPI variants may require source builds on some platforms. The plugin is actively maintained, supports Python 3.11 and above, and has no known security vulnerabilities.

Use it for

  • Accelerate quantum machine learning training by using GPU-backed simulation instead of CPU-only backends.
  • Run large-scale quantum circuit simulations on HPC clusters using MPI-distributed state-vector backends.
  • Prototype quantum algorithms with fast state-vector simulation on consumer hardware before deploying to quantum hardware.
  • Simulate tensor-network quantum circuits using Matrix Product State or Exact Tensor Network methods for structured problems.
  • Develop hybrid quantum-classical optimization loops where the simulator is the bottleneck and GPU acceleration is needed.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

PennyLane-Lightning is a mature, actively maintained plugin with low install friction, no security vulnerabilities, and permissive licensing. Install it if you use PennyLane and need faster simulation than the default backend, especially for GPU-accelerated or distributed workloads. The CPU-only lightning.qubit backend is available on all major platforms via pip; GPU backends require appropriate hardware and drivers but are well-documented.

Install

pennylane-lightning on PyPI

Before you install

Low installation friction with a pure-wheel distribution. Actively maintained with recent commits and a stable release cadence; supports current Python versions (3.11+).

Requires Python 3.11 or above. GPU backends (lightning.gpu, lightning.amdgpu, lightning.kokkos with CUDA/HIP) require corresponding GPU drivers and toolkits; most are available via pip for common platforms, but some require source builds.

License in practice

Released under Apache License 2.0 (permissive), allowing commercial use and modification. GPU backends use NVIDIA cuQuantum SDK headers under their own respective licenses.

Quickstart

pip install pennylane-lightning

import pennylane as pnl
dev = pnl.device('lightning.qubit', wires=2)

@pnl.qnode(dev)
def circuit():
    pnl.PauliX(wires=0)
    return pnl.expval(pnl.PauliZ(0))

print(circuit())

Verify before relying

  • Performance benchmarks comparing lightning.qubit, lightning.gpu, and lightning.tensor backends on typical workloads.
  • Whether scipy-openblas32 is automatically installed or must be explicitly configured for optimal performance.
  • Compatibility and performance characteristics of MPI-enabled backends on specific HPC clusters.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pennylanescipy-openblas32
MaintenanceActively maintained 94 days since the last release
Last repo commit
First released
Downloads749,420 / month, #5,161 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: Science/ResearchNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Physics

Evidence: pennylane_lightning-0.45.0-py3-none-any.whl

Tags

Capabilities
quantum simulator pluginpennylane gpu backendquantum state vector simulationhigh performance quantum computingtensor network simulatorquantum machine learning acceleration
Topics
quantum-computinggpu-acceleratedhpc

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “quantum simulator plugin”

Give your agent the search over MCP, or paste the wish link into any chat.

More Physics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
pydicom Worth it
PyPI · Libraries · released Mar 2026

Pydicom reads, modifies, and writes DICOM medical imaging files in pure Python, with optional NumPy support for pixel data as arrays.

Install it if you work with medical imaging data, DICOM files, or healthcare IT systems.

MITpure Python · 3.10+
5.5Mdownloads / mo
albumentations Worth it
PyPI · Libraries · released May 2025

Albumentations applies image transformations to training data, supporting classification, segmentation, object detection, and pose estimation with a unified API for images, masks, bounding boxes, and keypoints.

Install it if you need a unified, production-grade augmentation API for computer vision tasks.

MITpure Python · 3.9+aging
5.5Mdownloads / mo
CoolProp Worth it
PyPI · Scientific/Engineering · released Jun 2026

CoolProp provides thermodynamic and transport property calculations for fluids and fluid mixtures, offering open-source functionality similar to REFPROP.

MITcompiled wheel · 3.9+
5.5Mdownloads / mo
pyquaternion Worth it
PyPI · Python Modules · released Oct 2020

Provides quaternion representation, manipulation, and rotation operations for 3D geometry and animation, with support for smooth interpolation between orientations.

MITpure Python
3.9Mdownloads / mo

See also pennylane · custatevec-cu12 · quimb · custatevec-cu13 · cudensitymat-cu13 · cutensornet-cu13 · amazon-braket-default-simulator · cirq-core · tensorrt-cu12-libs · qiskit-aer

Further reading