https://github.com/rufflewind/wigner-symbols
Exact Clebsch–Gordan coefficients and Wigner 3-jm, 6-j, and 9-j symbols in Haskell.
https://github.com/rufflewind/wigner-symbols
Last synced: about 1 year ago
JSON representation
Exact Clebsch–Gordan coefficients and Wigner 3-jm, 6-j, and 9-j symbols in Haskell.
- Host: GitHub
- URL: https://github.com/rufflewind/wigner-symbols
- Owner: Rufflewind
- License: mit
- Created: 2015-09-25T07:33:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-06-07T06:48:11.000Z (about 5 years ago)
- Last Synced: 2025-04-13T13:07:20.060Z (about 1 year ago)
- Language: Haskell
- Homepage: https://hackage.haskell.org/package/wigner-symbols
- Size: 49.8 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
`wigner-symbols` [![Build status][ci]][ca]
==========================================
**Quick links**:
[changelog][cl],
[documentation][dc].
This library calculates:
- Clebsch-Gordan coefficients
- Wigner 3-j symbols
- Wigner 6-j symbols
- Wigner 9-j symbols
These sets of numbers are commonly used in physics to couple, uncouple, and
recouple eigenstates of angular momentum and similar operators.
Mathematically, they describe the relationship between the bases of
irreducible representations of SU(2) or SO(3) and those of their tensor
products.
The library uses the Condon-Shortley phase convention as typical in physics.
Each function has a `…Sq` variant that returns the exact value as a
`SignedSqrtRational`, which represents a mathematical expression of the form:
s √(n / d)
where
- `s` is a sign (either `+`, `-`, or `0`),
- `n` is a nonnegative numerator, and
- `d` is a positive denominator.
Installation
------------
The package is available on [Hackage][dc]:
```sh
cabal install wigner-symbols
```
[cl]: changelog.md
[ca]: https://github.com/Rufflewind/wigner-symbols/actions/workflows/build.yml
[ci]: https://github.com/Rufflewind/wigner-symbols/actions/workflows/build.yml/badge.svg
[dc]: https://hackage.haskell.org/package/wigner-symbols