wigner-symbols: CG coefficients and Wigner symbols.

[ library, math, mit ] [ Propose Tags ]

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


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
llvm

Use LLVM

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0
Change log changelog.md
Dependencies base (>=4 && <5) [details]
License MIT
Copyright (c) 2015 Phil Ruffwind
Author Phil Ruffwind
Maintainer rf@rufflewind.com
Category Math
Home page https://github.com/Rufflewind/wigner-symbols
Bug tracker https://github.com/Rufflewind/wigner-symbols/issues
Source repo head: git clone https://github.com/Rufflewind/wigner-symbols
Uploaded by Rufflewind at 2015-10-02T07:21:08Z
Distributions NixOS:1.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 958 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-10-04 [all 1 reports]

Readme for wigner-symbols-1.0.0

[back to package description]

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