Expand description
Contraction and operations for TreeTN.
This module provides methods for:
- Replacing internal indices with fresh IDs (
sim_internal_inds) - Contracting TreeTN to tensor (
contract_to_tensor) - Zip-up contraction (
contract_zipup) - Naive contraction (
contract_naive) - Validation (
validate_ortho_consistency)
Structs§
- Contraction
Options - Options for the generic contract function.
Enums§
- Contraction
Method - Contraction method for TreeTN operations.
Functions§
- contract
- Contract two TreeTNs using the specified method.
- contract_
naive_ to_ treetn - Contract two TreeTNs using naive contraction, then decompose back to TreeTN.