Difference between revisions of "Expmint.m"
m (Spot-update function page against current Spinach source) |
(Add NOTOC to Spinach function page header) |
||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:expmint.m}} | + | {{DISPLAYTITLE:expmint.m}} __NOTOC__ |
Computes matrix exponential integrals of the following general type: | Computes matrix exponential integrals of the following general type: | ||
Revision as of 16:58, 5 June 2026
Computes matrix exponential integrals of the following general type:
Integrate[expm(-i*A*t)*B*expm(i*C*t),{t,0,T}]
Matrix A must be Hermitian. For further info see the paper by Charles van Loan (http://dx.doi.org/10.1109/TAC.1978.1101743).
Syntax
R=expmint(spin_system,A,B,C,T)
Arguments
A,B,C - the three matrices involved in the integral
T - integration time
Outputs
R - the resulting integral
Notes
The auxiliary matrix method is massively faster than either commutator series or diagonalisation.
This is the most memory-intensive stage in many calculations; memory recycling is aggressive.
See also
intrep.m, propagator.m, average.m, rotframe.m, dirdiff.m
Version 2.2, authors: Luke Edwards, David Goodwin, Ilya Kuprov