TensorBFS / OMEinsumContractionOrders.jl

Tensor network contraction order optimizers for OMEinsum
MIT License
25 stars 3 forks source link

revise the ExactTreeWidth solver with TreeWidthSolver 0.2.0 #46

Closed ArrogantGao closed 3 months ago

ArrogantGao commented 3 months ago

In TreeWidthSolver.jl 0.2.0, the EliminationOrder contains the information about which indices are eliminated together. The solver ExactTreeWidth() has been revised to work with the new EliminationOrder.

ArrogantGao commented 3 months ago

Fixed the bug that ExactTreeWidth solver can not properly handle scalar input. Input tensors with no indices will be added to the construction tree of other tensors after optimization.