ts-quantum
Version:
TypeScript library for quantum mechanics calculations and utilities
34 lines (33 loc) • 1.41 kB
TypeScript
/**
* Intertwiner Basis Construction
*
* This module constructs orthonormal basis states for intertwiner spaces using
* Clebsch-Gordan coefficients and the StateVector framework. It handles the
* coupling of angular momentum at spin network nodes.
*/
import { IntertwinerBasisState, IntertwinerSpace } from './types';
/**
* Construct complete orthonormal basis for intertwiner space
*
* @param edgeSpins Array of angular momentum quantum numbers for node edges
* @returns Complete intertwiner space with orthonormal basis
* @throws Error if edge spins are invalid or unsupported valence
*/
export declare function constructBasis(edgeSpins: number[]): IntertwinerSpace;
/**
* Construct single basis vector for 4-valent node with given intermediate coupling
*
* @param j1 First edge angular momentum
* @param j2 Second edge angular momentum
* @param j3 Third edge angular momentum
* @param j4 Fourth edge angular momentum
* @param intermediateJ Intermediate angular momentum coupling
* @returns Basis state or null if coupling is invalid
*/
export declare function constructBasisVector(j1: number, j2: number, j3: number, j4: number, intermediateJ: number): IntertwinerBasisState | null;
/**
* Optimized basis for four spin-1/2 edges (2-dimensional space)
*
* @returns Complete intertwiner space for four spin-1/2 edges
*/
export declare function getFourSpinHalfBasis(): IntertwinerSpace;