orientation.m

From Spinach Documentation Wiki
Revision as of 15:49, 5 April 2026 by Kuprov (talk | contribs) (Restore pre-bulk-edit wiki content)
Jump to: navigation, search

Anisotropic part of the Hamiltonian for a specific spin system orientation.

Syntax

    H=orientation(Q,euler_angles)

Arguments

  Q             -  rotational basis as returned by 
                   hamiltonian.m function

  euler_angles  -  a 1x3 vector specifying Euler 
                   angles (radians) relative to the
                   input orientation

Outputs

    H    -    anisotropic part of the Hamiltonian 
              for the specified Euler angles

Notes

This function may be used in both Hilbert and Liouville space because the H -> [H, ] adjoint map is linear.

See also

hamiltonian.m, operator.m, wigner.m, irr_sph_ten.m


Version 2.2, authors: Ilya Kuprov