qml.decomposition.change_op_basis_resource_rep

change_op_basis_resource_rep(compute_op, target_op, uncompute_op=None)[source]

Creates a CompressedResourceOp representation of the compute-uncompute pattern ChangeOpBasis of operators.

Parameters:
  • compute_op – the compressed resource representation of the compute operator

  • target_op – the compressed resource representation of target operator

  • uncompute_op – the compressed resource representation of the uncompute operator

Contents

Using PennyLane

Release news

Development

API

Internals