qml.devices

Warning

Unless you are a PennyLane or plugin developer, you likely do not need to use these classes directly.

See the main plugins page for more details on available plugins.

Modules

This subpackage provides default devices for PennyLane, which do not need external plugins to be installed. The default devices provide basic built-in qubit and CV circuit simulators that can be used with PennyLane without the need for additional dependencies. They may also be used in the PennyLane test suite in order to verify and test quantum gradient computations.

default_qubit

The default.qubit device is PennyLane’s standard qubit-based device.

default_qubit_tf

This module contains a TensorFlow implementation of the DefaultQubit reference plugin.

default_qubit_autograd

This module contains an autograd implementation of the DefaultQubit reference plugin.

default_gaussian

The default.gaussian device is a simulator for Gaussian continuous-variable quantum computations, and can be used as a template for writing PennyLane devices for new CV backends.

tf_ops

Utility functions and numerical implementations of quantum operations TensorFlow devices.

autograd_ops

Utility functions and numerical implementations of quantum operations for Autograd-based devices.

tests

This subpackage provides integration tests for the devices with PennyLane’s core functionalities.