Article · Wikipedia archive · Last revised Jul 12, 2026

Quaternionic matrix

A quaternionic matrix is a matrix whose elements are quaternions.

Last revised
Jul 12, 2026
Read time
≈ 6 min
Length
1,472 w
Citations
11
Source

A quaternionic matrix is a matrix whose elements are quaternions.

Matrix operations

The quaternions form a noncommutative ring, and therefore addition and multiplication can be defined for quaternionic matrices as for matrices over any ring.

Addition. The sum of two quaternionic matrices A and B is defined in the usual way by element-wise addition:

( A + B ) i j = A i j + B i j . {\displaystyle (A+B)_{ij}=A_{ij}+B_{ij}.\,}

Multiplication. The product of two quaternionic matrices A and B also follows the usual definition for matrix multiplication. For it to be defined, the number of columns of A must equal the number of rows of B. Then the entry in the ith row and jth column of the product is the dot product of the ith row of the first matrix with the jth column of the second matrix. Specifically:

( A B ) i j = s A i s B s j . {\displaystyle (AB)_{ij}=\sum _{s}A_{is}B_{sj}.\,}

For example, for

U = ( u 11 u 12 u 21 u 22 ) , V = ( v 11 v 12 v 21 v 22 ) , {\displaystyle U={\begin{pmatrix}u_{11}&u_{12}\\u_{21}&u_{22}\\\end{pmatrix}},\quad V={\begin{pmatrix}v_{11}&v_{12}\\v_{21}&v_{22}\\\end{pmatrix}},}

the product is

U V = ( u 11 v 11 + u 12 v 21 u 11 v 12 + u 12 v 22 u 21 v 11 + u 22 v 21 u 21 v 12 + u 22 v 22 ) . {\displaystyle UV={\begin{pmatrix}u_{11}v_{11}+u_{12}v_{21}&u_{11}v_{12}+u_{12}v_{22}\\u_{21}v_{11}+u_{22}v_{21}&u_{21}v_{12}+u_{22}v_{22}\\\end{pmatrix}}.}

Since quaternionic multiplication is noncommutative, care must be taken to preserve the order of the factors when computing the product of matrices.

The identity for this multiplication is, as expected, the diagonal matrix I = diag(1, 1, ... , 1). Multiplication follows the usual laws of associativity and distributivity. The trace of a matrix is defined as the sum of the diagonal elements, but in general

trace ( A B ) trace ( B A ) . {\displaystyle \operatorname {trace} (AB)\neq \operatorname {trace} (BA).}

Left scalar multiplication, and right scalar multiplication are defined by

( c A ) i j = c A i j , ( A c ) i j = A i j c . {\displaystyle (cA)_{ij}=cA_{ij},\qquad (Ac)_{ij}=A_{ij}c.\,}

Again, since multiplication is not commutative some care must be taken in the order of the factors.1

Determinants

There is no natural way to define a determinant for (square) quaternionic matrices so that the values of the determinant are quaternions.2 Complex valued determinants can be defined however.3 The quaternion a + bi + cj + dk can be represented as the 2×2 complex matrix

[     a + b i c + d i c + d i a b i ] . {\displaystyle {\begin{bmatrix}~~a+bi&c+di\\-c+di&a-bi\end{bmatrix}}.}

This defines a map Ψmn from the m by n quaternionic matrices to the 2m by 2n complex matrices by replacing each entry in the quaternionic matrix by its 2 by 2 complex representation. The complex valued determinant of a square quaternionic matrix A is then defined as det(Ψ(A)). Many of the usual laws for determinants hold; in particular, an n by n matrix is invertible if and only if its determinant is nonzero.

Hyperquaternionic representation

Due to the isomorphism H 2 m ( 4 , R ) {\displaystyle \mathbb {H} ^{\otimes 2}\simeq m(4,\mathbb {R} )} where m ( 4 , R ) {\displaystyle m(4,\mathbb {R} )} is a 4 × 4 {\displaystyle 4\times 4} real matrix, a quaternion matrix can be represented as a hypercomplex number constituted by a tensor product of quaternion algebras called hyperquaternions

H m = H H H   ( m  terms ) = ( i , j , k ) ( I , J , K ) ( l , m , n ) {\displaystyle {\begin{aligned}\mathbb {H} ^{\otimes m}&=\mathbb {H} \otimes \mathbb {H} \otimes \cdots \otimes \mathbb {H} {\text{ }}(m{\text{ terms}})\\&=(i,j,k)\otimes (I,J,K)\otimes (l,m,n)\otimes \cdots \\\end{aligned}}}

where ( i , j , k ) , ( I , J , K ) , ( l , m , n ) {\displaystyle (i,j,k),(I,J,K),(l,m,n)} , etc. are commuting quaternionic systems. i = i 1 , J = 1 j , i J = ( i 1 ) ( 1 j ) {\displaystyle i=i\otimes 1,J=1\otimes j,iJ=(i\otimes 1)(1\otimes j)} , etc 45. Examples are: M 4 × 4 ( H ) H 2 H H 3 {\displaystyle M_{4\times 4}\mathbb {(H)} \simeq \mathbb {H} ^{\otimes 2}\otimes \mathbb {H} \simeq \mathbb {H} ^{\otimes 3}} , M 16 × 16 ( H ) H 4 H H 5 {\displaystyle M_{16\times 16}\mathbb {(H)} \simeq \mathbb {H} ^{\otimes 4}\otimes \mathbb {H} \simeq \mathbb {H} ^{\otimes 5}} .

A hyperconjugation is defined by 4 ( H m ) = ( H c m ) = H c H c H c {\displaystyle (\mathbb {H} ^{\otimes m})^{*}=(\mathbb {H} _{c}^{\otimes m})=\mathbb {H} _{c}\otimes \mathbb {H} _{c}\otimes \cdots \otimes \mathbb {H} _{c}}

where H c {\displaystyle \mathbb {H} _{c}} is the quaternion conjugation hence, ( i J ) = ( i ) ( J ) = i J {\displaystyle (iJ)^{*}=(-i)(-J)=iJ} . In particular, ( H 3 ) = [ M 4 × 4 ( H ) ] c T {\displaystyle (\mathbb {H} ^{\otimes 3})^{*}=[M_{4\times 4}\mathbb {(H)} ]_{c}^{T}} where [ A ( H ) ] c T {\displaystyle [A\mathbb {(H)} ]_{c}^{T}} is the transpose quaternion conjugate of the quaternionic matrix A ( H ) {\displaystyle A\mathbb {(H)} } .

The unitary symplectic group U S p ( n ) {\displaystyle USp(n)} is the group of quaternionic matrices A M n × n ( H ) {\displaystyle A\in M_{n\times n}\mathbb {(H)} } such that A A = A A = E n {\displaystyle AA^{*}=A^{*}A=E_{n}} 6.

Hyperquaternions are Clifford algebras C l p , q ( R ) {\displaystyle Cl_{p,q}\mathbb {(R)} } having n = p + q {\displaystyle n=p+q} generators e 1 , e 2 , . . . , e n {\displaystyle e_{1},e_{2},...,e_{n}} multipying according to e i e j + e j e i = 0 {\displaystyle e_{i}e_{j}+e_{j}e_{i}=0} ( i j ) {\displaystyle (i\neq j)} with e i 2 = + 1 {\displaystyle e_{i}^{2}=+1} ( p {\displaystyle p} generators) and e i 2 = 1 {\displaystyle e_{i}^{2}=-1} ( q {\displaystyle q} generators) . One has 7 H C l 0 , 2 ( R ) , H 3 C l 2 , 4 ( R ) , H 5 C l 4 , 6 ( R ) {\displaystyle \mathbb {H} \simeq Cl_{0,2}\mathbb {(R)} ,\mathbb {H} ^{\otimes 3}\simeq Cl_{2,4}\mathbb {(R)} ,\mathbb {H} ^{\otimes 5}\simeq Cl_{4,6}\mathbb {(R)} } . A basis of H 2 M 4 × 4 ( R ) {\displaystyle \mathbb {H} ^{\otimes 2}\simeq M_{4\times 4}\mathbb {(R)} } is given by 4

e 0 = j 1 = j = [ 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 ] , e 1 = k i = k I = [ 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 ] , e 2 = k j = k J = [ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ] , e 3 = k k = k K = [ 0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0 ] . {\displaystyle {\begin{aligned}e_{0}&=j\otimes 1=j={\begin{bmatrix}0&0&-1&0\\0&0&0&-1\\1&0&0&0\\0&1&0&0\\\end{bmatrix}},e_{1}=k\otimes i=kI={\begin{bmatrix}0&0&1&0\\0&0&0&-1\\1&0&0&0\\0&-1&0&0\\\end{bmatrix}},\\e_{2}&=k\otimes j=kJ={\begin{bmatrix}-1&0&0&0\\0&-1&0&0\\0&0&1&0\\0&0&0&1\\\end{bmatrix}},e_{3}=k\otimes k=kK={\begin{bmatrix}0&0&0&-1\\0&0&-1&0\\0&-1&0&0\\-1&0&0&0\\\end{bmatrix}}.\\\end{aligned}}}

Applications

Quaternionic matrices are used in quantum mechanics8 and in the treatment of multibody problems.9

References

References

  1. Tapp, Kristopher (2005). Matrix groups for undergraduates. AMS Bookstore. pp. 11 ff. ISBN 0-8218-3785-0.
  2. Helmer Aslaksen (1996). "Quaternionic determinants". The Mathematical Intelligencer. 18 (3): 57–65. doi:10.1007/BF03024312. S2CID 13958298.
  3. E. Study (1920). "Zur Theorie der linearen Gleichungen". Acta Mathematica (in German). 42 (1): 1–61. doi:10.1007/BF02404401.
  4. Girard, P.R.; Clarysse, P.; Pujol, R.; Goutte, R.; Delachartre, P. (2018). "Hyperquaternions: a new tool for physics". Advances in Applied Clifford Algebras. 28. Springer: 1–14. doi:10.1007/s00006-018-0881-8.
  5. Sprössig, W. (2020). "Some new aspects in hypercomplex analysis". Advancements in Complex Analysis: From Theory to Practice. Springer. pp. 497–518.
  6. Girard, P.R.; Clarysse, P.; Pujol, R.; Delachartre, P. (2025). "Hyperquaternionic unitary symplectic groups: A unifying tool for physics". Advances in Applied Clifford Algebras. 35 (40). Springer. doi:10.1007/s00006-025-01402-w.
  7. Girard, P.R.; Pujol, R.; Clarysse, P.; Delachartre, P. (2023). Hyperquaternions and physics. SciPost Phys. Proc. p.030.
  8. N. Rösch (1983). "Time-reversal symmetry, Kramers' degeneracy and the algebraic eigenvalue problem". Chemical Physics. 80 (1–2): 1–5. Bibcode:1983CP.....80....1R. doi:10.1016/0301-0104(83)85163-5.
  9. Klaus Gürlebeck; Wolfgang Sprössig (1997). "Quaternionic matrices". Quaternionic and Clifford calculus for physicists and engineers. Wiley. pp. 32–34. ISBN 978-0-471-96200-7.