pub fn nested_complexity<L: Label>(
code: &NestedEinsum<L>,
size_dict: &HashMap<L, usize>,
original_ixs: &[Vec<L>],
) -> ContractionComplexityExpand description
Compute the contraction complexity of a NestedEinsum.
pub fn nested_complexity<L: Label>(
code: &NestedEinsum<L>,
size_dict: &HashMap<L, usize>,
original_ixs: &[Vec<L>],
) -> ContractionComplexityCompute the contraction complexity of a NestedEinsum.