Orientation.m

From Spinach Documentation Wiki
Revision as of 12:12, 7 September 2015 by Kuprov (talk | contribs) (Created page with "Anisotropic part of the Hamiltonian for a specific spin system orientation. Syntax: H=orientation(Q,euler_angles) Arguments: Q - rotation...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
                   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.