Enum CanonicalizationMethod

Enum Documentation

enum class sequant::CanonicalizationMethod

canonicalization methods

Values:

enumerator Topological

Enables use of expression topology in the canonicalization, may be expensive.

Note

Canonicalization of tensor networks must take into account the topology of the TN; this enables the use of canonical graph sort of all TN elements to produces complete canonicalization. The result may be aesthetically poor.

enumerator Lexicographic

Enables the use of rapid canonicalization based on lexicographic sort.

Note

for TN this performs lexicographic sort of tensors, slots and slot bundles, and indices. Produces aesthetically pleasing result, but incomplete if some tensors are identical

enumerator Complete

Enables use of Topological, then Lexicographic. Guaranteed to work even if some tensors are identical, and the result is aesthetically pleasing.

enumerator Rapid

Lexicographic = quick-and-dirty.