Difference between revisions of "Hamiltonian.m"
(Created page with "Hamiltonian operator / superoperator and its rotational decomposition. Descriptor and operator generation is parallelized. Syntax: [H,Q]=hamiltonian(spin_syst...") |
|||
| Line 1: | Line 1: | ||
| − | Hamiltonian operator / superoperator and its rotational decomposition. | + | Hamiltonian operator / superoperator and its rotational decomposition. Descriptor and operator generation is parallelized. Syntax: |
| − | Descriptor and operator generation is parallelized. Syntax: | ||
[H,Q]=hamiltonian(spin_system,operator_type) | [H,Q]=hamiltonian(spin_system,operator_type) | ||
| Line 19: | Line 18: | ||
H - isotropic part | H - isotropic part | ||
| − | Q - | + | 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 | + | 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. |
| − | information about all orientations. Use orientation.m to | ||
| − | |||
Revision as of 13:44, 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.