Difference between revisions of "Thermalize.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
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 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.
  
 
==Syntax==
 
==Syntax==
  
−
    R=thermalize(spin_system,R,rho)
+
R=thermalize(spin_system,R,HLSPS,T,rho_eq,method)
  
 
==Arguments==
 
==Arguments==
  
−
  R   - a relaxation superoperator that drives the  
+
R       - symmetric negative definite relaxation super-
−
        system to the zero state
+
              operator that drives the system towards the
−
   
+
              zero state vector; this may be obtained from
−
  rho - desired relaxation destination
+
              relaxation.m if inter.equilibrium is 'zero'
 +
 
 +
    HLSPS  - lab frame Hamiltonian left side product super-
 +
              operator, available from hamiltonian.m (also
 +
              call orientation.m if necessary); this is not
 +
              required for IME formalism (pass empty array)
 +
 
 +
    T      - absolute temperature, not required for the
 +
              IME formalism (pass empty array)
 +
 
 +
    rho_eq - thermal equilibrium state, not required for
 +
              the DiBari-Levitt formalism (pass empty array)
 +
 
 +
    method  - 'dibari' for DiBari-Levitt thermalisation,
 +
              'IME' for the inhomogeneous master equation
  
 
==Outputs==
 
==Outputs==
  
−
  R   - the relaxation superoperator that drives the
+
R       - thermalized relaxation superoperator
−
        system to the state requested
+
 
 +
Note: to work correctly, IME requires the population of the unit state
 +
      in the state vector to be exactly 1. Spinach has no way of check-
 +
      ing or enforcing this requirement - take due care.
 +
 
 +
Note: DiBari-Levitt method is computationally expensive, but tends to
 +
      work better than IME, particularly in exotic regimes.
 +
 
 +
ilya.kuprov@weizmann.ac.il
 +
fije@inano.au.dk
  
 
==Notes==
 
==Notes==
 +
 
Liouville space spherical tensor formalism only.
 
Liouville space spherical tensor formalism only.
  
 
==See also==
 
==See also==
 +
 
[[magpump.m]], [[relaxation.m]], [[kinetics.m]], [[lindbladian.m]]
 
[[magpump.m]], [[relaxation.m]], [[kinetics.m]], [[lindbladian.m]]
  
  
 
''Version 2.2, authors: [[Ilya Kuprov]]''
 
''Version 2.2, authors: [[Ilya Kuprov]]''

Revision as of 14:04, 5 April 2026


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.

Syntax

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

Arguments

R - symmetric negative definite relaxation super-

              operator 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 super-
              operator, available from hamiltonian.m (also
              call orientation.m if necessary); this is not
              required for IME formalism (pass empty array)
    T       - absolute temperature, not required for the
              IME formalism (pass empty array)
    rho_eq  - thermal equilibrium state, not required for
              the DiBari-Levitt formalism (pass empty array)
    method  - 'dibari' for DiBari-Levitt thermalisation,
              'IME' for the inhomogeneous master equation

Outputs

R - thermalized relaxation superoperator

Note: to work correctly, IME requires the population of the unit state
      in the state vector to be exactly 1. Spinach has no way of check-
      ing or enforcing this requirement - take due care.
Note: DiBari-Levitt method is computationally expensive, but tends to
      work better than IME, particularly in exotic regimes.
ilya.kuprov@weizmann.ac.il
fije@inano.au.dk

Notes

Liouville space spherical tensor formalism only.

See also

magpump.m, relaxation.m, kinetics.m, lindbladian.m


Version 2.2, authors: Ilya Kuprov