Difference between revisions of "Hamiltonian.m"
| Line 24: | Line 24: | ||
Note: this function returns the full rotational basis that contains information about all orientations. Use [[orientation.m]] to generate the Hamiltonian at a specific orientation. | Note: this function returns the full rotational basis that contains information about all orientations. Use [[orientation.m]] to generate the Hamiltonian at a specific orientation. | ||
| + | |||
| + | |||
| + | ''Version 1.9, authors: [[Ilya Kuprov]], [[Luke Edwards]], [[Hannah Hogben]], [[Dmitry Savostyanov]]'' | ||
Revision as of 13:46, 3 January 2017
Hamiltonian operator / superoperator and its rotational decomposition. Descriptor and operator generation is parallelized. Syntax:
[H,Q]=hamiltonian(spin_system,operator_type)
In Liouville space calculations, operator_type can be set to:
'left' - produces left side product superoperator
'right' - produces right side product superoperator
'comm' - produces commutation superoperator (default)
'acomm' - produces anticommutation superoperator
In Hilbert space calculations operator_type parameter is ignored.
Outputs:
H - isotropic part
Q - irreducible components of the anisotropic
part, ordered by increasing spherical rank,
and within ranks by decreasing projection
quantum number
Note: this function returns the full rotational basis that contains information about all orientations. Use orientation.m to generate the Hamiltonian at a specific orientation.
Version 1.9, authors: Ilya Kuprov, Luke Edwards, Hannah Hogben, Dmitry Savostyanov