UNPKG

ts-quantum

Version:

TypeScript library for quantum mechanics calculations and utilities

49 lines 3.07 kB
"use strict"; /** * @fileoverview Intertwiner spaces for Loop Quantum Gravity and spin networks * @module Intertwiner * * This module provides functionality for calculating and manipulating intertwiner spaces * in Loop Quantum Gravity and spin network theory. Intertwiners are SU(2)-invariant * tensors that ensure gauge invariance at network nodes. * * Key features: * - Intertwiner space dimension calculations * - Basis state construction using Clebsch-Gordan coefficients * - Tensor representation with StateVector integration * - Support for 2, 3, and 4-valent nodes * - Optimized implementations for common cases */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.createIntertwinerTensor = exports.basisToTensor = exports.getFourSpinHalfBasis = exports.constructBasisVector = exports.constructBasis = exports.calculateDimension = exports.allowedIntermediateSpins = exports.triangleInequality = void 0; // Export all type definitions __exportStar(require("./types"), exports); // Export core functions for dimension calculations and validation var core_1 = require("./core"); Object.defineProperty(exports, "triangleInequality", { enumerable: true, get: function () { return core_1.triangleInequality; } }); Object.defineProperty(exports, "allowedIntermediateSpins", { enumerable: true, get: function () { return core_1.allowedIntermediateSpins; } }); Object.defineProperty(exports, "calculateDimension", { enumerable: true, get: function () { return core_1.calculateDimension; } }); // Export basis construction functions var basis_1 = require("./basis"); Object.defineProperty(exports, "constructBasis", { enumerable: true, get: function () { return basis_1.constructBasis; } }); Object.defineProperty(exports, "constructBasisVector", { enumerable: true, get: function () { return basis_1.constructBasisVector; } }); Object.defineProperty(exports, "getFourSpinHalfBasis", { enumerable: true, get: function () { return basis_1.getFourSpinHalfBasis; } }); // Export tensor operations (Phase 3 - to be implemented) var tensor_1 = require("./tensor"); Object.defineProperty(exports, "basisToTensor", { enumerable: true, get: function () { return tensor_1.basisToTensor; } }); Object.defineProperty(exports, "createIntertwinerTensor", { enumerable: true, get: function () { return tensor_1.createIntertwinerTensor; } }); //# sourceMappingURL=index.js.map