The lightning.amdgpu is a specific instance of our lightning.kokkos device to give maximum performance on AMD GPUs.
Recommended for:
lightning.kokkos).To learn more, please visit the device documentation:
See all Lightning devices:
For details on installation and dependencies, visit the lightning.amdgpu installation page. For instructions to build for other architectures or with MPI support, visit the lightning.kokkos installation page
Initialize the device in PennyLane with:
import pennylane as qml
dev = qml.device("lightning.amdgpu", wires=20)
For more details on device settings and keyword arguments, see the device documentation for lightning.amdgpu and lightning.kokkos.