Difference between revisions of "Orientation.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
−
{{DISPLAYTITLE:orientation.m}} __NOTOC__
+
{{DISPLAYTITLE:orientation.m}}
−
 
 
 
Anisotropic part of the Hamiltonian for a specific spin system orientation.
 
Anisotropic part of the Hamiltonian for a specific spin system orientation.
  
 
==Syntax==
 
==Syntax==
  
−
H=orientation(Q,euler_angles)
+
    H=orientation(Q,euler_angles)
  
 
==Arguments==
 
==Arguments==
  
−
Q            -  rotational basis as returned by  
+
  Q            -  rotational basis as returned by  
 
                     hamiltonian.m function
 
                     hamiltonian.m function
 
   
 
   
Line 18: Line 17:
 
==Outputs==
 
==Outputs==
  
−
H    -    anisotropic part of the Hamiltonian
+
    H    -    anisotropic part of the Hamiltonian  
 
               for the specified Euler angles
 
               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==
 
==Notes==
−
 
 
This function may be used in both Hilbert and Liouville space because the H -> [H, ] adjoint map is linear.
 
This function may be used in both Hilbert and Liouville space because the H -> [H, ] adjoint map is linear.
  
 
==See also==
 
==See also==
−
 
 
[[hamiltonian.m]], [[operator.m]], [[wigner.m]], [[irr_sph_ten.m]]
 
[[hamiltonian.m]], [[operator.m]], [[wigner.m]], [[irr_sph_ten.m]]
  
  
 
''Version 2.2, authors: [[Ilya Kuprov]]''
 
''Version 2.2, authors: [[Ilya Kuprov]]''

Revision as of 14:49, 5 April 2026

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