Back to Devices

lightning.kokkos

  • Built by PennyLane
  • QJIT
  • Large Workloads
  • Distributed Simulation
  • Performance
  • GPU (simulator)
  • CPU (simulator)
  • Linux

The lightning.kokkos device gives you portability; run on parallelized CPUs, NVIDIA GPUs, or AMD GPUs—whatever you have available!

Recommended for:


Documentation

To learn more, please visit the device documentation:

See all Lightning devices:


Installation

For details on installation and dependencies, visit the lightning.kokkos installation page.


Device Initialization

Initialize the device in PennyLane with:

import pennylane as qml dev = qml.device("lightning.kokkos", wires=2)

For more details on device settings and keyword arguments, see the device documentation.