qml.workflow¶
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 module contains the core objects for managing a PennyLane workflow.
Execution functions and utilities¶
|
New function to execute a batch of tapes on a device in an autodifferentiable-compatible manner. |
|
Decorator that adds caching to a function that executes multiple tapes on a device. |
|
Context manager to temporarily change the shots of a device. |
|
Construct the batch of tapes and post processing for a designated stage in the transform program. |
|
Extract a transform program at a designated level. |
Supported interfaces¶
This module contains functions for adding the Autograd interface to a PennyLane Device class. |
|
This module contains functions for binding JVP’s or VJP’s to the JAX interface. |
|
This module contains functions for binding JVPs or VJPs to JAX when using JIT. |
|
This module contains functions for adding the TensorFlow interface to a PennyLane Device class. |
|
This module contains functions for adding the TensorFlow Autograph interface to a PennyLane Device class. |
|
This module contains functions for adding the PyTorch interface to a PennyLane Device class. |
Jacobian Product Calculation¶
Provides methods for calculating the JVP/VJP between the Jacobians of tapes and tangents/cotangents. |
|
|
Compute VJPs, JVPs and Jacobians via a gradient transform |
|
Calculate jacobian products via a device provided jacobian. |
|
Compute jacobian products using the native device methods. |
|
Calculates VJPs natively using lightning.qubit. |