On this page

SchoonschipContractionOrder

symbolica.community.idenso Class

SchoonschipContractionOrder()

Selects the heuristic used to choose the next tensor-network contraction.

Available values are SmallestDegree, LargestDegree, MinLargestOperandBytes, MinProductTerms, MinProductBytes, SmallestDegreeMinLargestOperandBytes, SmallestDegreeMinProductTerms, and SmallestDegreeMinProductBytes.

Member details

SmallestDegree

Variant
#

Contract the pair with the fewest paired tensor slots.

LargestDegree

Variant
#

Contract the pair with the most paired tensor slots.

MinLargestOperandBytes

Variant
#

Minimize the larger operand's estimated memory footprint.

MinProductTerms

Variant
#

Minimize the estimated number of terms in the product.

MinProductBytes

Variant
#

Minimize the product's estimated memory footprint.

SmallestDegreeMinLargestOperandBytes

Variant
#

Minimize the paired-slot count first, then the larger operand's estimated bytes.

SmallestDegreeMinProductTerms

Variant
#

Minimize the paired-slot count first, then the estimated product term count.

SmallestDegreeMinProductBytes

Variant
#

Minimize the paired-slot count first, then the estimated product bytes.