The Hamiltonian Extended Krylov Subspace Method
Abstract
An algorithm for constructing a J-orthogonal basis of the extended Krylov subspace Kr,s=range\u,Hu, H2u, …, H2r-1u, H-1u, H-2u, …, H-2su\, where H ∈ R2n × 2n is a large (and sparse) Hamiltonian matrix is derived (for r = s+1 or r=s). Surprisingly, this allows for short recurrences involving at most five previously generated basis vectors. Projecting H onto the subspace Kr,s yields a small Hamiltonian matrix. The resulting HEKS algorithm may be used in order to approximate f(H)u where f is a function which maps the Hamiltonian matrix H to, e.g., a (skew-)Hamiltonian or symplectic matrix. Numerical experiments illustrate that approximating f(H)u with the HEKS algorithm is competitive for some functions compared to the use of other (structure-preserving) Krylov subspace methods.