Difference between revisions of "Orientation.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Spot-edit Spinach function page first-line NOTOC and template fields)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     H=orientation(Q,euler_angles)
 
     H=orientation(Q,euler_angles)
  
−
==Arguments==
+
==Parameters==
  
 
   Q            -  rotational basis as returned by  
 
   Q            -  rotational basis as returned by  

Revision as of 18:50, 5 June 2026

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

Syntax

    H=orientation(Q,euler_angles)

Parameters

  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