Open-source software

Lightning: high-performance quantum simulators

Lightning is a collection of simulators targeting CPU, GPU, and HPC-native architectures and workloads.

Simulation at scale

Built for CPU, GPU and HPC workloads.

The Lightning plugin ecosystem provides fast simulators written in C++, from your laptop to multi-GPU and multi-node supercomputers.

Each simulator is a PennyLane device that integrates natively with Catalyst, allowing for quantum just-in-time compilation to further boost the performance of state-vector simulations.

Key highlights

Fast simulation, from laptop to supercomputer

  • AMD and NVIDIA GPUs

    Run the same PennyLane programs on AMD and NVIDIA GPUs, as well as on CPUs, from a laptop to a GPU cluster.

  • Fast circuits, fast gradients

    Lightning's simulators are written in optimized C++, and its state-vector simulators include adjoint differentiation for fast gradients.

  • Scales across GPUs and nodes

    With MPI, distribute the state vector of a single circuit across multiple GPUs and nodes to run faster and simulate more qubits than fit on one GPU.

30 qubits

Simulated on a single device or node

41 qubits

Simulated across multiple nodes

Performance

Scales to over 1,000 GPUs

Strong scaling of a Quantum Fourier Transform circuit simulated with Lightning-Kokkos on up to more than 1,000 AMD GPUs on the Frontier supercomputer: simulation gets faster as GPUs are added.

Add GPUs, cut runtime

Simulating a 30-qubit Quantum Fourier Transform on the Frontier supercomputer, simulation keeps getting faster as Lightning-Kokkos scales from one AMD GPU to over 1,000.

Read more

Go deeper on Lightning

Get started

Lightning comes with PennyLane

Install PennyLane to get Lightning, then add GPU support for AMD or NVIDIA hardware when you need more scale.

FAQ

Frequently asked questions

Lightning is PennyLane’s high-performance simulator suite for quantum computers, written in C++. Each simulator is a PennyLane device that integrates natively with Catalyst.