lightning.gpu
is PennyLane’s GPU-extension of lightning.qubit; it’s our most performant all-around device for heavy workloads, made possible by NVIDIA’s cuQuantum SDK.
Recommended for:
To learn more, please visit the device documentation:
See all Lightning devices:
The lightning.gpu
device can be installed with:
pip install pennylane-lightning-gpu
For more details on installation and dependencies, visit the Install PennyLane page.
Initialize the device in PennyLane with:
import pennylane as qml dev = qml.device('lightning.gpu', wires=20)
For more details on device settings and keyword arguments, see the device documentation.