qml.transforms.core.transform_dispatcher

This module contains the transform dispatcher and the transform container.

Classes

BoundTransform(transform[, args, kwargs, ...])

A transform with bound inputs.

TransformContainer

alias of BoundTransform

TransformDispatcher(*args, **__)

Converts a transform that has the signature (tape -> Sequence(tape), fn) to a transform dispatcher that can act on pennylane.tape.QuantumTape, quantum function, pennylane.QNode, pennylane.devices.Device.

Functions

apply_to_callable(obj, transform, *targs, ...)

Apply a transform to a Callable object.

generic_apply_transform()

Apply an generic transform to a specific type of object.

specific_apply_transform(transform, obj, ...)

The default behavior for TransformDispatcher._apply_transform.