Submitted:
24 July 2025
Posted:
25 July 2025
Read the latest preprint version here
Abstract
Keywords:
1. Introduction
1.1. Theoretical Foundations

2. Mathematical Model
2.1. Algebraic Foundations
2.2. Operations System
| Operation | Mathematical Definition | Error Bound |
|---|---|---|
| Addition | Qa ⊕ Qb = (qa + qb ,⋆res , s⊕ ) | ∥δq∥ ≤ 2-sa + 2-sb |
| Multiplication | Qa ⊗ Qb = (qa qb ,⋆res , s⊗ ) | ∥δq∥ ≤ ∥qa ∥ · 2-sb + ∥qb ∥ · 2-sa |
| Exponentiation | ![]() |
δ(expq) ≤ exp(∥q∥) · 2-sq |
| Logarithm | ln(Q) = (ln q,⋆, sln ) | ![]() |
| Matrix Product | [QAB ]ij = 田k Qik ⊗ Qkj | ∥δQAB ∥F ≤ ∥A∥ · δB + ∥B∥ · δA |
| Integration | ∫ f(Q)dQ = (∫ f(q)dq,⋆res , sI ) | δI ≤ (b — a) · 2-sf + |f(a)|2-sa + |f(b)|2-sb |
2.3. Type Resolution Rules
3. Experimental Validation
3.1. Quantum Computation Calibration
| Metric | TOENS-Q | Original TOENS |
|---|---|---|
| Error at s = 1024 | 6.1 × 10-1234 | 4.3 × 10-617 |
| Calibration speed (ops/sec) | 3.9e8 | 1.0e7 |
| Directional fidelity | 99.9997% | 99.98% |

3.2. Structural Health Monitoring
| Metric | TOENS-Q | Conventional |
|---|---|---|
| False alarm rate | 5.0% | 7.6% |
| Crack orientation accuracy | 99.2% | 94.7% |
| Damage size error | ±0.8% | ±2.3% |
| Computational time | 28 ms | 41 ms |

3.3. Lorenz Attractor Dynamics
| Metric | TOENS-Q | Float128 |
|---|---|---|
| Iteration speed (2000 steps) Lyapunov exponent error Max trajectory deviation Energy conservation |
41 ms 0.07% 3.2 × 10-9 99.998% |
78 ms 0.12% 1.1 × 10-7 99.992% |

4. Implementation
4.1. Software Architecture

4.2. Performance Benchmark
| Operation | TOENS-Q | Float64 | Float128 | Error Ratio |
|---|---|---|---|---|
| Addition | 42 | 3.2 | 6.1 | 1.2 × 10-7 |
| Multiplication | 89 | 4.8 | 12.4 | 3.7 × 10-9 |
| Exponentiation | 214 | 28.7 | 187 | 5.2 × 10-8 |
| Logarithm | 198 | 31.2 | 203 | 4.1 × 10-8 |
| Matrix Multiply (4x4) | 1,240 | 312 | 2,817 | 2.1 × 10-6 |
| Matrix Inversion (4x4) | 3,817 | 1,092 | 8,429 | 7.4 × 10-6 |
5. Theoretical Analysis
5.1. Algebraic Properties
5.2. Error Convergence
6. Conclusion
Appendix A. Mixed Operations Validation
| Operation Expression | Theoretical Value | TOENS-Q Result | Error |
|---|---|---|---|
| (Qa ⊗ Qb ) ⊕ exp(Qc ) | 12.371 | 12.3709 | 8.1 × 10-5 |
| ln(Qd ) ⊗ QedQ | -3.462 | -3.460 | 5.8 × 10-3 |
| det(Qmatrix )/∥Qvec ∥ | 7.821 | 7.819 | 2.6 × 10-3 |
| ∇ × (Qfield ) | [1.203, -0.817, 2.094] | [1.201, -0.815, 2.092] | [1.7 × 10-3 , 2.4 × 10-3 , 9.5 × 10-4] |

References
- Richter, W.-D. Quaternions Without Imaginarities or the Vector Representation of Quaternions. Preprints 2025, 2025071934. [CrossRef]
- Lin, Y. TOENS: A Practical Approach to Handling Uncertainty in Numerical Computations. Preprints 2025, 2025071394. [CrossRef]
- Nielsen, M. A. & Chuang, I. L. Quantum Computation and Quantum Information. Cambridge University Press (2010).
- Strogatz, S. H. Nonlinear Dynamics and Chaos. CRC Press (2018).
- Higham, N. J. Accuracy and Stability of Numerical Algorithms. SIAM (2002).
- Golub, G. H. & Van Loan, C. F. Matrix Computations. Johns Hopkins University Press (2013).
- Shoemake, K. Animating Rotation with Quaternion Curves. SIGGRAPH 19, 245-254 (1985). [CrossRef]
- Smith, R. C. Uncertainty Quantification. SIAM (2013).
- Tikhonov, A. N. Solution of incorrectly formulated problems. Soviet Math. Dokl. 4, 1035-1038 (1963).
- Lorenz, E. N. Deterministic nonperiodic flow. Journal of Atmospheric Sciences 20(2), 130-141 (1963).
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).

