iqm.benchmarks.compressive_gst.mgst.additional_fns.transp

Contents

iqm.benchmarks.compressive_gst.mgst.additional_fns.transp#

iqm.benchmarks.compressive_gst.mgst.additional_fns.transp(dim1: int, dim2: int) ndarray#

Superoperator of a map that performs the transpose operation.

Parameters:
  • dim1 (int) – First dimension of the matrix to be transposed

  • dim2 (int) – Second dimension of the matrix to be transposed

Returns:

Transpose superoperator that turns a dim1xdim2 matrix into a dim2xdim1 matrix

Return type:

T

Notes

The projection is done with respect to the canonical metrik.