default.qubit
is PennyLane’s most featureful device that is perfect for fast prototyping with small-scale circuits.
Recommended for:
To learn more, please visit the device documentation:
The default.qubit
device is included in PennyLane. It can be installed with:
pip install pennylane
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.qubit', wires=5)
For more details on device settings and keyword arguments, see the device documentation.