TL;DR
This paper introduces a fast, precise method for computing Wigner 3j, 6j, and 9j symbols using prime factorization and multi-word integer arithmetic to handle large factorials accurately and efficiently.
Contribution
The authors develop an implementation that combines prime factorization with multi-word integer arithmetic to improve the speed and accuracy of evaluating Wigner symbols.
Findings
Significantly reduces numerical errors in Wigner symbol calculations.
Achieves faster computation times compared to existing routines.
Provides a publicly available code implementation.
Abstract
We present an efficient implementation for the evaluation of Wigner 3j, 6j, and 9j symbols. These represent numerical transformation coefficients that are used in the quantum theory of angular momentum. They can be expressed as sums and square roots of ratios of integers. The integers can be very large due to factorials. We avoid numerical precision loss due to cancellation through the use of multi-word integer arithmetic for exact accumulation of all sums. A fixed relative accuracy is maintained as the limited number of floating-point operations in the final step only incur rounding errors in the least significant bits. Time spent to evaluate large multi-word integers is in turn reduced by using explicit prime factorisation of the ingoing factorials, thereby improving execution speed. Comparison with existing routines shows the efficiency of our approach and we therefore provide a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
