Skip to content
DraconiticResearch
Search Sources API
203,203 studies31 sourcesUpdated 59 min ago
PreprintCC BY 4.0arXiv

Biquaternion Algebra with Bilinear Multiplication: A General, Elegant, and Computationally Advantageous Framework for Relativistic Electronic Structure Calculations on CPUs and GPUs

Abstract

Quaternion algebra provides a natural representation of time-reversal-symmetric matrix structures in relativistic electronic-structure theory, whereas complementary time-reversal-antisymmetric structures extend this representation to complex quaternions, or biquaternions. Here, we explicitly exploit biquaternion algebra for fundamental objects, including operators, kinetically and magnetically balanced basis functions, and their expectation values, within a unified framework encompassing real, complex, and real quaternion subalgebras as special cases. To realize this framework computationally, we have developed HMATLIB, a biquaternion matrix library implemented within the ReSpect package for pure CPU and hybrid CPU/GPU execution. A key development is a bilinear algorithm for matrix-valued biquaternion multiplication that reduces the number of real matrix--matrix multiplications from 64 to 24 compared with the conventional component-wise approach, while the biquaternion representation effectively doubles the maximum accessible matrix dimension under the same 32-bit indexing constraint. Numerical benchmarks on modern CPU and GPU architectures demonstrate that the biquaternion formulation consistently outperforms its isomorphic complex-algebra counterpart. For the largest matrices reported, hybrid CPU/GPU execution accelerates bilinear matrix multiplication by approximately 5-8 times over pure CPU execution and matrix diagonalization by approximately 12 and 61 times relative to CPU oneAPI MKL and NVHPC OpenBLAS, respectively. These results establish biquaternion algebra as a general and computationally advantageous framework for modern relativistic electronic-structure calculations.

Related

  1. Computationally Accelerated Discovery of Efficient Dual Component White Light Emitters
    T.H. Jones, R.S. Horne, D.J. Graham +2
    ChemRxivPreprintCC BYFull textGeneral chemistryChemRxiv
  2. A computationally efficient pseudo-2D PEM fuel cell model for studying humidity distribution without external humidification: the role of anode recirculation
    Noë Labeyrie, Georges Salameh, David Chalet +1
    MachinesPeer-reviewedCC BY 4.0Full textGeneral chemistryHAL
  3. Computationally Guided Discovery of Cannabinoid Derivatives for Antiviral and Anticancer Applications: From Chemical Space to Experimental Validation
    VIVEK KUMAR YADAV
    ChemRxivPreprintCC BYFull textGeneral chemistryChemRxiv
  4. PyFMO: A Python Framework for Fragment Molecular Orbital Calculations
    Yoshio Okiyama
    ChemRxivPreprintLicence not statedGeneral chemistryChemRxiv
  5. Thermodynamically informed and balance-preserving neural networks for direct vapor–liquid flash calculations
    Diego Tavares Volpatto, Fábio Pereira dos Santos, Gustavo Gondran Ribeiro +1
    ChemRxivPreprintLicence not statedGeneral chemistryChemRxiv
BibTeX
@misc{kaviraj2026biquaternion,
  title = {{Biquaternion Algebra with Bilinear Multiplication: A General, Elegant, and Computationally Advantageous Framework for Relativistic Electronic Structure Calculations on CPUs and GPUs}},
  author = {Sylvia Kaviraj and Stanislav Komorovsky and Trond Saue and Michal Repisky},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.02081},
  eprint = {2609.02081},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.02081},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Biquaternion Algebra with Bilinear Multiplication: A General, Elegant, and Computationally Advantageous Framework for Relativistic Electronic Structure Calculations on CPUs and GPUs
AU  - Sylvia Kaviraj
AU  - Stanislav Komorovsky
AU  - Trond Saue
AU  - Michal Repisky
PY  - 2026
DA  - 2026/09/02
PB  - arXiv
DO  - 10.48550/arxiv.2609.02081
UR  - https://arxiv.org/abs/2609.02081
AB  - Quaternion algebra provides a natural representation of time-reversal-symmetric matrix structures in relativistic electronic-structure theory, whereas complementary time-reversal-antisymmetric structures extend this representation to complex quaternions, or biquaternions. Here, we explicitly exploit biquaternion algebra for fundamental objects, including operators, kinetically and magnetically balanced basis functions, and their expectation values, within a unified framework encompassing real, complex, and real quaternion subalgebras as special cases. To realize this framework computationally, we have developed HMATLIB, a biquaternion matrix library implemented within the ReSpect package for pure CPU and hybrid CPU/GPU execution. A key development is a bilinear algorithm for matrix-valued biquaternion multiplication that reduces the number of real matrix--matrix multiplications from 64 to 24 compared with the conventional component-wise approach, while the biquaternion representation effectively doubles the maximum accessible matrix dimension under the same 32-bit indexing constraint. Numerical benchmarks on modern CPU and GPU architectures demonstrate that the biquaternion formulation consistently outperforms its isomorphic complex-algebra counterpart. For the largest matrices reported, hybrid CPU/GPU execution accelerates bilinear matrix multiplication by approximately 5-8 times over pure CPU execution and matrix diagonalization by approximately 12 and 61 times relative to CPU oneAPI MKL and NVHPC OpenBLAS, respectively. These results establish biquaternion algebra as a general and computationally advantageous framework for modern relativistic electronic-structure calculations.
ER  -