Representations¶
representations ¶
representations.py¶
Finite-dimensional irreducible highest-weight representations of U_q(sl_2).
For generic nonzero q and every nonnegative integer n, there is an (n+1)-dimensional irreducible representation V_n. On the basis {v_0, v_1, ..., v_n}, the generators act as:
K . v_k = q^{n - 2k} v_k (diagonal)
F . v_k = v_{k+1} (F . v_n = 0) (lower shift)
E . v_k = [k]_q [n - k + 1]_q v_{k-1} (E . v_0 = 0) (upper shift)
This module returns the generator matrices as SymPy Matrix objects.
Basis order: k = 0, 1, ..., n; v_k is represented by the kth standard basis vector.
Representation
dataclass
¶
Container for the finite-dimensional U_q(sl_2) representation V_n.
Source code in quantum_group/representations.py
29 30 31 32 33 34 35 36 37 38 39 40 41 | |
build_representation ¶
build_representation(n: int, q_sym: Expr = q) -> Representation
Construct the irreducible representation V_n as explicit matrices.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
n
|
int
|
Highest weight (dimension = n + 1). n >= 0. |
required |
q_sym
|
sympy expression
|
The nonzero q parameter. Python integers remain exact; floats are approximate. At roots of unity the module need not be irreducible. |
q
|
Returns:
| Type | Description |
|---|---|
Representation
|
Data class containing generator matrices and a list of K-weights. |
Source code in quantum_group/representations.py
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
build_representation_core ¶
build_representation_core(n: int, q_sym: Expr = q) -> Representation
Manuscript-compatible wrapper for build_representation.
The implementation returns the repository's Representation data class
rather than a bare tuple, so downstream code can access E, F,
K and K_inv by name.
Source code in quantum_group/representations.py
100 101 102 103 104 105 106 107 | |
highest_weight_vector ¶
highest_weight_vector(rep: Representation) -> sp.Matrix
Return v_0, the highest-weight vector annihilated by E.
Source code in quantum_group/representations.py
110 111 112 113 114 | |
lowest_weight_vector ¶
lowest_weight_vector(rep: Representation) -> sp.Matrix
Return v_n, the lowest-weight vector annihilated by F.
Source code in quantum_group/representations.py
117 118 119 120 121 | |
weight_of ¶
weight_of(rep: Representation, k: int) -> sp.Expr
Return the K-eigenvalue (q^{n-2k}) of basis vector v_k.
Source code in quantum_group/representations.py
124 125 126 127 128 129 | |