orientation.m

From Spinach Documentation Wiki
Revision as of 14:06, 5 April 2026 by Kuprov (talk | contribs) (Sync syntax/arguments/outputs with current Spinach source)
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
Note: this function may be used in both Hilbert and Liouville
      space because the H -> [H, ] adjoint map is linear.
TODO: efficient sparse summation.
ilya.kuprov@weizmann.ac.il

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