Difference between revisions of "Orientation.m"
(Sync syntax/arguments/outputs with current Spinach source) |
|||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:orientation.m}} | + | {{DISPLAYTITLE:orientation.m}} __NOTOC__ |
| + | |||
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) | |
==Arguments== | ==Arguments== | ||
| − | + | Q - rotational basis as returned by | |
hamiltonian.m function | hamiltonian.m function | ||
| Line 17: | Line 18: | ||
==Outputs== | ==Outputs== | ||
| − | + | 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 15:06, 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
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