In [1]:
Copied!
try:
import numqi
except ImportError:
%pip install numqi
import numqi
try:
import numqi
except ImportError:
%pip install numqi
import numqi
In [2]:
Copied!
numqi.group.symext.get_sym_group_young_diagram(4)
numqi.group.symext.get_sym_group_young_diagram(4)
Out[2]:
array([[4, 0, 0, 0], [3, 1, 0, 0], [2, 2, 0, 0], [2, 1, 1, 0], [1, 1, 1, 1]])
In [3]:
Copied!
numqi.group.print_all_young_tableaux(4)
numqi.group.print_all_young_tableaux(4)
[4]: #tableaux: 1 [0, 1, 2, 3] ============================== [3,1]: #tableaux: 3 [0, 1, 2] [3] ------------------------------ [0, 1, 3] [2] ------------------------------ [0, 2, 3] [1] ============================== [2,2]: #tableaux: 2 [0, 1] [2, 3] ------------------------------ [0, 2] [1, 3] ============================== [2,1,1]: #tableaux: 3 [0, 1] [2] [3] ------------------------------ [0, 2] [1] [3] ------------------------------ [0, 3] [1] [2] ============================== [1,1,1,1]: #tableaux: 1 [0] [1] [2] [3] ==============================