adjoint

static OperationNamespace.adjoint(matrix, *, name=None)

Returns the conjugate of the input tensor representing a 2D matrix with the two innermost dimensions transposed.

Parameters
  • matrix (np.ndarray or Tensor) – The matrix (or batch of matrices), \(A\).

  • name (str, optional) – The name of the node.

Returns

The adjoint tensor \(A^\dagger\).

Return type

Tensor