Skip to main content

Module types

Module types 

Source
Expand description

Core types for tensor train operations

Re-exports§

pub use crate::tensor::Tensor3;

Traits§

Tensor3Ops
Convenience accessors for rank-3 core tensors with shape (left_bond, site_dim, right_bond).

Functions§

tensor3_from_data
Create a rank-3 tensor from flat data in column-major order.
tensor3_zeros
Create a zero-filled rank-3 tensor with shape (left_dim, site_dim, right_dim).

Type Aliases§

LocalIndex
Local index type (index within a single tensor site)
MultiIndex
Multi-index type (indices across all sites)