The qiskit.basicsim
device in the PennyLane-Qiskit plugin gives you access to Qiskit’s BasicSimulator
device via the PennyLane frontend.
Recommended for:
To learn more, please visit the device documentation:
See all PennyLane-Qiskit devices:
The qiskit.basicsim
device can be installed with:
pip install pennylane-qiskit
For more details on installation and dependencies, visit the PennyLane-Qiskit installation page.
Initialize the device in PennyLane with:
import pennylane as qml dev = qml.device("qiskit.basicsim", wires=2)
For more details on device settings and keyword arguments, see the device documentation.