Difference between revisions of "Hamiltonian.m"

From Spinach Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
−
Hamiltonian operator / superoperator and its rotational decomposition. Descriptor and operator generation is parallelized. Syntax:
+
{{DISPLAYTITLE:hamiltonian.m}}
 +
Hamiltonian operator or superoperator and its rotational decomposition. Descriptor and operator generation are parallelised.
  
−
                [H,Q]=hamiltonian(spin_system,operator_type)
+
==Syntax==
  
−
In Liouville space calculations, operator_type can be set to:
+
    [H,Q]=hamiltonian(spin_system,operator_type)
−
                     
 
−
            'left' - produces left side product superoperator
 
  
−
            'right' - produces right side product superoperator
+
==Arguments==
 +
In Liouville space, operator_type can be set to
  
−
            'comm' - produces commutation superoperator (default)
+
          'left' - produces left side product superoperator
 +
 +
        'right' - produces right side product superoperator
 +
 +
          'comm' - produces commutation superoperator (default)
 +
 +
        'acomm' - produces anticommutation superoperator
  
−
            'acomm' - produces anticommutation superoperator
+
In Hilbert space this parameter is ignored.
  
−
In Hilbert space calculations operator_type parameter is ignored.
+
==Outputs==
  
−
Outputs:
+
    H  - rotationally invariant part of the Hamiltonian
−
                    H   - isotropic part
+
 +
    Q   - irreducible components of the anisotropic part,
 +
          use [[orientation.m]] to get the full Hamiltonian
 +
          at each specific orientation
  
−
                    Q  - irreducible components of the anisotropic
+
==Notes==
−
                          part, ordered by increasing spherical rank,
+
All spin interactions that go into the Hamiltonian are specified during the spin system setup - see the [[spin system specification]] section of the online manual.
−
                          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.
+
==See also==
 +
[[relaxation.m]], [[kinetics.m]], [[operator.m]], [[state.m]]
  
  
−
''Version 1.9, authors: [[Ilya Kuprov]], [[Luke Edwards]], [[Hannah Hogben]], [[Dmitry Savostyanov]]''
+
''Version 2.2, authors: [[Ilya Kuprov]], [[Luke Edwards]], [[Hannah Hogben]], [[Dmitry Savostyanov]]''

Revision as of 10:46, 29 August 2018

Hamiltonian operator or superoperator and its rotational decomposition. Descriptor and operator generation are parallelised.

Syntax

    [H,Q]=hamiltonian(spin_system,operator_type)

Arguments

In Liouville space, 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 this parameter is ignored.

Outputs

    H   - rotationally invariant part of the Hamiltonian

    Q   - irreducible components of the anisotropic part,
          use orientation.m to get the full Hamiltonian
          at each specific orientation

Notes

All spin interactions that go into the Hamiltonian are specified during the spin system setup - see the spin system specification section of the online manual.

See also

relaxation.m, kinetics.m, operator.m, state.m


Version 2.2, authors: Ilya Kuprov, Luke Edwards, Hannah Hogben, Dmitry Savostyanov