Expand description
Partial site contraction for TreeTN.
Provides partial_contract for selecting which site indices should be
contracted and which should be linked through explicit diagonal/copy
structure before calling the existing TreeTN contraction pipeline.
Structs§
- Partial
Contraction Spec - Specification for partial site contraction between two TreeTNs.
Functions§
- partial_
contract - Partially contract two TreeTNs according to the given specification.