Difference between revisions of "Zte.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Update function See also links and function index membership)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Zero track elimination function. Inspects the first few steps in the
+
{{DISPLAYTITLE:zte.m}} __NOTOC__
system trajectory and drops the states that did not get populated to a
+
Zero track elimination function. Inspects the first few steps in the system trajectory and drops the states that did not get populated to a user-specified tolerance.
user-specified tolerance. The default tolerance may be altered by set-
 
ting sys.tols.zte_tol variable before calling create(). Syntax:
 
  
                projector=zte(spin_system,L,rho,nstates)
+
==Syntax==
  
Parameters:
+
    projector=zte(spin_system,L,rho,nstates)
  
      L      - the Liouvillian to be used for time propagation
+
==Parameters==
  
       rho    - the initial state to be used for time propagation
+
      L      - the Liouvillian to be used for time
 +
                propagation
 +
 +
       rho    - the initial state to be used for  
 +
                time propagation
 +
 +
      nstates - if this parameter is specified, only
 +
                nstates most populated states are kept,
 +
                irrespective of the tolerance parameter
  
      nstates - if this parameter is specified, only nstates most
+
==Outputs==
                populated states are kept, irrespective of the to-
 
                lerance parameter
 
  
Output:
+
      projector - projector matrix into the reduced space,
 +
                  to be used as follows:  
 +
 +
                            L_reduced=P'*L*P
 +
                            rho_reduced=P'*rho;
  
      projector - projector matrix into the reduced space, to be used
+
==Notes==
                  as follows: L_reduced=P'*L*P, rho_reduced=P'*rho;
+
# Default tolerance may be altered by setting sys.tols.zte_tol variable before calling [[create.m]]
 +
# Further information on how this function works is available in IK's JMR paper on the subject, see http://dx.doi.org/10.1016/j.jmr.2008.08.008
 +
# If tiny interactions or nearly equivalent spins are present, it is best to disable zero track elimination by adding 'zte' to the sys.disable cell array.
  
Further information is available in IK's JMR paper on the subject:
+
==See also==
 +
[[reduce.m]], [[path_trace.m]], [[symmetry.m]], [[krylov.m]], [[create.m]], [[adelim.m]], [[coherence.m]], [[correlation.m]], [[dfpt.m]], [[homospoil.m]], [[human2opspec.m]], [[lin2lm.m]], [[lin2lmn.m]], [[lm2lin.m]], [[lmn2lin.m]], [[scomponents.m]], [[sinkhole.m]], [[sparse2csr.m]], [[sphten2zeeman.m]], [[stitch.m]], [[Kernel_utilities]]
  
              http://dx.doi.org/10.1016/j.jmr.2008.08.008
+
''Version 2.2, authors: [[Ilya Kuprov]]''
 
 
==Notes==
 
It is a good idea to disable ZTE in systems with nearly equivalent spins.
 

Latest revision as of 19:43, 6 June 2026

Zero track elimination function. Inspects the first few steps in the system trajectory and drops the states that did not get populated to a user-specified tolerance.

Syntax

    projector=zte(spin_system,L,rho,nstates)

Parameters

     L       - the Liouvillian to be used for time 
               propagation

     rho     - the initial state to be used for 
               time propagation

     nstates - if this parameter is specified, only
               nstates most populated states are kept,
               irrespective of the tolerance parameter

Outputs

     projector - projector matrix into the reduced space,
                 to be used as follows: 

                           L_reduced=P'*L*P
                           rho_reduced=P'*rho;

Notes

  1. Default tolerance may be altered by setting sys.tols.zte_tol variable before calling create.m
  2. Further information on how this function works is available in IK's JMR paper on the subject, see http://dx.doi.org/10.1016/j.jmr.2008.08.008
  3. If tiny interactions or nearly equivalent spins are present, it is best to disable zero track elimination by adding 'zte' to the sys.disable cell array.

See also

reduce.m, path_trace.m, symmetry.m, krylov.m, create.m, adelim.m, coherence.m, correlation.m, dfpt.m, homospoil.m, human2opspec.m, lin2lm.m, lin2lmn.m, lm2lin.m, lmn2lin.m, scomponents.m, sinkhole.m, sparse2csr.m, sphten2zeeman.m, stitch.m, Kernel_utilities

Version 2.2, authors: Ilya Kuprov