gen-cg-table
: command line tool to generate CG table of two angular-momenta addition;
Example
./gen-cg-table ▶ go run main.go --j1=17/2 --j2=6
/var/folders/_0/2d8v_l8x5r947l5f35hdx0yw0000gq/T/clebsch-gordon.html
Then the CG table is rendered to an HTML indicated by the output line. See below for an example screenshot.
./multi-angular
: command line tool to expand a tensor product of multiple angular momenta into the total angular momentum basis of the composite system.
Example
./multi-angular ▶ go run *.go --states "1/2,-1/2;3/2,1/2;1/2,1/2"
constructing C-G table for j1=3/2, j2=1/2 ...
constructing C-G table for j1=1, j2=1/2 ...
constructing C-G table for j1=2, j2=1/2 ...
/var/folders/_0/2d8v_l8x5r947l5f35hdx0yw0000gq/T/multi-angular.html
This takes input of 3 particles each in their respective spin state
The result is rendered to an HTML indicated by the output line. The last line of the page shows the desired expansion.
Note we have two distinct