Skip to main content

Crate deep_causality_tensor

Crate deep_causality_tensor 

Source

Modules§

solve
Tensor-train solvers sharing one alternating single-site sweep engine:
utils_tests

Structs§

CausalTensor
CausalTensor is a low-dimensional (up to ~5-25 dimensions recommended) tensor backed by a single, contiguous Vec<T>. It uses a stride-based memory layout for efficient, cache-friendly access and manipulation.
CausalTensorTrain
A tensor-train (matrix-product-state) factorization of a rank-order tensor.
CausalTensorTrainOperator
A matrix-product operator (MPO) over the same site structure as a CausalTensorTrain.
CausalTensorTrainWitness
HKT witness for CausalTensorTrain.
CausalTensorWitness
CrossConfig
Controls for TT-cross construction of a tensor train from an oracle.
SolveConfig
Controls for the alternating-sweep (ALS) tensor-train solvers.
Truncation
Truncation policy for any SVD-based tensor-network step (TT-SVD, rounding, MPO apply).

Enums§

CanonicalForm
Which orthogonality sweep (if any) a CausalTensorTrain currently carries. Tracking it lets round, inner, and the sweep algorithms skip redundant re-canonicalization.
CausalTensorError
Errors that can occur during tensor operations.
EinSumOp
EinSumValidationError
Specific errors that can occur during EinSum AST validation or execution.
RoundStrategy
How the truncated SVD behind a lossy tensor-network step (TT-SVD, rounding, MPO apply) is computed.

Traits§

CausalTensorMathExt
CausalTensorStatsExt
Descriptive-statistics extension for a two-dimensional CausalTensor.
Tensor
TensorTrain
Behaviour of a tensor train (matrix-product state).
TensorTrainOperator
Behaviour of a matrix-product operator (MPO) over the same site structure as a CausalTensorTrain.

Type Aliases§

EinSumAST