Skip to main content

Module partial_contraction

Module partial_contraction 

Source
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§

PartialContractionSpec
Specification for partial site contraction between two TreeTNs.

Functions§

partial_contract
Partially contract two TreeTNs according to the given specification.