Orientation.m
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
function.
euler_angles - a 1x3 vector or a vertical stack of 1x3
vectors specifying Euler angles (radians)
relative to the input orientation.
Output:
H - anisotropic part of the Hamiltonian commutation
superoperator (or a cell array thereof) for the
specified Euler angles.
This function may be used in both Hilbert and Liouville space because the H -> [H, ] adjoint map is linear.