qml.interfaces

Warning

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

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

Modules

This subpackage defines functions convert QNodes to interface with different machine learning libraries.

tf

This module contains the to_tf() function to convert Numpy-interfacing quantum nodes to TensorFlow compatible quantum nodes.

torch

This module contains the to_torch() function to convert Numpy-interfacing quantum nodes to PyTorch compatible quantum nodes.

autograd

Differentiable quantum nodes with Autograd interface.