On Eigenvector Computation and Eigenvalue Reordering for the Non-Hermitian Quaternion Eigenvalue Problem

Zhigang Jia, Meiyue Shao, Yanjun ShaoarXiv 2025 · DOI

Introduction

Researchers from Jiangsu Normal University, Fudan University, and Yale University have recently introduced a significant upgrade to the numerical methods used for solving non-Hermitian quaternion eigenvalue problems. By developing robust techniques for eigenvector computation and eigenvalue reordering, the authors have successfully adapted Aggressive Early Deflation (AED)—a high-performance technique standard in complex linear algebra—to the quaternion domain.

The Challenge of Non-Commutativity

Quaternions, which extend complex numbers into a four-dimensional non-commutative algebra ($ab \neq ba$), are essential in fields like quantum mechanics and robotics. However, this non-commutativity complicates standard linear algebra. Specifically, the "right" eigenvalue problem, defined by $Ax = x\lambda$, cannot be solved using the same shift strategies employed in complex matrix mathematics. While basic Schur decomposition algorithms existed, they lacked the numerical stability and advanced features required for modern high-performance libraries like LAPACK.

Methodological Contributions

The authors address these challenges by treating non-commutativity as a structural problem solvable via Sylvester equations.

1. Eigenvector Computation

Rather than solving a standard linear system, the authors formulate the problem as a homogeneous Sylvester equation: $Ax - x\lambda = 0$. They introduce a back-substitution algorithm to solve this efficiently for matrices in upper triangular (Schur) form.

2. Eigenvalue Reordering and Swapping

A critical component for advanced deflation is the ability to reorder eigenvalues along the diagonal of a Schur matrix. The authors developed a method to swap adjacent diagonal entries using unitary transformations, ensuring numerical stability throughout the process.

3. Aggressive Early Deflation (AED)

AED is the centerpiece of this research. It functions by isolating a small "window" at the bottom of the matrix and performing a local Schur decomposition. By checking if any eigenvalues in this window have converged earlier than traditional subdiagonal tests would suggest, the algorithm can "deflate" (remove) them from the main computation, drastically reducing the total number of iterations.

Algorithmic pipeline for quaternion eigenvalue problems, illustrating the integration of Schur decomposition, convergence testing, and Hessenberg reduction.

Experimental Evaluation

The algorithms were benchmarked using two classes of random quaternion matrices:

  • fullrand: Dense square matrices with random quaternion entries.
  • hessrand: Dense upper Hessenberg matrices, representing a common intermediate state in eigenvalue algorithms.

Tests were conducted on matrix dimensions ranging from $64 \times 64$ up to $1024 \times 1024$.

Key Results and Insights

The numerical experiments demonstrate that AED remains highly effective when applied to quaternions. By embedding the quaternion matrix into a larger complex matrix for analysis (Ritz pairs), the algorithm identifies converged eigenvalues significantly faster than traditional methods.

  • Efficiency Gains: For a $1024 \times 1024$ matrix, the standard QR algorithm required 3,095 sweeps. In contrast, the version enhanced with AED required only 935 sweeps.
  • Computational Speedup: Total execution time for the $1024 \times 1024$ case dropped from approximately 21,300 seconds to 8,630 seconds—a 2.5x speedup.
  • Numerical Stability: Despite the reduction in iterations, the algorithms maintained high precision. Backward errors remained near machine epsilon ($\approx 10^{-14}$ to $10^{-16}$), likely because fewer operations reduced the accumulation of rounding errors.

Conclusion and Future Work

This work brings quaternion eigensolvers closer to the performance standards of their complex-valued counterparts. Future research will focus on implementing these algorithms in high-performance languages like C or Fortran and developing "blocked" versions (using Level-3 BLAS) to maximize cache efficiency on modern hardware. Additionally, the development of a "small-bulge multishift" QR algorithm for quaternions could provide further speedups for extremely large-scale problems.

Summary updated

BibTeX
@misc{jia2025eigenvector,
  author = {Zhigang Jia and Meiyue Shao and Yanjun Shao},
  title = {{On Eigenvector Computation and Eigenvalue Reordering for the Non-Hermitian Quaternion Eigenvalue Problem}},
  year = {2025},
  eprint = {2511.02232},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.02232},
}
Figure