Expand description
Import and export of tensors or tensor networks as HDF5 files.
The files follow this structure:
tensors/
tensor: n-dimensional dataset
attrs:
- bids
- tidsThere is a single tensors/ group containing multiple tensor datasets. Each
tensor is a flattened tensor with dimensions shape. The tid is the unique
positive integer used to identify each tensor, with the output tensor, identified
by -1, containing output bond dimensions and no tensor data. The bids are a
list of integers corresponding to the bond ids of in each tensor.
Functionsยง
- load_
data - Loads a single tensor from a HDF5 file.
- load_
tensor - Loads a tensor network from a HDF5 file.
- store_
data - Stores a single tensor in a HDF5 file.