Difference between revisions of "Relaxation.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Document Spinach 2.12 bosonic mode functionality (PR 195))
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:relaxation.m}} __NOTOC__
 
{{DISPLAYTITLE:relaxation.m}} __NOTOC__
 
 
Relaxation superoperator.
 
Relaxation superoperator.
  
 
==Syntax==
 
==Syntax==
  
R=relaxation(spin_system,euler_angles)
+
    R=relaxation(spin_system,euler_angles)
 +
 
 +
==Parameters==
 +
 
  
==Arguments==
 
  
euler_angles  - three Euler angles (ZYZ active convention
+
    euler_angles  - three Euler angles, ZYZ active convention in radians,
                    in radians) specifying system orientation
+
                    specifying system orientation relative to the input
                    relative to the input orientation; requi-
+
                    orientation; required by relaxation theories that
                    by those theories that support relaxation
+
                    support relaxation-rate anisotropy, and ignored by
                    rate anisotropy. It has no effect on tho-
+
                    theories that do not
                    se theories (e.g. Redfield) that do not.
 
  
 
==Outputs==
 
==Outputs==
  
R            - relaxation superoperator
+
    R            - relaxation superoperator
  
 
==Notes==
 
==Notes==
 
 
# A variety of relaxation theories are supported, see the [[relaxation theory parameters]] section of the online manual.
 
# A variety of relaxation theories are supported, see the [[relaxation theory parameters]] section of the online manual.
 
# Spinach [[kernel_contexts|context functions]] include kinetics superoperators into the total Liovillian automatically.
 
# Spinach [[kernel_contexts|context functions]] include kinetics superoperators into the total Liovillian automatically.
 
# The function has been written for minimal memory footprint and performs aggressive memory recycling. Relaxation superoperator dimensions in excess of 1,000,000 are in practice feasible.
 
# The function has been written for minimal memory footprint and performs aggressive memory recycling. Relaxation superoperator dimensions in excess of 1,000,000 are in practice feasible.
 +
# Dissipative bosonic modes declared in inter.modes receive thermalised GKSL dissipators from [[rlx_modes.m]] in Liouville space formalisms; the euler_angles parameter refers to the spin subsystem only and has no effect on the mode terms.
 +
# Bosonic mode dissipation cannot be represented in Hilbert space: a warning is printed and the mode dissipators are omitted, while the rest of the superoperator is returned as usual.
  
 
==See also==
 
==See also==
 
+
[[equilibrium.m]], [[thermalize.m]], [[hamiltonian.m]], [[lindbladian.m]], [[kinetics.m]], [[magpump.m]], [[bos2ist.m]], [[boson_mono.m]], [[boson_ortho.m]], [[centrans.m]], [[ct2ist.m]], [[enlev2bm.m]], [[enlev2ist.m]], [[oper2bm.m]], [[oper2ist.m]], [[operator.m]], [[orientation.m]], [[propagator.m]], [[sin_tran.m]], [[weyl.m]], [[rlx_modes.m]], [[device.m]], [[Kernel_functions]]
[[equilibrium.m]], [[thermalize.m]], [[hamiltonian.m]], [[lindbladian.m]], [[kinetics.m]], [[magpump.m]]
 
 
 
  
 
''Version 2.2, authors: [[Ilya Kuprov]], [[Luke Edwards]], [[Alexander Karabanov]], [[Walter Kockenberger]]''
 
''Version 2.2, authors: [[Ilya Kuprov]], [[Luke Edwards]], [[Alexander Karabanov]], [[Walter Kockenberger]]''

Latest revision as of 05:40, 6 August 2026

Relaxation superoperator.

Syntax

    R=relaxation(spin_system,euler_angles)

Parameters

    euler_angles  - three Euler angles, ZYZ active convention in radians,
                    specifying system orientation relative to the input
                    orientation; required by relaxation theories that
                    support relaxation-rate anisotropy, and ignored by
                    theories that do not

Outputs

    R             - relaxation superoperator

Notes

  1. A variety of relaxation theories are supported, see the relaxation theory parameters section of the online manual.
  2. Spinach context functions include kinetics superoperators into the total Liovillian automatically.
  3. The function has been written for minimal memory footprint and performs aggressive memory recycling. Relaxation superoperator dimensions in excess of 1,000,000 are in practice feasible.
  4. Dissipative bosonic modes declared in inter.modes receive thermalised GKSL dissipators from rlx_modes.m in Liouville space formalisms; the euler_angles parameter refers to the spin subsystem only and has no effect on the mode terms.
  5. Bosonic mode dissipation cannot be represented in Hilbert space: a warning is printed and the mode dissipators are omitted, while the rest of the superoperator is returned as usual.

See also

equilibrium.m, thermalize.m, hamiltonian.m, lindbladian.m, kinetics.m, magpump.m, bos2ist.m, boson_mono.m, boson_ortho.m, centrans.m, ct2ist.m, enlev2bm.m, enlev2ist.m, oper2bm.m, oper2ist.m, operator.m, orientation.m, propagator.m, sin_tran.m, weyl.m, rlx_modes.m, device.m, Kernel_functions

Version 2.2, authors: Ilya Kuprov, Luke Edwards, Alexander Karabanov, Walter Kockenberger