The wigner-symbols package

[Tags:benchmark, library, mit, test]

Clebsch-Gordan coefficients and Wigner 3-j, 6-j, and 9-j symbols.


[Skip to Readme]

Properties

Versions 1.0.0
Change log changelog.md
Dependencies base (==4.*) [details]
License MIT
Copyright (c) 2015 Phil Ruffwind
Author Phil Ruffwind
Maintainer rf@rufflewind.com
Stability Unknown
Category Math
Home page https://github.com/Rufflewind/wigner-symbols
Bug tracker https://github.com/Rufflewind/wigner-symbols/issues
Source repository head: git clone https://github.com/Rufflewind/wigner-symbols
Uploaded Fri Oct 2 07:21:08 UTC 2015 by Rufflewind
Distributions NixOS:1.0.0
Downloads 101 total (4 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2015-10-04 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
llvmUse LLVMDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for wigner-symbols

Readme for wigner-symbols-1.0.0

wigner-symbols Build status

Quick links: changelog, documentation.

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:

cabal install wigner-symbols