Quantum 6j symbols at a root of unity #
The q-Racah formula (Kirillov–Reshetikhin), in doubled spins. For an admissible tetrahedron:
{j₁ j₂ j₃; j₄ j₅ j₆}_q = Δ(j₁j₂j₃) Δ(j₁j₅j₆) Δ(j₄j₂j₆) Δ(j₄j₅j₃) · Σ_z (-1)^z [z+1]! / ([z-α₁]! [z-α₂]! [z-α₃]! [z-α₄]! [β₁-z]! [β₂-z]! [β₃-z]!)
αᵢare the triad sums (halved);βₖare the sums of pairs of columns (halved);Δ(a,b,c)² = [s-a]! [s-b]! [s-c]! / [s+1]!, withs = (a+b+c)/2.
It is defined as 0 unless all four triads are admissible at level r - 2 (qAdm).
qSixJ_swap12,qSixJ_swap23,qSixJ_flip12: the three generating tetrahedral symmetries. Each one permutes the triads and the column sums, so the formula is unchanged term by term.qSixJ_ok: a nonzero q-6j has four admissible triads.
scripts/tv_check.py checks the conventions (40-digit arithmetic):
- the classical formula (ordinary factorials) agrees with SymPy's
wigner_6j; - at
r = 3, …, 6the 2-3 move, orthogonality and the 1-4 move hold; - with integer dimensions instead of quantum ones, all three fail.
1/[u]! for u ≥ 0, else 0.
Equations
- Lightlike.TV.invQFact r u = if 0 ≤ u then (Lightlike.TV.qfact r u.toNat)⁻¹ else 0
Instances For
Δ(a, b, c) (doubled spins).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The q-Racah sum (the z-range covers every nonzero term).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The quantum 6j symbol {j₁ j₂ j₃; j₄ j₅ j₆}_q at q = e^{iπ/r} (doubled spins).
Equations
- One or more equations did not get rendered due to their size.