ts-quantum
Version:
TypeScript library for quantum mechanics calculations and utilities
53 lines • 3.62 kB
JavaScript
;
// Quantum library entry point
// This file will export all public APIs from the quantum package
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.orthogonalizeStateVectors = exports.isUnitary = exports.isHermitian = exports.normalizeMatrix = exports.scaleMatrix = exports.addMatrices = exports.eigenDecomposition = exports.tensorProduct = exports.transpose = exports.multiplyMatrices = void 0;
// Export types from core
__exportStar(require("./core/types"), exports);
// Export from states
__exportStar(require("./states/stateVector"), exports);
__exportStar(require("./states/states"), exports);
__exportStar(require("./states/composite"), exports);
__exportStar(require("./states/densityMatrix"), exports);
// Export from operators
__exportStar(require("./operators/operator"), exports);
__exportStar(require("./operators/algebra"), exports);
__exportStar(require("./operators/gates"), exports);
__exportStar(require("./operators/measurement"), exports);
__exportStar(require("./operators/hamiltonian"), exports);
__exportStar(require("./operators/circuit"), exports);
// Export utilities (excluding conflicting exports)
var matrixOperations_1 = require("./utils/matrixOperations");
Object.defineProperty(exports, "multiplyMatrices", { enumerable: true, get: function () { return matrixOperations_1.multiplyMatrices; } });
Object.defineProperty(exports, "transpose", { enumerable: true, get: function () { return matrixOperations_1.transpose; } });
Object.defineProperty(exports, "tensorProduct", { enumerable: true, get: function () { return matrixOperations_1.tensorProduct; } });
Object.defineProperty(exports, "eigenDecomposition", { enumerable: true, get: function () { return matrixOperations_1.eigenDecomposition; } });
Object.defineProperty(exports, "addMatrices", { enumerable: true, get: function () { return matrixOperations_1.addMatrices; } });
Object.defineProperty(exports, "scaleMatrix", { enumerable: true, get: function () { return matrixOperations_1.scaleMatrix; } });
Object.defineProperty(exports, "normalizeMatrix", { enumerable: true, get: function () { return matrixOperations_1.normalizeMatrix; } });
Object.defineProperty(exports, "isHermitian", { enumerable: true, get: function () { return matrixOperations_1.isHermitian; } });
Object.defineProperty(exports, "isUnitary", { enumerable: true, get: function () { return matrixOperations_1.isUnitary; } });
Object.defineProperty(exports, "orthogonalizeStateVectors", { enumerable: true, get: function () { return matrixOperations_1.orthogonalizeStateVectors; } });
__exportStar(require("./utils/matrixFunctions"), exports);
__exportStar(require("./utils/information"), exports);
__exportStar(require("./utils/oscillator"), exports);
// Export angular momentum module
__exportStar(require("./angularMomentum"), exports);
// Export geometry module
__exportStar(require("./geometry"), exports);
//# sourceMappingURL=index.js.map