qml.transforms.core.transform_dispatcher.TransformContainer

class TransformContainer(transform, args=None, kwargs=None, classical_cotransform=None, is_informative=False, final_transform=False, use_argnum=False)[source]

Bases: object

Class to store a quantum transform with its args, kwargs and classical co-transforms. Use transform().

Warning

This class is developer-facing and should not be used directly. Instead, use qml.transform if you would like to make a custom transform.

See also

transform()

args

The stored quantum transform's args.

classical_cotransform

The stored quantum transform's classical co-transform.

final_transform

True if the transform needs to be executed

is_informative

True if the transform is informative.

kwargs

The stored quantum transform's kwargs.

transform

The stored quantum transform.

args

The stored quantum transform’s args.

classical_cotransform

The stored quantum transform’s classical co-transform.

final_transform

True if the transform needs to be executed

is_informative

True if the transform is informative.

kwargs

The stored quantum transform’s kwargs.

transform

The stored quantum transform.