Difference between revisions of "Trapdiff.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Normalise preformatted blank lines in function documentation blocks)
(Update function See also links and function index membership)
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
     [DL,DR]=trapdiff(spin_system,Hd,Hc,dt,cL,cR)
 
     [DL,DR]=trapdiff(spin_system,Hd,Hc,dt,cL,cR)
  
−
==Arguments==
+
==Parameters==
  
 
     Hd - a cell array of two matrices containing drift  
 
     Hd - a cell array of two matrices containing drift  
Line 35: Line 35:
  
 
==See also==
 
==See also==
−
[[Kernel_utilities#Numerical_infrastructure|Numerical Infrastructure]], [[Optimal control module]], [[dirdiff.m]]
+
[[dirdiff.m]], [[acomm.m]], [[alpha_conds.m]], [[arnoldi.m]], [[atranspose.m]], [[aux_mat.m]], [[bfgs.m]], [[binpack.m]], [[cheap_norm.m]], [[cheb_coeff.m]], [[clean_up.m]], [[cubic_interp.m]], [[drifts.m]], [[eigenfields.m]], [[ensemble.m]], [[expdrop.m]], [[expmint.m]], [[expmint2.m]], [[fftdiff.m]], [[fourdif.m]], [[fourlap.m]], [[frob_chop.m]], [[gaussfun.m]], [[hdot.m]], [[herm_spline.m]], [[hess_reorder.m]], [[jacobianest.m]], [[keep_rank.m]], [[krondelta.m]], [[kronm_new.m]], [[logfactorial.m]], [[lorentzcon.m]], [[lorentzfun.m]], [[md5_hash.m]], [[mprealloc.m]], [[objeval.m]], [[optimcon.m]], [[remncomm.m]], [[remtrace.m]], [[rspert.m]], [[rspt_eig.m]], [[snormpdf.m]], [[svd_shrink.m]], [[tikhoind.m]], [[tikhonov.m]], [[unit_oper.m]], [[unit_state.m]], [[vvpert.m]], [[Kernel_utilities]], [[Optimal control module]]
  
 
''Version 2.7, authors: [[Uluk Rasulov]], [[Ilya Kuprov]]''
 
''Version 2.7, authors: [[Uluk Rasulov]], [[Ilya Kuprov]]''

Latest revision as of 18:42, 6 June 2026

Directional derivatives for the trapezium product quadrature published by Iserles and Norsett (see Corollary 3.3) in (https://doi.org/10.1098/rsta.1999.0362). The derivatives are of the following propagator:

         expm(-i*((HL+HR)/2+i*dt*(sqrt(3)/12)*[HL,HR])*dt)

with respect to the coefficients cL, cR in the evolution generators HL and HR on the left and the right side of the interval respectively. Evolution generators HL and HR are split into the drift part Ho and the control part Hc, such that HL=Ho+cL*Hc and HR=Ho+cR*Hc on the left and the right edge of the interval. The derivatives are calculated using Eq 16 of Goodwin and Kuprov (https://doi.org/10.1063/1.4928978).

Syntax

    [DL,DR]=trapdiff(spin_system,Hd,Hc,dt,cL,cR)

Parameters

    Hd - a cell array of two matrices containing drift 
         generators at the left (first element) and the
         right (second element) edge of the interval

    Hc - control operator or superoperator

    dt - interval duration, seconds

    cL - control operator coefficient at the
         left edge of the interval

    cR - control operator coefficient at the
         right edge of the interval

Outputs

    DL - derivative of the interval propagator
         with respect to cL

    DR - derivative of the interval propagator
         with respect to cR

See also

dirdiff.m, acomm.m, alpha_conds.m, arnoldi.m, atranspose.m, aux_mat.m, bfgs.m, binpack.m, cheap_norm.m, cheb_coeff.m, clean_up.m, cubic_interp.m, drifts.m, eigenfields.m, ensemble.m, expdrop.m, expmint.m, expmint2.m, fftdiff.m, fourdif.m, fourlap.m, frob_chop.m, gaussfun.m, hdot.m, herm_spline.m, hess_reorder.m, jacobianest.m, keep_rank.m, krondelta.m, kronm_new.m, logfactorial.m, lorentzcon.m, lorentzfun.m, md5_hash.m, mprealloc.m, objeval.m, optimcon.m, remncomm.m, remtrace.m, rspert.m, rspt_eig.m, snormpdf.m, svd_shrink.m, tikhoind.m, tikhonov.m, unit_oper.m, unit_state.m, vvpert.m, Kernel_utilities, Optimal control module

Version 2.7, authors: Uluk Rasulov, Ilya Kuprov