Skip to content

Exact Clebsch–Gordan coefficients and Wigner 3-jm, 6-j, and 9-j symbols in Haskell.

License

Notifications You must be signed in to change notification settings

Rufflewind/wigner-symbols

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Exact Clebsch–Gordan coefficients and Wigner 3-jm, 6-j, and 9-j symbols in Haskell.

Resources

License

Stars

Watchers

Forks

Packages

No packages published