Graph.adjoint(x, *, name=None)

Calculate the element-wise adjoint of the last two dimensions of an object. This can be a an array, a tensor, or a time-dependent function in the form of a Pwc or an Stf where values have at least two dimensions.


  • x (np.ndarray or Tensor or Pwc or Stf) – The object whose adjoint you want to calculate, XX^\dagger
  • name (str or None , optional) – The name of the node. You can only provide a name if the object is not an Stf.


The element-wise adjoint, of the last two dimension of the given matrix or matrix-valued function.

Return type

Tensor or Pwc or Stf


Graph.conjugate : Conjugate of a complex object.

Graph.transpose : Reorder the dimensions of a tensor.

Was this useful?