qml.decomposition.adjoint_resource_rep

adjoint_resource_rep(base_class, base_params=None)[source]

Creates a CompressedResourceOp representation of the adjoint of an operator.

Parameters:
  • base_class – the base operator type

  • base_params (dict) – the resource params of the base operator

Contents

Using PennyLane

Release news

Development

API

Internals