API reference¶
Everything listed here is importable from the top-level package,
for example from quantum_group import qybe_holds; the pages are grouped
by the module that defines each object. The paper's Appendix A gives the
same interface in condensed form.
Naming follows one pattern: a *_residual function returns the exact SymPy
difference matrix of an identity, and its *_holds companion returns whether
every entry of that residual simplifies to zero.
| Module | Contents |
|---|---|
quantum_group_sl2 |
QuantumGroupSL2, a facade over the U_q(sl_2) functions |
generators, relations |
Symbolic generators and the defining relations as residual checks |
representations |
The modules V_n: matrices of E, F, K, K_inv, weights |
hopf |
Coproduct, counit, antipode and generator-level Hopf identities |
tensor |
Tensor products and Clebsch–Gordan highest-weight vectors |
r_matrix |
The R-matrix on V_1 ⊗ V_1: QYBE, braid, Hecke, intertwining |
supergroup_gl21 |
The graded GL_q(2|1) R-matrix and its placements on V^{⊗n} |
limits |
Classical limits and root-of-unity substitutions |
crystal, visualization |
The crystal graph B(n) and weight/crystal plots |
utils, linalg |
q-integers, factorials, binomials; Kronecker and zero tests |