cotengra.pathfinders.path_edgesort ================================== .. py:module:: cotengra.pathfinders.path_edgesort Classes ------- .. autoapisummary:: cotengra.pathfinders.path_edgesort.EdgeSortOptimizer Module Contents --------------- .. py:class:: EdgeSortOptimizer(reverse=False) Bases: :py:obj:`cotengra.oe.PathOptimizer` A path optimizer that proceeds by contacting edges in sorted order, as is the default in the original `ncon` function. The path is thus specified entirely by the naming of the edges. :param reverse: If True, the edges are sorted in reverse order. The default is False. :type reverse: bool, optional .. py:attribute:: reverse :value: False .. py:method:: search(inputs, output, size_dict, **kwargs) .. py:method:: __call__(inputs, output, size_dict, **kwargs)