Lightning plugins

Release:

0.46.0-dev38

_images/pennylane_lightning.png

The Lightning plugin ecosystem provides fast state-vector simulators written in C++.

PennyLane is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations. PennyLane supports Python 3.12 and above.

Backends

PennyLane-Lightning high performance simulators include the following backends:

  • lightning.qubit: a fast state-vector simulator written in C++ with optional OpenMP additions and parallelized gate-level SIMD kernels.

  • lightning.kokkos: a state-vector simulator written with Kokkos. It can exploit the inherent parallelism of modern processing units supporting the OpenMP, CUDA or HIP programming models. It also offers distributed state-vector simulation via MPI.

  • lightning.amdgpu: a state-vector simulator based on the lightning.kokkos, specifically built for AMD GPU (HIP) support.

  • lightning.gpu: a state-vector simulator based on the NVIDIA cuQuantum SDK. It notably implements a distributed state-vector simulator based on MPI.

If you’re not sure which simulator to use, check out our PennyLane performance page.

Devices

The Lightning ecosystem provides the following devices:

'lightning.qubit'

A fast state-vector qubit simulator written in C++

'lightning.kokkos'

A heterogeneous backend state-vector simulator with Kokkos library support.

'lightning.amdgpu'

A heterogeneous backend state-vector simulator based on Lightning-Kokkos specifically for AMD GPUs.

'lightning.gpu'

A heterogeneous backend state-vector simulator with NVIDIA cuQuantum library support.


Authors

Lightning is the work of many contributors.

If you are using Lightning for research, please cite:

@misc{
    asadi2024,
    title={{Hybrid quantum programming with PennyLane Lightning on HPC platforms}},
    author={Ali Asadi and Amintor Dusko and Chae-Yeun Park and Vincent Michaud-Rioux and Isidor Schoch and Shuli Shu and Trevor Vincent and Lee James O'Riordan},
    year={2024},
    eprint={2403.02512},
    archivePrefix={arXiv},
    primaryClass={quant-ph},
    url={https://arxiv.org/abs/2403.02512},
}