Preprint
Article

This version is not peer-reviewed.

A Fast Projected Gradient Algorithm for Quaternion Hermitian Eigenvalue Problems

A peer-reviewed article of this preprint also exists.

Submitted:

06 March 2025

Posted:

07 March 2025

You are already at the latest version

Abstract
In this paper, based on the novel generalized Hamilton-real (GHR) calculus, we propose for the first time a quaternion Nesterov’s accelerated projected gradient algorithm for computing the dominant eigenvalue and eigenvector of quaternion Hermitian matrices. By introducing momentum terms and look-ahead updates, the algorithm achieves a faster convergence rate. We theoretically prove the convergence of the quaternion Nesterov’s accelerated projected gradient algorithm. Numerical experiments show that the proposed method outperforms the quaternion projected gradient ascent method and the traditional algebraic methods in terms of computational accuracy and runtime efficiency.
Keywords: 
;  ;  ;  

1. Introduction

In 1843, Sir William Rowan Hamilton [9] introduced quaternions in an effort to expand the concept of complex numbers into spaces of higher dimensions. Quaternions and quaternion matrices play a critical role in many applications, such as quantum mechanics, computer graphics, quaternion principal component analysis (QPCA) and image processing [2,11,23,24]. Due to the non-commutative property of quaternion multiplication, the eigenvalues of quaternion matrices are distinguished into left and right types, with the right eigenvalue problem having garnered widespread attention[4,6,14,16,25].
In recent years, a series of numerical methods have been developed to compute the eigenvalues of quaternion matrices, particularly focusing on the eigenvalue problems of Hermitian matrices. These numerical methods can be broadly categorized into three classes: The first class involves direct quaternion arithmetic operations. For instance, Bunse-Gerstner proposed a quaternion QR algorithm for solving the right eigenvalue problem of quaternion matrices [1]. However, due to the complexity of quaternion arithmetic, this algorithm requires significant computational effort. The second class is based on the real or complex counterparts of quaternion matrices. By studying the real or complex counterpart structures and properties of quaternion matrices, and leveraging stable orthogonal transformations, real or complex structure-preserving methods have been developed to solve the right eigenvalue problem of quaternion Hermitian matrices [8,10]. The third class is based on the real counterparts of quaternion matrices, leading to the development of numerous structure-preserving iterative algorithms. Examples include the explicitly restarted quaternion Arnoldi Method (ERQAM) [18], designed to compute standard right eigenpairs of general quaternion matrices, and a novel quaternion power method introduced in [13] for computing the dominant standard right eigenvalue and its corresponding eigenvector. Structure-preserving methods exhibit significant advantages in terms of storage space and computational efficiency.
In the field of quaternion optimization, significant progress has been made with the generalized HR calculus (GHR) [20,21,22]. GHR leverages quaternion rotations within a general orthogonal system, offering a way to compute the derivatives and gradients of functions with quaternion variables, thereby providing a solid theoretical foundation for the development of quaternion optimization methods. Subsequently, based on the generalized HR calculus (GHR), Diao et al. [3] proposed a gradient projection algorithm for maximizing the quaternion Rayleigh quotient under unit constraints. This algorithm demonstrated good performance and contributed to the development of quaternion optimization algorithms.
In this paper, we first equivalently transform the principal eigenvalue problem of quaternion Hermitian matrices into a maximization optimization problem over the quaternion skew field. Leveraging generalized HR calculus, we propose a quaternion Nesterov’s accelerated gradient projection algorithm to solve it. Subsequently, we conduct a convergence analysis of the quaternion Nesterov’s accelerated gradient projection algorithm, proving that a real differentiable function with Lipschitz continuous gradient possesses a quadratic upper bound. Furthermore, we demonstrate that the algorithm possesses a convergence rate of ( O ( 1 / t 2 ) . Finally, we compare our algorithm with two other methods, and numerical experiments indicate that our algorithm exhibits superior performance in terms of both accuracy and time efficiency.
The rest of this paper is organized as follows. Section 2 introduces some basic notations and fundamental properties of quaternions, including definitions of quaternion modulus, similarity, and rotation, with a particular emphasis on reviewing the relevant definitions and properties of generalized HR integrals. In Section 3, we design a quaternion Nesterov accelerated gradient projection algorithm to solve the principal eigenvalue and corresponding eigenvector of quaternion Hermitian matrices. Section 4 provides a convergence analysis of the quaternion Nesterov accelerated gradient projection algorithm. In Section 5, we conduct numerical experiments to validate the proposed method. Finally, in Section 6, we summarize this paper.

2. Preliminaries

In this section, some quaternion notations and basic definitions are introduced, which will be used in the rest of the paper.

2.1. Notations

Throughout this paper, to distinguish scalars, vectors, real or complex matrices and quaternion matrices, scalars will be denoted by lower case Greek letters, e.g., α , β , quaternions will be denoted by lowercase letters, e.g., p , q , and quaternion vectors are denoted by x , y , real or complex matrices will be defined by uppercase letters, e.g., A , B , and quaternion matrices will be denoted by bold uppercase letters, e.g., A , B . I denotes the n × n identity quaternion matrix. The operators ( · ) T and ( · ) H represent transpose and conjugate transpose, respectively. The MATLAB function command will be denoted by typewriter letters, e.g., [ V , D ] = eig ( A ) .

2.2. Quaternions and Quaternion Matrices

Denote the set of quaternions as
Q = span { 1 , i , j , k } q = q 1 + q 2 i + q 3 j + q 4 k | q 1 , q 2 , q 3 , q 4 R ,
where i , j , k are three imaginary units of quaternions, satisfying
i 2 = j 2 = k 2 = ijk = 1 , ij = ji = k , jk = kj = i , ki = ik = j .
The scalar (real) part of q is denoted by ( q ) = q 1 . And the vector (imaginary) part of q is denoted by ( q ) = q 2 i + q 3 j + q 4 k . A quaternion is called imaginary when its real part is equal to zero. The multiplication of quaternions adheres to the distributive law but is noncommutative.
The zero element in Q is 0 = 0 + 0 i + 0 j + 0 k and the unit element is 1 = 1 + 0 i + 0 j + 0 k . For any q = q 0 + q 1 i + q 2 j + q 3 k Q , the conjugate of a quaternion is defined as
q * = q 0 q 1 i q 2 j q 3 k .
The magnitude of q is | q | = q * q = q 0 2 + q 1 2 + q 2 2 + q 3 2 , it follows that the inverse of a nonzero quaternion q is given by q 1 = q * / | q | 2 .
Two quaternions a and b are said to be similar if there exists a nonzero quaternion c such that c 1 a c = b , this is written as a b . Obviously, a and b are similar if and only if there is a unit quaternion d such that d 1 a d = b , and two similar quaternions have the same norm. It is routine to check that ∼ is an equivalence relation on the quaternions. We denote by [ a ] the equivalence class containing a . If q = q 0 + q 1 i + q 2 j + q 3 k Q , then q and q 0 + q 1 2 + q 2 2 + q 3 2 i are similar, namely, q q 0 + q 1 2 + q 2 2 + q 3 2 i .
Quaternions can also be expressed in polar form as q = | q | ( cos θ + q ^ sin θ ) , where q ^ = ( q ) / | ( q ) | is a pure unit quaternion and θ = arccos ( ( q ) / | q | ) R denotes the angle (or argument) of the quaternion. Next, we will introduce the quaternion rotation and involution operators.
Definition 1
(Quaternion rotation[19]). For any quaternion q , the transformation
q μ μ q μ 1
geometrically describes a three-dimensional rotation of the vector part of q by an angle 2 θ about the vector part of μ, where μ = | μ | ( cos θ + μ ^ sin θ ) is any nonzero quaternion.
Specifically, if μ in (2) is an imaginary unit, then the quaternion rotation (2) reduces to quaternion involution [5], defined by
q i = i q i = q 0 + i q 1 j q 2 k q 3 , q j = j q j = q 0 i q 1 + j q 2 k q 3 , q k = k q k = q 0 i q 1 j q 2 + k q 3 ,
where q = q 0 + i q 1 + j q 2 + k q 3 Q . Below, we will list some properties of quaternion rotation, including
( p q ) μ = p μ q μ , p q = q p p = q p q * , p , q Q
and
q μ ν = q ν μ , q μ * q * μ = q μ * q * μ , ν , μ Q .
Note that the representation in (1) can be extended to a general orthogonal basis 1 , i μ , j μ , k μ , where the following properties hold [19]:
i μ i μ = j μ j μ = k μ k μ = i μ j μ k μ = 1 .
Denote the set of quaternion matrices as
Q m × n = A = A 0 + A 1 i + A 2 j + A 3 k | A 0 , A 1 , A 2 , A 3 R m × n .
The conjugate transpose of A is A * = A 0 A 1 i A 2 j A 3 k . We say that a square quaternion matrix A Q n × n is normal if A * A = A A * ; Hermitian if A * = A , i.e. A 0 = A 0 and A i = A i , i = 1 , 2 , 3 ; Unitary if A * A = I , where I is the identity matrix; Invertible (nonsingular) if there exists a matrix B Q n × n such that A B = B A = I . In this case, we denote A 1 = B . We have ( A B ) 1 = B 1 A 1 if A and B are invertible, and ( A * ) 1 = ( A 1 ) * if A is invertible.

2.3. GHR calculus

We now introduce the generalized HR derivatives which comprise both the product and chain rules, see [20,22] for more details.
Definition 2
(real-differentiability [20]). Let q = q a + q b i + q c j + q d k Q , then a function f ( q ) = f a q a , q b , q c , q d + f b q a , q b , q c , q d i + f c q a , q b , q c , q d j + f d q a , q b , q c , q d k is called real differentiable when f a q a , q b , q c , q d , f b q a , q b , q c , q d , f c q a , q b , q c , q d and f d q a , q b , q c , q d are differentiable with respect to the real variables q a , q b , q c and q d , respectively.
Definition 3
(GHR derivatives [20]). If f : Q Q is real differentiable, then the GHR derivatives of f ( q ) with respect to q μ and q μ * ( 0 μ Q ) are defined as
f q μ = 1 4 f q a f q b i μ f q c j μ f q d k μ ,
and
f q μ * = 1 4 f q a + f q b i μ + f q c j μ + f q d k μ ,
where q = q a + q b i + q c j + q d k Q , q a , q b , q c , q d R , f / q a , f / q b , f / q c and f / q d are the partial derivatives of f with respect to q a , q b , q c and q d , while the set 1 , i μ , j μ , k μ is an orthogonal basis of Q .
Definition 4
(Quaternion gradient[20]). Let f ( q ˜ ) : Q n × 1 Q and q ˜ = q 1 , q 2 , , q n Q n × 1 , then the two quaternion gradients of f are defined as
q ˜ f f q ˜ T = f q 1 , , f q n T Q n × 1
and
q ˜ * f f q ˜ * T = f q 1 * , , f q n * T Q n × 1 .
Based on the definitions of GHR provided above, we consider a simple quadratic function f ( x ) = x H A x , where x Q n and A Q n × n is a quaternion Hermitian matrix, then the gradient of this function f is given by
x f ( x ) = 1 2 ( A x ) * , x * f ( x ) = 1 2 A x ,
in which x * f is the steepest ascent direction [22].

3. Quaternion Nesterov’s Accelerated Gradient (QNAG)

In this section, we will introduce the quaternion Nesterov accelerated projected gradient algorithm. To this end, we first review the definition related to the eigenvalue of quaternion Hermitian matrices.
Definition 5.
Let A Q n × n be a quaternion Hermitian matrix. Then λ R is called an eigenvalue of A if there exists a nonzero vector x Q n such that
A x = x λ .
Here x is called the eigenvector corresponding to the eigenvalue λ.
Due to the non-commutativity of quaternion multiplication, general quaternion square matrices have distinct left and right eigenvalues. However, for a quaternion Hermitian matrix A , if A has a right eigenvalue λ and its corresponding eigenvector x , it is straightforward to show that
x H A x = x H x λ ,
by dividing both sides of the above equation by x H x , we obtain
λ = x H A x x H x = x H A x x 2 R ,
where (3) represents the Rayleigh quotient on the quaternion skew field. Therefore, the eigenvalues of quaternion Hermitian matrices are all real numbers, and thus there is no distinction between left and right eigenvalues.
Our goal is to compute the principal eigenvalue of a given quaternion Hermitian matrix. By defining the objective function as f ( x ) = x H A x and imposing the normalization constraint x 2 = 1 , we can equivalently transform the problem of finding the principal eigenvalue of a given quaternion Hermitian matrix into the following maximization optimization problem on the quaternion skew-field
max x Q n f ( x ) = x H A x s . t . x 2 = 1 .
The above problem (4) can be addressed using the quaternion gradient projection algorithm. Since the introduction of the Nesterov’s Accelerated Gradient (NAG) method [15], the incorporation of momentum has become a conventional approach to overcome the shortsighted issue in gradient algorithms [7,12]. To tackle the problem (4), we propose a quaternion Nesterov’s accelerated gradient projection algorithm (QNAG). Given an initial point x 0 , and set x 1 = x 0 , the QNAG method repeats, for t 0 ,
y t = x t + β x t x t 1 , z k + 1 = y t + α y * f y t , x t + 1 = z t + 1 / z t + 1 ,
where α and β are the step-size and momentum parameters, respectively. When the momentum parameter β = 0 , QNAG simplifies to standard gradient ascent (GA). When β > 0 it is possible to achieve accelerated rates of convergence for certain combinations of α and β in the deterministic setting. The framework of the proposed algorithm is detailed below.
Remark 1.
After obtaining the principal eigenvalue and its corresponding eigenvector of the quaternion Hermitian matrix, we can employ a deflation technique by updating A = A λ x x H and continue to apply the QNAG algorithm. By repeating this process, all eigenvalues and their corresponding eigenvectors can be obtained.

4. Convergence Analysis of QNAG

In this section, we will theoretically prove the convergence properties of the quaternion Nesterov’s accelerated gradient projection algorithm. We begin our analysis with the following Lemma 1.
Lemma 1.
If f : Q n R is a real differentiable and gradient Lipschitz continuous function with constant L > 0 ,
x * f ( x + Δ x ) x * f ( x ) L Δ x , x , Δ x Q n .
Algorithm 1: Quaternion Nesterov’s Accelerated Gradient (QNAG).
Input: 
Given a quaternion Hermitian matrix A Q n × n , step size 0 < α R , momentum coefficient 0 < β R and the maximum iteration number I max .
Output: 
The principle eigenvalue λ and its corresponding eigenvector x t + 1 .
1:
Initialize: a unit quaternion vector x 0 Q n .
2:
x 1 = x 0 .
3:
for  t = 1  to  I max  do
4:
   Momentum extrapolation: y t = x t + β ( x t x t 1 ) .
5:
   Compute the gradient at the extrapolation point: y * f y t = 1 2 A y t .
6:
   Gradient ascent: z k + 1 = y t + α y * f y t .
7:
   Normalization: x t + 1 = z t + 1 / z t + 1 .
8:
    λ = x t + 1 H A x t + 1 .
9:
   if  A x t + 1 x t + 1 λ < 10 10  then
10:
     Break
11:
   end if
12:
end for
Then, f has the following quadratic upper bound
f ( y ) f ( x ) 4 x * f ( x ) H ( y x ) 2 L y x 2 , x , y Q n .
Proof. 
For any x , y Q n , let Δ x = y x . Define the parameterized path g ( t ) = f ( x + t Δ x ) for t [ 0 , 1 ] . Then the difference in the function can be expressed as
f ( y ) f ( x ) = 0 1 d d t g ( t ) d t .
Using the chain rule, the derivative g ( t ) corresponds to the directional derivative of f along Δ x . In terms of the quaternion gradient [22], this is given by
g ( t ) = 4 x * f ( x + t Δ x ) H Δ x .
Thus, the function difference becomes
f ( y ) f ( x ) = 0 1 4 x * f ( x + t Δ x ) H Δ x d t .
Subtracting the linear term 4 x * f ( x ) H Δ x from both sides
f ( y ) f ( x ) 4 x * f ( x ) H Δ x = 0 1 4 x * f ( x + t Δ x ) x * f ( x ) H Δ x d t ,
then using the absolute value inequality and the Cauchy-Schwarz inequality, we have
f ( y ) f ( x ) 4 x * f ( x ) H Δ x 4 0 1 x * f ( x + t Δ x ) x * f ( x ) · Δ x d t .
By the gradient Lipschitz condition, we have
x * f ( x + t Δ x ) x * f ( x ) L t Δ x = L t Δ x ,
substituting the above inequality into the integral (7), we get
Right - hand side 4 L Δ x 2 0 1 t d t = 4 L Δ x 2 · 1 2 = 2 L Δ x 2 .
Thus, for all x , y Q n , we have
f ( y ) f ( x ) 4 x * f ( x ) H ( y x ) 2 L y x 2 .
This completes the proof of the quadratic upper bound.
   □
Theorem 1.
Let f : Q n R is a real differentiable and gradient Lipschitz continuous function with constant L > 0 . If the step size α = 1 2 L and momentum parameter β t = t 1 t + 2 , then
f ( x t * ) f ( x t ) C / ( t + 1 ) 2
is true for any t 0 , where f ( x t * ) = λ max and C is a constant related to the initial conditions.
Proof. 
From Lemma 1, for the update z t + 1 = y t + α y * f y t , we have
f z t + 1 f y t + 4 y * f y t H z t + 1 y t 2 L z t + 1 y t 2
Substituting z t + 1 y t = α y * f y t , we derive
f z t + 1 f y t + 4 α f y t 2 2 L α 2 f y t 2 .
Choosing α = 1 2 L , this simplifies to
f z t + 1 f y t + 3 2 L f y t 2 .
After projecting z t + 1 onto the unit sphere, x t + 1 = z t + 1 / z t + 1 . Applying Lemma 1 again to x t + 1 and z t + 1 , we get
f x t + 1 f z t + 1 + 4 z t + 1 * f z t + 1 H x t + 1 z t + 1 2 L x t + 1 z t + 1 2 .
By the optimality condition of the projection, we have
z t + 1 * f z t + 1 H x t + 1 z t + 1 0
which implies
f x t + 1 f z t + 1 2 L x t + 1 z t + 1 2 .
Next, we consider the bound of the projection error
x t + 1 z t + 1 = z t + 1 z t + 1 z t + 1 = z t + 1 1 z t + 1 z t + 1 = 1 z t + 1 z t + 1 z t + 1 = 1 z t + 1 .
Combining z t + 1 = y t + α y * f y t and normalizing such that y t = 1 , we obtain
z t + 1 y t + α y * f y t ,
which implies that
x t + 1 z t + 1 α y * f y t .
Thus, the projection error in (9) is a higher-order term, we get
f x t + 1 f z t + 1 2 L α 2 f y t 2 .
The formulas (8) and (9) give a lower bound
f x t + 1 f y t + 3 2 L f y t 2 1 2 L f y t 2 = f y t + 1 L f y t 2 .
We then define the Lyapunov function as
Φ t = θ t 2 f x * f x t + 1 2 v t x * 2 ,
where the auxiliary sequence θ t = t + 1 2 satisfies β t = θ t 1 θ t + 1 , and v t follows the update rule
v t + 1 = v t + θ t α f y t .
Our goal is to prove that Φ t + 1 Φ t . Compute Φ t + 1 Φ t , we obtain
Φ t + 1 Φ t = θ t + 1 2 f x * f x t + 1 θ t 2 f x * f x t + 1 2 v t + 1 x * 2 v t x * 2 .
For the term v t + 1 x * 2 , we have
v t + 1 x * 2 = v t x * + θ t α f y t 2 = v t x * 2 + 2 θ t α f y t H v t x * + θ t 2 α 2 f y t 2 .
Thus we have
Φ t + 1 Φ t = θ t + 1 2 θ t 2 f x * f x t + 1 + θ t 2 f x t + 1 f x t θ t α f y t H v t x * + θ t 2 + α 2 2 f y t 2 .
Suppose that
f x * f y t + f y t H x * y t .
Substituting this into the Lyapunov difference and combining with (10), we arrive at
Φ t + 1 Φ t θ t + 1 2 θ t 2 θ t 2 f x * f y t + θ t α f y t H v t x * + θ t 2 α 2 2 f y t 2 .
Using θ t + 1 = θ t + 1 2 and α = 1 2 L , we simplify
θ t + 1 2 θ t 2 = θ t + 1 4 and θ t 2 L θ t 2 α 2 L .
After algebraic manipulation, we show that
Φ t + 1 Φ t θ t 2 4 L f y t 2 Φ t .
From Φ t Φ 0 and θ t = t + 1 2 , we have
( t + 1 ) 2 4 f x * f x t Φ 0 = 1 4 f x * f x 0 + 1 2 v 0 x * 2
Letting v 0 = x 0 , we conclude
f x * f x t C ( t + 1 ) 2 ,
where C = f x * f x 0 + 2 v 0 x * 2 is a constant related to the initial setup. Algorithm 1 achieves an O ( 1 / t 2 ) convergence rate. This completes the proof.
   □

5. Numerical Experiments

In this section, we provide numerical examples to demonstrate the feasibility and effectiveness of the quaternion Nesterov’s accelerated gradient projection algorithm for the eigenvalue problem of quaternion Hermitian matrices. In the specific implementation of Algorithm 1, we set the constant step size and momentum parameter to α = 0.05 and β = 0.9 , respectively.
All the experiments are performed under Windows 11 and MATLAB version 23.2.0.2365128 (R2023b) with an AMD Ryzen 7 5800H with Radeon Graphics CPU at 3.20 GHz and 16 GB of memory.
Example 1.
Given quaternion matrix A = A 0 + A 1 i + A 2 j + A 3 k with
A 0 = 17.6331 1.6420 1.2730 1.6420 8.3929 1.7952 1.2730 1.7952 15.1089 , A 1 = 0 1.2315 1.5751 1.2315 0 2.5700 1.5751 2.5700 0
and
A 2 = 0 0.6530 3.2730 0.6530 0 1.2301 3.2730 1.2301 0 , A 3 = 0 4.3909 9.2817 4.3909 0 1.9585 9.2817 1.9585 0 .
In this experiment, we employ the quaternion Nesterov’s accelerated gradient (QNAG) method (Algorithm 1) to compute all eigenvalues of A , which are λ 1 = 27.0543 , λ 2 = 12.4577 , λ 3 = 1.6229 , with their corresponding eigenvectors being
x 1 = 0.4485 + 0.4371 i 0.1443 j 0.3829 k 0.0365 + 0.0228 i + 0.0147 j + 0.1706 k 0.3077 + 0.1006 i + 0.2161 j + 0.5076 k , x 2 = 0.1208 0.0357 i + 0.3112 j 0.2267 k 0.0627 0.7303 i 0.0928 j 0.0756 k 0.2492 + 0.4640 i + 0.0583 j 0.0588 k , x 3 = 0.0011 0.1557 i + 0.3809 j + 0.3270 k 0.5029 + 0.3354 i + 0.0994 j + 0.2046 k 0.1149 + 0.4714 i + 0.1735 j + 0.2025 k .
Additionally, we obtain the following three residuals:
A x 1 x 1 λ 1   6.7432 e 12 , A x 2 x 2 λ 2   5.1990 e 12 , A x 3 x 3 λ 3   4.3378 e 12 .
It is evident that the residuals are controlled within an ideal range, demonstrating the feasibility and effectiveness of Algorithm 1 in computing the eigenvalues of quaternion Hermitian matrices.
Example 2.
In this experiment, we utilize MATLAB’s built-in functions to randomly generate three quaternion Hermitian matrices of different sizes and compare Algorithm 1 with the QPGA algorithm [3] and theeigfunction in the Quaternion Toolbox for MATLAB (QTFM)[17].
We first test the performance of Algorithm 1, QPGA, and the eig function in computing the principal eigenvalues of three different types and sizes of quaternion Hermitian matrices. The numerical experimental results are presented in Table 1, which includes three evaluation metrics: the number of iterations, residuals, and runtime. Superior results are highlighted in bold. It can be observed that Algorithm 1 outperforms the other algorithms in terms of the number of iterations, problem residuals, and runtime, demonstrating significant advantages when computing large-scale quaternion Hermitian matrices.
Subsequently, we plotted the variation curves of the objective function values for the first 50 iterations of Algorithm 1 and the QNGA algorithm, as shown in Figure 1. It is evident that our algorithm achieves a faster increase in the objective function, demonstrating higher efficiency in obtaining the maximum eigenvalue.
Figure 2 illustrates the residual variation curves generated by Algorithm 1 and the QNGA algorithm with respect to the number of iterations. Across the tested matrix dimensions, our algorithm consistently achieves higher accuracy and efficiency.

6. Conclusions

In this paper, leveraging the innovative generalized Hamilton-real (GHR) calculus, we have introduced a novel quaternion Nesterov’s accelerated projected gradient algorithm designed to compute the dominant eigenvalue and corresponding eigenvector of quaternion Hermitian matrices. The incorporation of momentum terms and look-ahead updates has enabled the algorithm to attain an accelerated convergence rate. Theoretical analysis has confirmed the convergence of the quaternion Nesterov’s accelerated projected gradient algorithm. Empirical results from numerical experiments indicate that the proposed method surpasses both the Quaternion Projected Gradient Ascent (QPGA) and conventional algebraic approaches in terms of both computational precision and efficiency in runtime.

Author Contributions

Shan-Qi Duan wrote the main manuscript text and performed the experiment. Qing-Wen Wang contributed to the conception of the study and helped to improve this manuscript with constructive suggestions. Xue-Feng Duan made a lot of useful suggestions. All authors reviewed the manuscript.

Funding

This work is supported by the National Natural Science Foundation of China under Grant 12371023.

Data Availability Statement

Data is contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bunse-Gerstner, A. , Byers, R., Mehrmann, V. A quaternion QR algorithm. Numer. Math. 1989, 55, 83–95. [Google Scholar]
  2. De Leo, S. , Scolarici, G. Right eigenvalue equation in quaternionic quantum mechanics. J. Phys. A Math. Gen. 2000, 33, 2971. [Google Scholar] [CrossRef]
  3. Diao, Q. , Liu, J., Zhang, N., Xu, D. An iterative algorithm for quaternion eigenvalue problems in signal processing. IEEE Signal Process. Lett. 2024, 31, 2505–2509. [Google Scholar]
  4. Duan, S.Q. , Wang, Q.W., Duan, X.F. On Rayleigh quotient iteration for the dual quaternion Hermitian eigenvalue problem. Mathematics 2024, 12. [Google Scholar] [CrossRef]
  5. Ell, T.A. , Sangwine, S.J. Quaternion involutions and anti-involutions. Comput. Math. Appl. 2007, 53, 137–143. [Google Scholar] [CrossRef]
  6. Farid, F. , Wang, Q.W., Zhang, F. On the eigenvalues of quaternion matrices. Lin. Multilin. Alg. 2011, 59, 451–473. [Google Scholar]
  7. Ghadimi, S. , Lan, G. Accelerated gradient methods for nonconvex nonlinear and stochastic programming. Math. Program. 2016, 156, 59–99. [Google Scholar]
  8. Guo, Z. , Jiang, T., Vasil’ev, V., Wang, G. Complex structure-preserving method for schrödinger equations in quaternionic quantum mechanics. Numer. Algorithms 2024, 97, 271–287. [Google Scholar]
  9. Hamilton, W.R. Elements of Quaternions. Longmans, Green (1866).
  10. Jia, Z. , Wei, M., Ling, S. A new structure-preserving method for quaternion Hermitian eigenvalue problems. J. Comput. Appl. Math. 2013, 239, 12–24. [Google Scholar]
  11. Jiang, T. , Chen, L. An algebraic method for schrödinger equations in quaternionic quantum mechanics. Comput. Phys. Commun. 2008, 178, 795–799. [Google Scholar]
  12. Li, H. , Peng, Z., Pan, C., Zhao, D. Fast gradient method for low-rank matrix estimation. J. Sci. Comput. 2023, 96, 41. [Google Scholar]
  13. Li, Y. , Wei, M., Zhang, F., Zhao, J. On the power method for quaternion right eigenvalue problem. J. Comput. Appl. Math. 2019, 345, 59–69. [Google Scholar]
  14. Macías-Virgós, E. , Pereira-Sáez, M., Tarrío-Tobar, A.D. Rayleigh quotient and left eigenvalues of quaternionic matrices. Linear Multilinear Algebra 2023, 71, 2163–2179. [Google Scholar]
  15. Nesterov, Y. A method for unconstrained convex minimization problem with the rate of convergence O(1/k2). Dokl. Akad. Nauk. SSSR 1983, 269, 543. [Google Scholar]
  16. Rodman, L. Topics in quaternion linear algebra. Princeton University Press (2014).
  17. Sangwine, S.J., Bihan, N.L. Quaternion toolbox for matlab, version 2 with support for octonions. Software library available at: http: //qtfm.sourceforge.net/ (2013).
  18. Wang, Q.W. , Wang, X.X. Arnoldi method for large quaternion right eigenvalue problem. J. Sci. Comput. 2020, 82, 58. [Google Scholar]
  19. Ward, J.P. Quaternions and Cayley numbers: Algebra and applications, vol. 403. Springer Science & Business Media (2012).
  20. Xu, D. , Jahanchahi, C., Took, C.C., Mandic, D.P. Enabling quaternion derivatives: The generalized hr calculus. R. Soc. Open Sci. 2015, 2, 150255. [Google Scholar] [CrossRef]
  21. Xu, D. , Mandic, D.P. The theory of quaternion matrix derivatives. IEEE Trans. Signal Process. 2015, 63, 1543–1556. [Google Scholar]
  22. Xu, D. , Xia, Y., Mandic, D.P. Optimization in quaternion dynamic systems: Gradient, Hessian, and learning algorithms. IEEE Trans. Neural Netw. Learn. Syst. 2015, 27, 249–261. [Google Scholar]
  23. Yu, C.E. , Liu, X., Zhang, Y. A new complex structure-preserving method for QSVD. J. Sci. Comput. 2024, 99, 37. [Google Scholar]
  24. Zeng, R. , Wu, J., Shao, Z., Chen, Y., Chen, B., Senhadji, L., Shu, H. Color image classification via quaternion principal component analysis network. Neurocomputing 2016, 216, 416–428. [Google Scholar]
  25. Zhang, F. Quaternions and matrices of quaternions. Linear Algebra Its Appl. 1997, 251, 21–57. [Google Scholar] [CrossRef]
Figure 1. Variation curve of the objective function value with respect to the number of iterations for Algorithm 1 on a 1000-order quaternion Hermitian matrix.
Figure 1. Variation curve of the objective function value with respect to the number of iterations for Algorithm 1 on a 1000-order quaternion Hermitian matrix.
Preprints 151494 g001
Figure 2. Comparison of fixed iteration steps and residual variation curves between Algorithm 1 and QPGA for solving Problem (4), with quaternion Hermitian matrix sizes of order 300 and 1000 on the left and right, respectively.
Figure 2. Comparison of fixed iteration steps and residual variation curves between Algorithm 1 and QPGA for solving Problem (4), with quaternion Hermitian matrix sizes of order 300 and 1000 on the left and right, respectively.
Preprints 151494 g002
Table 1. Numerical comparison results of the QNAG algorithm, QPGA algorithm, and eig function for computing the principal eigenvalue and its corresponding eigenvector of three types of quaternion Hermitian matrices.
Table 1. Numerical comparison results of the QNAG algorithm, QPGA algorithm, and eig function for computing the principal eigenvalue and its corresponding eigenvector of three types of quaternion Hermitian matrices.
Matrix type n Ours QPGA [3] eig [17]
IT Residual CPU(s) IT Residual CPU(s) Residual CPU(s)
General 300 453 4.5453e-12 0.6667 1764 9.9457e-12 2.4857 9.6329e-12 3.4420
Hermitian 500 432 9.4172e-12 2.6465 1368 9.8076e-12 8.2786 3.3852e-11 24.6503
1000 461 8.2506e-12 10.4795 1592 9.8945e-12 36.1470 2.1115e-10 373.4246
Positive 300 434 1.6844e-12 0.6420 1141 9.8121e-12 1.7283 1.5353e-11 3.3504
Semi-definite 500 454 9.2637e-12 2.6836 2020 9.9177e-12 11.7135 1.9891e-11 24.6779
1000 485 8.2055e-12 10.6467 1943 9.9733e-12 42.3868 1.7807e-10 362.1100
Positive 300 419 1.5814e-12 0.6079 1615 9.8821e-12 2.2746 3.9411e-11 3.3670
Definite 500 457 9.9405e-12 2.7210 1530 9.5587e-12 9.1385 2.3945e-11 24.3842
1000 503 7.8888e-12 11.2300 2636 9.9721e-12 56.6146 7.2911e-11 379.0733
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated