Difference between revisions of "Thermalize.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Correct function page syntax from current Spinach source)
(Update function See also links and function index membership)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{DISPLAYTITLE:thermalize.m}}
+
{{DISPLAYTITLE:thermalize.m}} __NOTOC__
−
Modifies a symmetric relaxation superoperator to relax the system towards a user-specified state using the Levante-Ernst method ( https://doi.org/10.1016/0009-2614(95)00578-R ) which works by adding one-way cross-relaxation with the unit state.
+
Modifies the relaxation superoperator to drive the system to the user-specified target state using the inhomogeneous master equation formalism, or to the equilibrium state of the lab-frame Hamiltonian at the temperature provided by the user using the DiBari-Levitt formalism.
  
 
==Syntax==
 
==Syntax==
Line 7: Line 7:
 
     R=thermalize(spin_system,R,HLSPS,T,rho_eq,method)
 
     R=thermalize(spin_system,R,HLSPS,T,rho_eq,method)
  
−
==Arguments==
+
==Parameters==
  
−
   R   - a relaxation superoperator that drives the  
+
 
−
        system to the zero state
+
   R       - symmetric negative definite relaxation superoperator that
 +
            drives the system towards the zero state vector; this may
 +
            be obtained from relaxation.m if inter.equilibrium is 'zero'
 +
 +
  HLSPS  - lab-frame Hamiltonian left side product superoperator,
 +
            available from hamiltonian.m; also call orientation.m if
 +
            necessary. This is not required for IME formalism, pass []
 +
 +
  T      - absolute temperature, not required for IME formalism,
 +
            pass []
 +
 +
  rho_eq  - thermal equilibrium state, not required for DiBari-Levitt
 +
            formalism, pass []
 
   
 
   
−
   rho - desired relaxation destination
+
   method  - 'dibari' for DiBari-Levitt thermalisation, 'IME' for the
 +
            inhomogeneous master equation
  
 
==Outputs==
 
==Outputs==
  
−
   R   - the relaxation superoperator that drives the
+
 
−
        system to the state requested
+
   R       - thermalised relaxation superoperator
  
 
==Notes==
 
==Notes==
−
Liouville space spherical tensor formalism only.
+
 
 +
IME requires the population of the unit state in the state vector to be exactly 1; Spinach cannot check or enforce this requirement. DiBari-Levitt thermalisation is computationally expensive, but tends to work better than IME, particularly in exotic regimes.
  
 
==See also==
 
==See also==
−
[[magpump.m]], [[relaxation.m]], [[kinetics.m]], [[lindbladian.m]]
+
[[magpump.m]], [[relaxation.m]], [[kinetics.m]], [[lindbladian.m]], [[basis.m]], [[create.m]], [[reduce.m]], [[Kernel_functions]]
  
 
''Version 2.2, authors: [[Ilya Kuprov]]''
 
''Version 2.2, authors: [[Ilya Kuprov]]''

Latest revision as of 18:42, 6 June 2026

Modifies the relaxation superoperator to drive the system to the user-specified target state using the inhomogeneous master equation formalism, or to the equilibrium state of the lab-frame Hamiltonian at the temperature provided by the user using the DiBari-Levitt formalism.

Syntax

    R=thermalize(spin_system,R,HLSPS,T,rho_eq,method)

Parameters

  R       - symmetric negative definite relaxation superoperator that
            drives the system towards the zero state vector; this may
            be obtained from relaxation.m if inter.equilibrium is 'zero'

  HLSPS   - lab-frame Hamiltonian left side product superoperator,
            available from hamiltonian.m; also call orientation.m if
            necessary. This is not required for IME formalism, pass []

  T       - absolute temperature, not required for IME formalism,
            pass []

  rho_eq  - thermal equilibrium state, not required for DiBari-Levitt
            formalism, pass []

  method  - 'dibari' for DiBari-Levitt thermalisation, 'IME' for the
            inhomogeneous master equation

Outputs

  R       - thermalised relaxation superoperator

Notes

IME requires the population of the unit state in the state vector to be exactly 1; Spinach cannot check or enforce this requirement. DiBari-Levitt thermalisation is computationally expensive, but tends to work better than IME, particularly in exotic regimes.

See also

magpump.m, relaxation.m, kinetics.m, lindbladian.m, basis.m, create.m, reduce.m, Kernel_functions

Version 2.2, authors: Ilya Kuprov