The default.clifford device enables efficient simulation of large-scale Clifford circuits through the use of Stim as a backend.
Recommended for:
To learn more, please visit the device documentation:
The default.clifford device is included in PennyLane. The stim library must also be installed to execute circuits with this device.
pip install pennylane stim
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('default.clifford', wires=5)
For more details on device settings and keyword arguments, see the device documentation.