qml.interfaces.torch

This module contains functions for adding the PyTorch interface to a PennyLane Device class.

Classes

ExecuteTapes(*args, **kwargs)

The signature of this torch.autograd.Function is designed to work around Torch restrictions.

Functions

execute(tapes, device, execute_fn, …[, …])

Execute a batch of tapes with Torch parameters on a device.