The BasicSim device

Qiskit comes packed with a basic pure-Python simulator that can be accessed in this plugin through:

import pennylane as qml
dev = qml.device('qiskit.basicsim', wires=2)

This device uses the Qiskit BasicSimulator backend from the basic_provider module in Qiskit.

Note

The Qiskit Aer device provides a fast simulator that is also capable of simulating noise. It is available as “qiskit.aer”, but the backend must be installed separately with pip install qiskit-aer.