AtomicDensityMatrix`
AtomicDensityMatrix`

ToCartesian

ToCartesian[tens]

converts a rankone covariant or contravariant spherical tensor tens to the Cartesian basis.

Details and Options

  • ToCartesian can be applied to tensors whose components are matrix operators.
  • If ToCartesian is supplied a Cartesian vector (represented as a one-dimensional list), it leaves the argument unchanged.
  • TensorForm can be used to display a Cartesian vector of matrix operators in matrix form.

Examples

Basic Examples  (2)

Convert a Cartesian vector to the spherical basis and back:

Convert the components of the angular-momentum operator from the spherical basis to the Cartesian basis: