Index _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W _ __call__() (cotengra.AutoOptimizer method) (cotengra.contract.Contractor method) (cotengra.contract.CuQuantumContractor method) (cotengra.experimental.path_compressed_branchbound.CompressedExhaustive method) (cotengra.experimental.path_compressed_mcts.MCTS method) (cotengra.FlowCutterOptimizer method) (cotengra.GreedyOptimizer method) (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.CompressedReconfTrial method) (cotengra.hyperoptimizers.hyper.ComputeScore method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.ReconfTrialFn method) (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer method) (cotengra.hyperoptimizers.hyper.SimulatedAnnealingTrialFn method) (cotengra.hyperoptimizers.hyper.SlicedReconfTrialFn method) (cotengra.hyperoptimizers.hyper.SlicedTrialFn method) (cotengra.hyperoptimizers.hyper.TrialConvertTree method) (cotengra.hyperoptimizers.hyper.TrialSetObjective method) (cotengra.hyperoptimizers.hyper.TrialTreeMulti method) (cotengra.interface.Variadic method) (cotengra.interface.Via method) (cotengra.interface.WithBackend method) (cotengra.OptimalOptimizer method) (cotengra.parallel.CachedProcessPoolExecutor method) (cotengra.parallel.CachedThreadPoolExecutor method) (cotengra.pathfinders.path_basic.EnsureInputsOutputAreSequence method) (cotengra.pathfinders.path_basic.GreedyOptimizer method) (cotengra.pathfinders.path_basic.OptimalOptimizer method) (cotengra.pathfinders.path_basic.RandomGreedyOptimizer method) (cotengra.pathfinders.path_compressed_greedy.GreedyCompressed method) (cotengra.pathfinders.path_compressed_greedy.GreedySpan method) (cotengra.pathfinders.path_flowcutter.FlowCutterOptimizer method) (cotengra.pathfinders.path_quickbb.QuickBBOptimizer method) (cotengra.presets.AutoOptimizer method) (cotengra.QuickBBOptimizer method) (cotengra.RandomGreedyOptimizer method) (cotengra.ReusableHyperOptimizer method) (cotengra.scoring.ComboObjective method) (cotengra.scoring.CompressedComboObjective method) (cotengra.scoring.CompressedFlopsObjective method) (cotengra.scoring.CompressedPeakObjective method) (cotengra.scoring.CompressedSizeObjective method) (cotengra.scoring.CompressedWriteObjective method) (cotengra.scoring.FlopsObjective method) (cotengra.scoring.LimitObjective method) (cotengra.scoring.Objective method) (cotengra.scoring.SizeObjective method) (cotengra.scoring.WriteObjective method) __del__() (cotengra.contract.CuQuantumContractor method) (cotengra.parallel.CachedProcessPoolExecutor method) (cotengra.parallel.CachedThreadPoolExecutor method) __hash__() (cotengra.experimental.path_compressed_mcts.Node method) (cotengra.scoring.Objective method) __len__() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) __lt__() (cotengra.experimental.path_compressed_mcts.Node method) __repr__() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) (cotengra.experimental.path_compressed_mcts.MCTS method) (cotengra.experimental.path_compressed_mcts.Node method) (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) (cotengra.pathfinders.path_compressed.MiniTree method) (cotengra.pathfinders.path_compressed.Node method) (cotengra.scoring.CompressedStatsTracker method) (cotengra.scoring.Objective method) (cotengra.slicer.ContractionCosts method) __slots__ (cotengra.contract.Contractor attribute) (cotengra.experimental.path_compressed_mcts.Node attribute) (cotengra.GreedyOptimizer attribute) (cotengra.HyperGraph attribute) (cotengra.hypergraph.HyperGraph attribute) (cotengra.interface.Variadic attribute) (cotengra.interface.Via attribute) (cotengra.interface.WithBackend attribute) (cotengra.OptimalOptimizer attribute) (cotengra.parallel.RayFuture attribute) (cotengra.pathfinders.path_basic.ContractionProcessor attribute) (cotengra.pathfinders.path_basic.GreedyOptimizer attribute) (cotengra.pathfinders.path_basic.OptimalOptimizer attribute) (cotengra.pathfinders.path_compressed.EmptyMiniTree attribute) (cotengra.pathfinders.path_compressed.MiniTree attribute) (cotengra.pathfinders.path_compressed.Node attribute) (cotengra.scoring.ComboObjective attribute) (cotengra.scoring.CompressedComboObjective attribute) (cotengra.scoring.CompressedFlopsObjective attribute) (cotengra.scoring.CompressedPeakObjective attribute) (cotengra.scoring.CompressedSizeObjective attribute) (cotengra.scoring.CompressedStatsTracker attribute) (cotengra.scoring.CompressedStatsTrackerCombo attribute) (cotengra.scoring.CompressedStatsTrackerFlops attribute) (cotengra.scoring.CompressedStatsTrackerPeak attribute) (cotengra.scoring.CompressedStatsTrackerSize attribute) (cotengra.scoring.CompressedStatsTrackerWrite attribute) (cotengra.scoring.CompressedWriteObjective attribute) (cotengra.scoring.FlopsObjective attribute) (cotengra.scoring.MultiObjective attribute) (cotengra.scoring.MultiObjectiveDense attribute) (cotengra.scoring.MultiObjectiveLinear attribute) (cotengra.scoring.MultiObjectiveUniform attribute) (cotengra.scoring.Objective attribute) (cotengra.scoring.SizeObjective attribute) (cotengra.scoring.WriteObjective attribute) (cotengra.slicer.ContractionCosts attribute) __str__() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) __version__ (in module cotengra._version) __version_tuple__ (in module cotengra._version) _add_node() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) _adjust_lims() (cotengra.schematic.Drawing method) _adjust_lims_for_marker() (cotengra.schematic.Drawing method) _allowed_perms (in module cotengra.pathfinders.path_compressed_greedy) _array_contract_expression_with_constants() (in module cotengra.interface) _AUTO_BACKEND (in module cotengra.parallel) _binary_combine() (in module cotengra.pathfinders.path_compressed_greedy) _build_expression() (in module cotengra.interface) _check_score() (cotengra.experimental.path_compressed_branchbound.CompressedTreeRefiner method) _COLORS_DEFAULT (in module cotengra.schematic) _COLORS_SORTED (in module cotengra.schematic) _COMPRESSED_PRESETS (in module cotengra.interface) _compute_path() (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer method) (cotengra.ReusableHyperOptimizer method) _CONTRACT_EXPR_CACHE (in module cotengra.interface) _DEFAULT_BACKEND (in module cotengra.parallel) _describe_tree() (in module cotengra.core) (in module cotengra.pathfinders.path_simulated_annealing) _do_anneal() (in module cotengra.pathfinders.path_simulated_annealing) _do_contraction_via_bmm() (in module cotengra.contract) _einsum_single() (in module cotengra.contract) _find_path_explicit_path() (in module cotengra.interface) _find_path_handlers (in module cotengra.interface) _find_path_optimizer() (in module cotengra.interface) _find_path_preset() (in module cotengra.interface) _find_path_tree() (in module cotengra.interface) _find_tree_explicit() (in module cotengra.interface) _find_tree_handlers (in module cotengra.interface) _find_tree_optimizer_basic() (in module cotengra.interface) _find_tree_optimizer_search() (in module cotengra.interface) _find_tree_preset() (in module cotengra.interface) _find_tree_tree() (in module cotengra.interface) _gen_results() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) _gen_results_parallel() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) _get_and_report_next_future() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) _get_next_result_par() (cotengra.experimental.path_compressed_branchbound.CompressedTreeRefiner method) _get_next_result_seq() (cotengra.experimental.path_compressed_branchbound.CompressedTreeRefiner method) _get_next_tree() (cotengra.experimental.path_compressed_branchbound.CompressedTreeRefiner method) _get_optimizer_hyper_threadsafe() (cotengra.AutoOptimizer method) (cotengra.presets.AutoOptimizer method) _get_pool_dask() (in module cotengra.parallel) _get_pool_ray() (in module cotengra.parallel) _get_process_pool_cf() (in module cotengra.parallel) _get_score_fn_str_cached() (in module cotengra.scoring) _get_thread_pool_cf() (in module cotengra.parallel) _get_tree_info() (in module cotengra.core) _HASH_OPTIMIZE_PREPARERS (in module cotengra.interface) _HYPER_CONSTANTS (in module cotengra.hyperoptimizers.hyper) _HYPER_SEARCH_SPACE (in module cotengra.hyperoptimizers.hyper) _increment_eo() (in module cotengra.pathfinders.treedecomp) _infer_backed_cached() (in module cotengra.parallel) _infer_backend() (in module cotengra.parallel) _maybe_cancel_futures() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) _maybe_default() (cotengra.SliceFinder method) (cotengra.slicer.SliceFinder method) _maybe_inject_remote_opts() (cotengra.parallel.RayExecutor method) _maybe_leave_pool_dask() (in module cotengra.parallel) _maybe_report_result() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) _OPTLIB_FNS (in module cotengra.hyperoptimizers.hyper) _parse_einsum_single() (in module cotengra.contract) _parse_eq_to_batch_matmul() (in module cotengra.contract) _parse_eq_to_pure_multiplication() (in module cotengra.contract) _parse_style_for_marker() (cotengra.schematic.Drawing method) _parse_tensordot_axes_to_matmul() (in module cotengra.contract) _PATH_CACHE (in module cotengra.interface) _PATH_FNS (in module cotengra.hyperoptimizers.hyper) _PRESETS (in module cotengra.interface) _process_result() (cotengra.experimental.path_compressed_branchbound.CompressedTreeRefiner method) _RAY_EXECUTOR (in module cotengra.parallel) _reconfigure_tree() (in module cotengra.core) _rejoin_pool_dask() (in module cotengra.parallel) _remove_node() (cotengra.ContractionTree method) (cotengra.ContractionTreeMulti method) (cotengra.core.ContractionTree method) (cotengra.core_multi.ContractionTreeMulti method) _sanitize_equation() (in module cotengra.contract) _scatter_labels (in module cotengra.plot) _score() (cotengra.pathfinders.path_compressed_greedy.GreedyCompressed method) _score_tree() (in module cotengra.pathfinders.path_simulated_annealing) _search() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) _set_state_from() (cotengra.slicer.ContractionCosts method) _shutdown_cached_process_pool() (in module cotengra.parallel) _shutdown_cached_thread_pool() (in module cotengra.parallel) _slice_and_reconfigure_tree() (in module cotengra.core) _slice_tree_basic() (in module cotengra.pathfinders.path_simulated_annealing) _slice_tree_drift() (in module cotengra.pathfinders.path_simulated_annealing) _slice_tree_reslice() (in module cotengra.pathfinders.path_simulated_annealing) _traverse_ordered() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) _unpack_dispatch (in module cotengra.parallel) _unpack_futures() (in module cotengra.parallel) _unpack_futures_dict() (in module cotengra.parallel) _unpack_futures_identity() (in module cotengra.parallel) _unpack_futures_list() (in module cotengra.parallel) _unpack_futures_tuple() (in module cotengra.parallel) _update_progbar() (cotengra.experimental.path_compressed_branchbound.CompressedExhaustive method) _update_tracked() (cotengra.ContractionTree method) (cotengra.ContractionTreeMulti method) (cotengra.core.ContractionTree method) (cotengra.core_multi.ContractionTreeMulti method) A add() (cotengra.pathfinders.path_compressed.MiniTree method) add_node() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) (cotengra.pathfinders.path_basic.ContractionProcessor method) all_shortest_distances() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) all_shortest_distances_condensed() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) arithmetic_intensity() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) array_contract() (in module cotengra) (in module cotengra.interface) array_contract_expression() (in module cotengra) (in module cotengra.interface) array_contract_path() (in module cotengra) (in module cotengra.interface) array_contract_tree() (in module cotengra) (in module cotengra.interface) arrowhead() (cotengra.schematic.Drawing method) ask() (cotengra.hyperoptimizers.hyper_random.RandomSampler method) auto_colors() (in module cotengra.schematic) auto_hash_path_relevant_opts() (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer method) (cotengra.ReusableHyperOptimizer method) auto_hq_optimize (in module cotengra) (in module cotengra.presets) auto_optimize (in module cotengra) (in module cotengra.presets) autocomplete() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) AutoHQOptimizer (class in cotengra) (class in cotengra.presets) AutoOptimizer (class in cotengra) (class in cotengra.presets) average_color() (in module cotengra.schematic) axonometric_project() (in module cotengra.schematic) B backprop() (cotengra.experimental.path_compressed_mcts.MCTS method) base_trial_fn() (in module cotengra.hyperoptimizers.hyper) baytune_get_setting() (in module cotengra.hyperoptimizers.hyper_baytune) baytune_init_optimizers() (in module cotengra.hyperoptimizers.hyper_baytune) baytune_report_result() (in module cotengra.hyperoptimizers.hyper_baytune) benchmark() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) best() (cotengra.SliceFinder method) (cotengra.slicer.SliceFinder method) best_flops (cotengra.pathfinders.path_basic.RandomGreedyOptimizer attribute) (cotengra.RandomGreedyOptimizer attribute) best_ssa_path (cotengra.pathfinders.path_basic.RandomGreedyOptimizer attribute) (cotengra.RandomGreedyOptimizer attribute) bit_path_to_ssa_path() (in module cotengra.pathfinders.path_compressed) bond_size() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) BTB_TYPE_TO_HYPERPARAM (in module cotengra.hyperoptimizers.hyper_baytune) build_agglom() (cotengra.core.PartitionTreeBuilder method) build_divide() (cotengra.core.PartitionTreeBuilder method) build_tree() (cotengra.FlowCutterOptimizer method) (cotengra.pathfinders.path_flowcutter.FlowCutterOptimizer method) (cotengra.pathfinders.path_quickbb.QuickBBOptimizer method) (cotengra.QuickBBOptimizer method) C cached_node_property() (in module cotengra.core) CachedProcessPoolExecutor (class in cotengra.parallel) CachedThreadPoolExecutor (class in cotengra.parallel) calc_edge_weight() (in module cotengra.hypergraph) calc_edge_weight_float() (in module cotengra.hypergraph) calc_node_weight() (in module cotengra.hypergraph) calc_node_weight_float() (in module cotengra.hypergraph) calc_subtree_candidates() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) can_hash_optimize() (in module cotengra.interface) can_scatter() (in module cotengra.parallel) cancel() (cotengra.parallel.RayFuture method) candidate_contraction_size() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) check() (cotengra.pathfinders.path_basic.ContractionProcessor method) check_node() (cotengra.experimental.path_compressed_mcts.MCTS method) children (cotengra.ContractionTree attribute) (cotengra.ContractionTreeMulti attribute) (cotengra.core.ContractionTree attribute) (cotengra.core.ContractionTreeMulti attribute) (cotengra.core_multi.ContractionTreeMulti attribute) chocolate_get_setting() (in module cotengra.hyperoptimizers.hyper_choco) chocolate_init_optimizers() (in module cotengra.hyperoptimizers.hyper_choco) chocolate_report_result() (in module cotengra.hyperoptimizers.hyper_choco) choose_default_num_workers() (in module cotengra.parallel) circle() (cotengra.schematic.Drawing method) cleanup() (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer method) (cotengra.ReusableHyperOptimizer method) COLORING_SEED (in module cotengra.schematic) combo_cost (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) combo_cost() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) combo_cost_compressed() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) combo_cost_exact (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) combo_score (cotengra.scoring.CompressedStatsTracker property) ComboObjective (class in cotengra.scoring) compress() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) compressed (cotengra.HyperCompressedOptimizer attribute) (cotengra.HyperMultiOptimizer attribute) (cotengra.HyperOptimizer attribute) (cotengra.hyperoptimizers.hyper.HyperCompressedOptimizer attribute) (cotengra.hyperoptimizers.hyper.HyperMultiOptimizer attribute) (cotengra.hyperoptimizers.hyper.HyperOptimizer attribute) compressed_contract_stats() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) compressed_reconfigure() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) compressed_reconfigure_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) CompressedComboObjective (class in cotengra.scoring) CompressedExhaustive (class in cotengra.experimental.path_compressed_branchbound) CompressedFlopsObjective (class in cotengra.scoring) CompressedObjective (class in cotengra.scoring) CompressedPeakObjective (class in cotengra.scoring) CompressedReconfTrial (class in cotengra.hyperoptimizers.hyper) CompressedSizeObjective (class in cotengra.scoring) CompressedStatsTracker (class in cotengra.scoring) CompressedStatsTrackerCombo (class in cotengra.scoring) CompressedStatsTrackerFlops (class in cotengra.scoring) CompressedStatsTrackerPeak (class in cotengra.scoring) CompressedStatsTrackerSize (class in cotengra.scoring) CompressedStatsTrackerWrite (class in cotengra.scoring) CompressedTreeRefiner (class in cotengra.experimental.path_compressed_branchbound) CompressedWriteObjective (class in cotengra.scoring) compute_centralities() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) compute_compressed_stats() (cotengra.scoring.CompressedObjective method) compute_con_cost_combo() (in module cotengra.pathfinders.path_basic) compute_con_cost_flops() (in module cotengra.pathfinders.path_basic) compute_con_cost_limit() (in module cotengra.pathfinders.path_basic) compute_con_cost_size() (in module cotengra.pathfinders.path_basic) compute_con_cost_write() (in module cotengra.pathfinders.path_basic) compute_contracted() (in module cotengra.pathfinders.path_basic) compute_contracted_inds() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) compute_contracted_info() (in module cotengra.pathfinders.path_simulated_annealing) compute_edge_path() (cotengra.FlowCutterOptimizer method) (cotengra.pathfinders.path_flowcutter.FlowCutterOptimizer method) compute_flops() (in module cotengra.pathfinders.path_basic) compute_leaf_legs() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) compute_loops() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) compute_mult() (cotengra.scoring.MultiObjective method) (cotengra.scoring.MultiObjectiveDense method) (cotengra.scoring.MultiObjectiveLinear method) (cotengra.scoring.MultiObjectiveUniform method) compute_simplified() (in module cotengra.pathfinders.path_basic) compute_size() (in module cotengra.pathfinders.path_basic) compute_weights() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) ComputeScore (class in cotengra.hyperoptimizers.hyper) contract (in module cotengra) contract() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) (cotengra.pathfinders.path_compressed.EmptyMiniTree method) (cotengra.pathfinders.path_compressed.MiniTree method) contract_core() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) contract_expression (in module cotengra) contract_mpi() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) contract_nodes() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) (cotengra.pathfinders.path_basic.ContractionProcessor method) contract_nodes_pair() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) contract_pair_cost() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) contract_slice() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) contract_stats() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) contraction_cost (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) contraction_cost() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) contraction_cost_compressed (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) contraction_scaling() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) contraction_width (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) contraction_width() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) contraction_width_compressed() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) ContractionCosts (class in cotengra.slicer) ContractionProcessor (class in cotengra.pathfinders.path_basic) ContractionTree (class in cotengra) (class in cotengra.core) ContractionTreeCompressed (class in cotengra) (class in cotengra.core) ContractionTreeMulti (class in cotengra) (class in cotengra.core) (class in cotengra.core_multi) Contractor (class in cotengra.contract) convert_param_to_baytune() (in module cotengra.hyperoptimizers.hyper_baytune) convert_param_to_choco() (in module cotengra.hyperoptimizers.hyper_choco) convert_param_to_nevergrad() (in module cotengra.hyperoptimizers.hyper_nevergrad) convert_param_to_skopt() (in module cotengra.hyperoptimizers.hyper_skopt) convert_to_nevergrad_space() (in module cotengra.hyperoptimizers.hyper_nevergrad) convert_to_skopt_space() (in module cotengra.hyperoptimizers.hyper_skopt) coo_to_zorder() (in module cotengra.schematic) copy() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) (cotengra.pathfinders.path_basic.ContractionProcessor method) (cotengra.pathfinders.path_compressed.EmptyMiniTree method) (cotengra.pathfinders.path_compressed.MiniTree method) (cotengra.scoring.CompressedStatsTracker method) (cotengra.slicer.ContractionCosts method) cost_local_tree_node() (cotengra.scoring.ComboObjective method) (cotengra.scoring.ExactObjective method) (cotengra.scoring.FlopsObjective method) (cotengra.scoring.LimitObjective method) (cotengra.scoring.SizeObjective method) (cotengra.scoring.WriteObjective method) cotengra module cotengra._version module cotengra.contract module cotengra.core module cotengra.core_multi module cotengra.experimental module cotengra.experimental.path_compressed_branchbound module cotengra.experimental.path_compressed_mcts module cotengra.hypergraph module cotengra.hyperoptimizers module cotengra.hyperoptimizers.hyper module cotengra.hyperoptimizers.hyper_baytune module cotengra.hyperoptimizers.hyper_choco module cotengra.hyperoptimizers.hyper_nevergrad module cotengra.hyperoptimizers.hyper_optuna module cotengra.hyperoptimizers.hyper_random module cotengra.hyperoptimizers.hyper_skopt module cotengra.interface module cotengra.oe module cotengra.parallel module cotengra.pathfinders module cotengra.pathfinders.path_basic module cotengra.pathfinders.path_compressed module cotengra.pathfinders.path_compressed_greedy module cotengra.pathfinders.path_flowcutter module cotengra.pathfinders.path_greedy module cotengra.pathfinders.path_igraph module cotengra.pathfinders.path_kahypar module cotengra.pathfinders.path_labels module cotengra.pathfinders.path_quickbb module cotengra.pathfinders.path_simulated_annealing module cotengra.pathfinders.treedecomp module cotengra.plot module cotengra.presets module cotengra.schematic module cotengra.scoring module cotengra.slicer module cotengra.utils module cube() (cotengra.schematic.Drawing method) CuQuantumContractor (class in cotengra.contract) curve() (cotengra.schematic.Drawing method) D darken_color() (in module cotengra.schematic) DEFAULT_COMBO_FACTOR (in module cotengra.scoring) DEFAULT_IMPLEMENTATION (in module cotengra.contract) default_implementation() (in module cotengra.contract) delete_node() (cotengra.experimental.path_compressed_mcts.MCTS method) descend() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) (cotengra.experimental.path_compressed_mcts.MCTS method) describe() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) (cotengra.scoring.CompressedStatsTracker method) dict_affine_renorm() (in module cotengra.hypergraph) distance() (in module cotengra.schematic) do_reconfigure() (in module cotengra.experimental.path_compressed_branchbound) done() (cotengra.parallel.RayFuture method) dot() (cotengra.schematic.Drawing method) Drawing (class in cotengra.schematic) E edges (cotengra.HyperGraph attribute) (cotengra.hypergraph.HyperGraph attribute) edges_size() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) einsum() (in module cotengra) (in module cotengra.contract) (in module cotengra.interface) einsum_expression() (in module cotengra) (in module cotengra.interface) einsum_tree() (in module cotengra) (in module cotengra.interface) EliminationOrdering (class in cotengra.pathfinders.treedecomp) EmptyMiniTree (class in cotengra.pathfinders.path_compressed) ensure_basic_quantities_are_computed() (in module cotengra.scoring) EnsureInputsOutputAreSequence (class in cotengra.pathfinders.path_basic) estimate_node_cache_mult() (cotengra.scoring.MultiObjective method) estimate_node_mult() (cotengra.scoring.MultiObjective method) estimate_optimal_hardness() (in module cotengra.presets) exact_multi_stats() (cotengra.ContractionTreeMulti method) (cotengra.core_multi.ContractionTreeMulti method) ExactObjective (class in cotengra.scoring) expand_node() (cotengra.experimental.path_compressed_branchbound.CompressedExhaustive method) expected_coupons() (in module cotengra.scoring) explore_path() (cotengra.experimental.path_compressed_branchbound.CompressedExhaustive method) extract_contractions() (in module cotengra.contract) F find_path() (in module cotengra.interface) find_tree() (in module cotengra.interface) first() (cotengra.pathfinders.path_compressed.Node class method) flat_tree() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) flops (cotengra.slicer.ContractionCosts property) FlopsObjective (class in cotengra.scoring) FlowCutterOptimizer (class in cotengra) (class in cotengra.pathfinders.path_flowcutter) from_contraction_tree() (cotengra.slicer.ContractionCosts class method) from_edge_path() (cotengra.ContractionTree class method) (cotengra.core.ContractionTree class method) from_edges() (cotengra.HyperGraph class method) (cotengra.hypergraph.HyperGraph class method) from_eq() (cotengra.ContractionTree class method) (cotengra.core.ContractionTree class method) from_info() (cotengra.ContractionTree class method) (cotengra.core.ContractionTree class method) (cotengra.slicer.ContractionCosts class method) from_path() (cotengra.ContractionTree class method) (cotengra.ContractionTreeCompressed class method) (cotengra.core.ContractionTree class method) (cotengra.core.ContractionTreeCompressed class method) G gather_slices() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) gen_leaves() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) gen_nice_inds() (in module cotengra.contract) gen_output_chunks() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) gen_points_around() (in module cotengra.schematic) get_angle() (in module cotengra.schematic) get_cache_contrib() (cotengra.ContractionTreeMulti method) (cotengra.core_multi.ContractionTreeMulti method) get_can_dot() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_centrality() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_chocolate_space() (in module cotengra.hyperoptimizers.hyper_choco) get_compressed_stats_tracker() (cotengra.scoring.CompressedComboObjective method) (cotengra.scoring.CompressedFlopsObjective method) (cotengra.scoring.CompressedObjective method) (cotengra.scoring.CompressedPeakObjective method) (cotengra.scoring.CompressedSizeObjective method) (cotengra.scoring.CompressedWriteObjective method) get_contractor() (cotengra.ContractionTree method) (cotengra.ContractionTreeCompressed method) (cotengra.core.ContractionTree method) (cotengra.core.ContractionTreeCompressed method) get_control_points() (in module cotengra.schematic) get_default_chi() (cotengra.ContractionTreeCompressed method) (cotengra.core.ContractionTreeCompressed method) get_default_combo_factor() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_default_compress_late() (cotengra.ContractionTreeCompressed method) (cotengra.core.ContractionTreeCompressed method) get_default_hq_methods() (in module cotengra.hyperoptimizers.hyper) get_default_implementation() (in module cotengra.contract) get_default_objective() (cotengra.ContractionTree method) (cotengra.ContractionTreeCompressed method) (cotengra.core.ContractionTree method) (cotengra.core.ContractionTreeCompressed method) get_default_optlib() (in module cotengra.hyperoptimizers.hyper) get_default_order() (cotengra.ContractionTree method) (cotengra.ContractionTreeCompressed method) (cotengra.core.ContractionTree method) (cotengra.core.ContractionTreeCompressed method) get_deploy() (in module cotengra.parallel) get_dynamic_programming_minimize() (cotengra.scoring.ComboObjective method) (cotengra.scoring.ExactObjective method) (cotengra.scoring.FlopsObjective method) (cotengra.scoring.LimitObjective method) (cotengra.scoring.SizeObjective method) (cotengra.scoring.WriteObjective method) get_edge() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) get_einsum_eq() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_eq() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_eq_sliced() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_flops() (cotengra.ContractionTree method) (cotengra.ContractionTreeMulti method) (cotengra.core.ContractionTree method) (cotengra.core_multi.ContractionTreeMulti method) get_fn_as_remote_object() (in module cotengra.parallel) get_hyper_constants() (in module cotengra.hyperoptimizers.hyper) get_hyper_space() (in module cotengra) (in module cotengra.hyperoptimizers.hyper) get_hypergraph() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) (in module cotengra) (in module cotengra.hypergraph) get_incomplete_nodes() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_inds() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_inputs_sliced() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_involved() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_kahypar_profile_dir() (in module cotengra.pathfinders.path_kahypar) get_laplacian() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) get_leaves_ordered() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_legs() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_loky_get_reusable_executor() (in module cotengra.parallel) get_methods_space() (in module cotengra.hyperoptimizers.hyper_nevergrad) (in module cotengra.hyperoptimizers.hyper_skopt) get_n_workers() (in module cotengra.parallel) get_nice_pos() (in module cotengra.plot) get_node() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) get_node_cache_mult() (cotengra.ContractionTreeMulti method) (cotengra.core_multi.ContractionTreeMulti method) get_node_is_bright() (cotengra.ContractionTreeMulti method) (cotengra.core_multi.ContractionTreeMulti method) get_node_mult() (cotengra.ContractionTreeMulti method) (cotengra.core_multi.ContractionTreeMulti method) get_node_var_inds() (cotengra.ContractionTreeMulti method) (cotengra.core_multi.ContractionTreeMulti method) get_num_edges() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) get_num_nodes() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) get_numconfigs() (cotengra.core.ContractionTreeMulti method) get_numpy_path() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_optimize_greedy() (in module cotengra.pathfinders.path_basic) get_optimize_optimal() (in module cotengra.pathfinders.path_basic) get_optimize_random_greedy_track_flops() (in module cotengra.pathfinders.path_basic) get_output_sliced() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_path() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_path_relevant_opts() (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer method) (cotengra.ReusableHyperOptimizer method) get_path_surface() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_pool() (in module cotengra.parallel) get_ray() (in module cotengra.parallel) get_remote_fn() (in module cotengra.parallel) get_resistance_distances() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) get_rotator_and_inverse() (in module cotengra.schematic) get_score_fn() (in module cotengra.scoring) get_shapes() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_shapes_sliced() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_size() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_slice_strides() (in module cotengra.core) get_spans() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_ssa_path() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) (cotengra.experimental.path_compressed_mcts.MCTS method) (cotengra.pathfinders.path_compressed.WindowedOptimizer method) (cotengra.pathfinders.path_compressed_greedy.GreedyCompressed method) (cotengra.pathfinders.path_compressed_greedy.GreedySpan method) get_ssa_path_surface() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_subtree() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_symbol() (in module cotengra) get_symbol_map() (in module cotengra) get_tensordot_axes() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_tensordot_perm() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) get_tree() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) get_trials() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) get_varmults() (cotengra.core.ContractionTreeMulti method) get_with_default() (in module cotengra.core) get_wong_color() (in module cotengra.schematic) graph_key() (cotengra.pathfinders.path_compressed.Node method) greedy_compressed() (in module cotengra.pathfinders.path_compressed_greedy) greedy_optimize (in module cotengra) (in module cotengra.presets) greedy_span() (in module cotengra.pathfinders.path_compressed_greedy) GreedyCompressed (class in cotengra.pathfinders.path_compressed_greedy) GreedyOptimizer (class in cotengra) (class in cotengra.pathfinders.path_basic) GreedySpan (class in cotengra.pathfinders.path_compressed_greedy) H has_edge() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) HAS_FA2 (in module cotengra.plot) has_node() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) has_preprocessing() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) HAS_PYGRAPHVIZ (in module cotengra.plot) hash_contraction() (in module cotengra) (in module cotengra.hyperoptimizers.hyper) (in module cotengra.interface) hash_contraction_a() (in module cotengra.hyperoptimizers.hyper) hash_contraction_b() (in module cotengra.hyperoptimizers.hyper) hash_prepare_optimize() (in module cotengra.interface) hash_query() (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer method) (cotengra.ReusableHyperOptimizer method) hash_to_color() (in module cotengra.schematic) hash_to_nvalues() (in module cotengra.schematic) hyper_optimize() (in module cotengra) HyperCompressedOptimizer (class in cotengra) (class in cotengra.hyperoptimizers.hyper) HyperGraph (class in cotengra) (class in cotengra.hypergraph) hypergraph_compute_plot_info_G() (in module cotengra.plot) HyperGraphRust (in module cotengra.hypergraph) HyperMultiOptimizer (class in cotengra) (class in cotengra.hyperoptimizers.hyper) HyperOptimizer (class in cotengra) (class in cotengra.hyperoptimizers.hyper) I identity() (in module cotengra.interface) IDX_FLOPS (in module cotengra.slicer) IDX_INVOLVED (in module cotengra.slicer) IDX_LEGS (in module cotengra.slicer) IDX_SIZE (in module cotengra.slicer) igraph_subgraph_find_membership() (in module cotengra.pathfinders.path_igraph) igraph_to_tree (in module cotengra.pathfinders.path_igraph) ind (cotengra.core.SliceInfo attribute) info (cotengra.ContractionTree attribute) (cotengra.ContractionTreeMulti attribute) (cotengra.core.ContractionTree attribute) (cotengra.core.ContractionTreeMulti attribute) (cotengra.core_multi.ContractionTreeMulti attribute) inner (cotengra.core.SliceInfo attribute) is_complete() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) is_deadend() (cotengra.experimental.path_compressed_mcts.MCTS method) is_initialized() (cotengra.parallel.CachedProcessPoolExecutor method) (cotengra.parallel.CachedThreadPoolExecutor method) is_simplifiable() (in module cotengra.pathfinders.path_basic) is_ssa_path() (in module cotengra.pathfinders.path_basic) J jitter() (in module cotengra.core) jitter_color() (in module cotengra.schematic) jitter_dict() (in module cotengra.core) K kahypar_subgraph_find_membership() (in module cotengra.pathfinders.path_kahypar) kahypar_to_tree (in module cotengra.pathfinders.path_kahypar) L label_ax() (cotengra.schematic.Drawing method) label_fig() (cotengra.schematic.Drawing method) labels_partition() (in module cotengra.pathfinders.path_labels) labels_to_tree (in module cotengra.pathfinders.path_labels) last_opt (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer property) (cotengra.ReusableHyperOptimizer property) layout_pygraphviz() (in module cotengra.plot) legs_union() (in module cotengra.core) legs_without() (in module cotengra.core) LimitObjective (class in cotengra.scoring) line() (cotengra.schematic.Drawing method) line_offset() (cotengra.schematic.Drawing method) linear_to_ssa() (in module cotengra.pathfinders.path_basic) LineGraph (class in cotengra.hypergraph) linspace_generator() (in module cotengra.pathfinders.path_simulated_annealing) list_hyper_functions() (in module cotengra) (in module cotengra.hyperoptimizers.hyper) M make_contractor() (in module cotengra.contract) make_getter() (in module cotengra.hyperoptimizers.hyper_optuna) make_hashable() (in module cotengra.hyperoptimizers.hyper) make_retriever() (in module cotengra.hyperoptimizers.hyper_optuna) map() (cotengra.parallel.RayExecutor method) marker() (cotengra.schematic.Drawing method) massage_pos() (in module cotengra.plot) max_size (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) max_size() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) max_size_compressed() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) max_size_exact (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) maybe_leave_pool() (in module cotengra.parallel) maybe_rejoin_pool() (in module cotengra.parallel) maybe_update_defaults() (cotengra.GreedyOptimizer method) (cotengra.OptimalOptimizer method) (cotengra.pathfinders.path_basic.GreedyOptimizer method) (cotengra.pathfinders.path_basic.OptimalOptimizer method) (cotengra.pathfinders.path_basic.RandomGreedyOptimizer method) (cotengra.RandomGreedyOptimizer method) MCTS (class in cotengra.experimental.path_compressed_mcts) mean() (in module cotengra.schematic) minimize (cotengra.HyperOptimizer property) (cotengra.hyperoptimizers.hyper.HyperOptimizer property) MiniTree (class in cotengra.pathfinders.path_compressed) mod_sat() (in module cotengra.schematic) module cotengra cotengra._version cotengra.contract cotengra.core cotengra.core_multi cotengra.experimental cotengra.experimental.path_compressed_branchbound cotengra.experimental.path_compressed_mcts cotengra.hypergraph cotengra.hyperoptimizers cotengra.hyperoptimizers.hyper cotengra.hyperoptimizers.hyper_baytune cotengra.hyperoptimizers.hyper_choco cotengra.hyperoptimizers.hyper_nevergrad cotengra.hyperoptimizers.hyper_optuna cotengra.hyperoptimizers.hyper_random cotengra.hyperoptimizers.hyper_skopt cotengra.interface cotengra.oe cotengra.parallel cotengra.pathfinders cotengra.pathfinders.path_basic cotengra.pathfinders.path_compressed cotengra.pathfinders.path_compressed_greedy cotengra.pathfinders.path_flowcutter cotengra.pathfinders.path_greedy cotengra.pathfinders.path_igraph cotengra.pathfinders.path_kahypar cotengra.pathfinders.path_labels cotengra.pathfinders.path_quickbb cotengra.pathfinders.path_simulated_annealing cotengra.pathfinders.treedecomp cotengra.plot cotengra.presets cotengra.schematic cotengra.scoring cotengra.slicer cotengra.utils multicontraction (cotengra.HyperCompressedOptimizer attribute) (cotengra.HyperMultiOptimizer attribute) (cotengra.HyperOptimizer attribute) (cotengra.hyperoptimizers.hyper.HyperCompressedOptimizer attribute) (cotengra.hyperoptimizers.hyper.HyperMultiOptimizer attribute) (cotengra.hyperoptimizers.hyper.HyperOptimizer attribute) MultiObjective (class in cotengra.scoring) MultiObjectiveDense (class in cotengra.scoring) MultiObjectiveLinear (class in cotengra.scoring) MultiObjectiveUniform (class in cotengra.scoring) N nchunks (cotengra.ContractionTree property) (cotengra.core.ContractionTree property) neighbor_edges() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) neighborhood_compress_cost() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) neighborhood_size() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) neighbors() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) (cotengra.pathfinders.path_basic.ContractionProcessor method) NEUTRAL_STYLE (in module cotengra.plot) nevergrad_get_setting() (in module cotengra.hyperoptimizers.hyper_nevergrad) nevergrad_init_optimizers() (in module cotengra.hyperoptimizers.hyper_nevergrad) nevergrad_report_result() (in module cotengra.hyperoptimizers.hyper_nevergrad) next() (cotengra.pathfinders.path_compressed.Node method) next_node() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) Node (class in cotengra.experimental.path_compressed_mcts) (class in cotengra.pathfinders.path_compressed) node_size() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) node_to_terms() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) nodes (cotengra.HyperGraph attribute) (cotengra.hypergraph.HyperGraph attribute) normalize_input() (in module cotengra.interface) nslices (cotengra.ContractionTree property) (cotengra.core.ContractionTree property) num_edges (cotengra.HyperGraph attribute) (cotengra.HyperGraph property) (cotengra.hypergraph.HyperGraph attribute) (cotengra.hypergraph.HyperGraph property) num_nodes (cotengra.HyperGraph attribute) (cotengra.HyperGraph property) (cotengra.hypergraph.HyperGraph attribute) (cotengra.hypergraph.HyperGraph property) O Objective (class in cotengra.scoring) oe_to_igraph() (in module cotengra.pathfinders.path_igraph) opt_einsum_installed (in module cotengra.oe) optimal_optimize (in module cotengra) (in module cotengra.presets) optimal_outer_optimize (in module cotengra) (in module cotengra.presets) OptimalOptimizer (class in cotengra) (class in cotengra.pathfinders.path_basic) optimize_flowcutter() (in module cotengra) (in module cotengra.pathfinders.path_flowcutter) optimize_greedy() (cotengra.pathfinders.path_basic.ContractionProcessor method) (in module cotengra.pathfinders.path_basic) optimize_optimal() (cotengra.pathfinders.path_basic.ContractionProcessor method) (in module cotengra.pathfinders.path_basic) optimize_optimal_connected() (cotengra.pathfinders.path_basic.ContractionProcessor method) optimize_quickbb() (in module cotengra) (in module cotengra.pathfinders.path_quickbb) optimize_random_greedy_track_flops() (in module cotengra.pathfinders.path_basic) optimize_remaining_by_size() (cotengra.pathfinders.path_basic.ContractionProcessor method) optimize_simplify() (in module cotengra.pathfinders.path_basic) optimize_window() (cotengra.pathfinders.path_compressed.WindowedOptimizer method) optuna_get_setting() (in module cotengra.hyperoptimizers.hyper_optuna) optuna_init_optimizers() (in module cotengra.hyperoptimizers.hyper_optuna) optuna_report_result() (in module cotengra.hyperoptimizers.hyper_optuna) output_nodes() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) overhead (cotengra.slicer.ContractionCosts property) P parallel (cotengra.HyperOptimizer property) (cotengra.hyperoptimizers.hyper.HyperOptimizer property) parallel_temper (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) parallel_temper_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) parallel_temper_tree() (in module cotengra.pathfinders.path_simulated_annealing) parse_minimize() (in module cotengra.scoring) parse_minimize_for_optimal() (in module cotengra.pathfinders.path_basic) parse_parallel_arg() (in module cotengra.parallel) parse_style_preset() (in module cotengra.schematic) PartitionTreeBuilder (class in cotengra.core) patch() (cotengra.schematic.Drawing method) patch_around() (cotengra.schematic.Drawing method) patch_around_circles() (cotengra.schematic.Drawing method) path (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) (cotengra.experimental.path_compressed_branchbound.CompressedExhaustive property) (cotengra.experimental.path_compressed_mcts.MCTS property) (cotengra.HyperOptimizer property) (cotengra.hyperoptimizers.hyper.HyperOptimizer property) path_surface (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) peak_size (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) peak_size() (cotengra.ContractionTree method) (cotengra.ContractionTreeMulti method) (cotengra.core.ContractionTree method) (cotengra.core_multi.ContractionTreeMulti method) peak_size_compressed() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) peak_size_exact (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) plot (cotengra.HyperGraph attribute) (cotengra.hypergraph.HyperGraph attribute) plot_circuit (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) plot_contractions (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) plot_contractions() (in module cotengra) (in module cotengra.plot) plot_contractions_alt (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) plot_contractions_alt() (in module cotengra) (in module cotengra.plot) plot_flat (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) plot_hypergraph() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) (in module cotengra.plot) plot_ring (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) plot_rubberband (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) plot_scatter (cotengra.HyperOptimizer attribute) (cotengra.hyperoptimizers.hyper.HyperOptimizer attribute) plot_scatter() (in module cotengra) (in module cotengra.plot) plot_scatter_alt (cotengra.HyperOptimizer attribute) (cotengra.hyperoptimizers.hyper.HyperOptimizer attribute) plot_scatter_alt() (in module cotengra) (in module cotengra.plot) plot_size_footprint() (cotengra.pathfinders.path_compressed.WindowedOptimizer method) plot_slicings (cotengra.SliceFinder attribute) (cotengra.slicer.SliceFinder attribute) plot_slicings() (in module cotengra) (in module cotengra.plot) plot_slicings_alt (cotengra.SliceFinder attribute) (cotengra.slicer.SliceFinder attribute) plot_slicings_alt() (in module cotengra) (in module cotengra.plot) plot_span (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) plot_tent (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) plot_tree() (in module cotengra) (in module cotengra.plot) plot_tree_circuit() (in module cotengra.plot) plot_tree_flat() (in module cotengra.plot) plot_tree_ring() (in module cotengra) (in module cotengra.plot) plot_tree_rubberband() (in module cotengra.plot) plot_tree_span() (in module cotengra) (in module cotengra.plot) plot_tree_tent() (in module cotengra) (in module cotengra.plot) plot_trials (cotengra.HyperOptimizer attribute) (cotengra.hyperoptimizers.hyper.HyperOptimizer attribute) plot_trials() (in module cotengra) (in module cotengra.plot) plot_trials_alt (cotengra.HyperOptimizer attribute) (cotengra.hyperoptimizers.hyper.HyperOptimizer attribute) plot_trials_alt() (in module cotengra) (in module cotengra.plot) pop_fact() (in module cotengra.pathfinders.path_labels) pop_node() (cotengra.pathfinders.path_basic.ContractionProcessor method) popcount() (in module cotengra.hypergraph) preset_to_optimizer() (in module cotengra.interface) print_contractions() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) print_current_terms() (cotengra.pathfinders.path_basic.ContractionProcessor method) print_trials() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) ProcessPoolHandler (in module cotengra.parallel) progress_description() (in module cotengra.hyperoptimizers.hyper) project (cotengra.core.SliceInfo attribute) Q QuasiRandOptimizer (in module cotengra) QuickBBOptimizer (class in cotengra) (class in cotengra.pathfinders.path_quickbb) R random_get_setting() (in module cotengra.hyperoptimizers.hyper_random) random_init_optimizers() (in module cotengra.hyperoptimizers.hyper_random) random_report_result() (in module cotengra.hyperoptimizers.hyper_random) RandomGreedyOptimizer (class in cotengra) (class in cotengra.pathfinders.path_basic) RandomSampler (class in cotengra.hyperoptimizers.hyper_random) RandomSpace (class in cotengra.hyperoptimizers.hyper_random) RayExecutor (class in cotengra.parallel) RayFuture (class in cotengra.parallel) ReconfTrialFn (class in cotengra.hyperoptimizers.hyper) refine() (cotengra.experimental.path_compressed_branchbound.CompressedTreeRefiner method) (cotengra.pathfinders.path_compressed.WindowedOptimizer method) register_hyper_function() (in module cotengra.hyperoptimizers.hyper) register_hyper_optlib() (in module cotengra.hyperoptimizers.hyper) register_preset() (in module cotengra) (in module cotengra.interface) regular_polygon() (cotengra.schematic.Drawing method) remove() (cotengra.slicer.ContractionCosts method) remove_edge() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) remove_ind() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) remove_ind_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) remove_ix() (cotengra.pathfinders.path_basic.ContractionProcessor method) remove_node() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) reorder_contractions_for_peak_est() (cotengra.ContractionTreeMulti method) (cotengra.core_multi.ContractionTreeMulti method) reorder_sliced_inds() (cotengra.ContractionTreeMulti method) (cotengra.core_multi.ContractionTreeMulti method) reset_contraction_indices() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) resistance_centrality() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) restore_ind() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) restore_ind_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) result() (cotengra.parallel.RayFuture method) ReusableHyperCompressedOptimizer (class in cotengra) (class in cotengra.hyperoptimizers.hyper) ReusableHyperOptimizer (class in cotengra) (class in cotengra.hyperoptimizers.hyper) rotate() (in module cotengra.plot) run() (cotengra.experimental.path_compressed_branchbound.CompressedExhaustive method) (cotengra.experimental.path_compressed_mcts.MCTS method) run_flowcutter() (cotengra.FlowCutterOptimizer method) (cotengra.pathfinders.path_flowcutter.FlowCutterOptimizer method) run_quickbb() (cotengra.pathfinders.path_quickbb.QuickBBOptimizer method) (cotengra.QuickBBOptimizer method) S sample() (cotengra.hyperoptimizers.hyper_random.RandomSpace method) sample_bool() (in module cotengra.hyperoptimizers.hyper_random) sample_int() (in module cotengra.hyperoptimizers.hyper_random) sample_loguniform() (in module cotengra.hyperoptimizers.hyper_random) sample_option() (in module cotengra.hyperoptimizers.hyper_random) sample_uniform() (in module cotengra.hyperoptimizers.hyper_random) scatter() (cotengra.parallel.RayExecutor method) (in module cotengra.parallel) score (cotengra.scoring.CompressedStatsTracker property) (cotengra.scoring.CompressedStatsTrackerCombo property) (cotengra.scoring.CompressedStatsTrackerFlops property) (cotengra.scoring.CompressedStatsTrackerPeak property) (cotengra.scoring.CompressedStatsTrackerSize property) (cotengra.scoring.CompressedStatsTrackerWrite property) score_local() (cotengra.scoring.ComboObjective method) (cotengra.scoring.ExactObjective method) (cotengra.scoring.FlopsObjective method) (cotengra.scoring.LimitObjective method) (cotengra.scoring.SizeObjective method) (cotengra.scoring.WriteObjective method) score_matcher (in module cotengra.scoring) score_slice_index() (cotengra.scoring.ComboObjective method) (cotengra.scoring.ExactObjective method) (cotengra.scoring.FlopsObjective method) (cotengra.scoring.LimitObjective method) (cotengra.scoring.SizeObjective method) (cotengra.scoring.WriteObjective method) search() (cotengra.AutoOptimizer method) (cotengra.experimental.path_compressed_branchbound.CompressedExhaustive method) (cotengra.experimental.path_compressed_mcts.MCTS method) (cotengra.GreedyOptimizer method) (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer method) (cotengra.OptimalOptimizer method) (cotengra.pathfinders.path_basic.GreedyOptimizer method) (cotengra.pathfinders.path_basic.OptimalOptimizer method) (cotengra.pathfinders.path_basic.RandomGreedyOptimizer method) (cotengra.pathfinders.path_compressed_greedy.GreedyCompressed method) (cotengra.pathfinders.path_compressed_greedy.GreedySpan method) (cotengra.presets.AutoOptimizer method) (cotengra.RandomGreedyOptimizer method) (cotengra.ReusableHyperOptimizer method) (cotengra.SliceFinder method) (cotengra.slicer.SliceFinder method) separate() (in module cotengra.core) set_coloring_seed() (in module cotengra.schematic) set_default_implementation() (in module cotengra.contract) set_default_objective() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) set_numconfigs() (cotengra.core.ContractionTreeMulti method) set_parallel_backend() (in module cotengra.parallel) set_state_from() (cotengra.ContractionTree method) (cotengra.ContractionTreeMulti method) (cotengra.core.ContractionTree method) (cotengra.core_multi.ContractionTreeMulti method) set_surface_order (cotengra.hyperoptimizers.hyper.ReusableHyperCompressedOptimizer attribute) (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer attribute) (cotengra.ReusableHyperCompressedOptimizer attribute) (cotengra.ReusableHyperOptimizer attribute) set_surface_order_from_path() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) set_varmults() (cotengra.core.ContractionTreeMulti method) setup() (cotengra.contract.CuQuantumContractor method) (cotengra.experimental.path_compressed_branchbound.CompressedExhaustive method) (cotengra.experimental.path_compressed_mcts.MCTS method) (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) shape() (cotengra.schematic.Drawing method) should_nest() (in module cotengra.parallel) show_and_close() (in module cotengra.plot) shutdown() (cotengra.parallel.CachedProcessPoolExecutor method) (cotengra.parallel.CachedThreadPoolExecutor method) (cotengra.parallel.RayExecutor method) simple_centrality() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) simple_closeness() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) simple_distance() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) simplify() (cotengra.pathfinders.path_basic.ContractionProcessor method) simplify_batch() (cotengra.pathfinders.path_basic.ContractionProcessor method) simplify_hadamard() (cotengra.pathfinders.path_basic.ContractionProcessor method) simplify_scalars() (cotengra.pathfinders.path_basic.ContractionProcessor method) simplify_single_terms() (cotengra.pathfinders.path_basic.ContractionProcessor method) simulate_node() (cotengra.experimental.path_compressed_mcts.MCTS method) simulate_optimized() (cotengra.experimental.path_compressed_mcts.MCTS method) simulated_anneal (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) simulated_anneal_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) simulated_anneal_tree() (in module cotengra.pathfinders.path_simulated_annealing) SimulatedAnnealingTrialFn (class in cotengra.hyperoptimizers.hyper) size (cotengra.core.SliceInfo attribute) (cotengra.slicer.ContractionCosts property) SizeObjective (class in cotengra.scoring) skopt_get_setting() (in module cotengra.hyperoptimizers.hyper_skopt) skopt_init_optimizers() (in module cotengra.hyperoptimizers.hyper_skopt) skopt_report_result() (in module cotengra.hyperoptimizers.hyper_skopt) slice() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) slice_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) slice_and_reconfigure() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) slice_and_reconfigure_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) slice_and_reconfigure_forest() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) slice_and_reconfigure_forest_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) slice_arrays() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) slice_key() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) sliced_range (cotengra.core.SliceInfo property) SlicedReconfTrialFn (class in cotengra.hyperoptimizers.hyper) SlicedTrialFn (class in cotengra.hyperoptimizers.hyper) SliceFinder (class in cotengra) (class in cotengra.slicer) slicefinder_to_df() (in module cotengra.plot) SliceInfo (class in cotengra.core) sort_contraction_indices() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) sortedtuple() (in module cotengra.hyperoptimizers.hyper) span() (in module cotengra.plot) ssa_greedy_optimize (in module cotengra.pathfinders.path_greedy) ssa_path (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) (cotengra.experimental.path_compressed_branchbound.CompressedExhaustive property) (cotengra.experimental.path_compressed_mcts.MCTS property) ssa_path() (cotengra.GreedyOptimizer method) (cotengra.OptimalOptimizer method) (cotengra.pathfinders.path_basic.GreedyOptimizer method) (cotengra.pathfinders.path_basic.OptimalOptimizer method) (cotengra.pathfinders.path_basic.RandomGreedyOptimizer method) (cotengra.RandomGreedyOptimizer method) ssa_path_surface (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) ssa_path_to_bit_path() (in module cotengra.pathfinders.path_compressed) ssa_to_linear() (in module cotengra.pathfinders.path_basic) subgraphs() (cotengra.pathfinders.path_basic.ContractionProcessor method) submit() (cotengra.parallel.RayExecutor method) (in module cotengra.parallel) suboptimizer (cotengra.hyperoptimizers.hyper.ReusableHyperCompressedOptimizer attribute) (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer attribute) (cotengra.ReusableHyperCompressedOptimizer attribute) (cotengra.ReusableHyperOptimizer attribute) subtree_reconfigure() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) subtree_reconfigure_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) subtree_reconfigure_forest() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) subtree_reconfigure_forest_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) surface_order() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) T td_str_to_tree_decomposition() (in module cotengra.pathfinders.treedecomp) td_to_eo() (in module cotengra.pathfinders.treedecomp) tensordot() (in module cotengra.contract) text() (cotengra.schematic.Drawing method) text_between() (cotengra.schematic.Drawing method) ThreadPoolHandler (in module cotengra.parallel) to_cnf_file() (cotengra.hypergraph.LineGraph method) to_cnf_str() (cotengra.hypergraph.LineGraph method) to_df() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) to_dfs_parametrized() (cotengra.HyperOptimizer method) (cotengra.hyperoptimizers.hyper.HyperOptimizer method) to_gr_file() (cotengra.hypergraph.LineGraph method) to_gr_str() (cotengra.hypergraph.LineGraph method) to_networkx() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) to_sparse() (in module cotengra.pathfinders.path_kahypar) total_cost (cotengra.ContractionTree attribute) (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTree attribute) (cotengra.core.ContractionTreeCompressed attribute) total_cost_compressed (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) total_cost_exact (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) total_flops (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) (cotengra.slicer.ContractionCosts property) total_flops() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) total_flops_compressed() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) total_flops_exact (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) total_node_size() (cotengra.HyperGraph method) (cotengra.hypergraph.HyperGraph method) total_write (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) total_write() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) total_write_compressed() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) total_write_exact (cotengra.ContractionTreeCompressed attribute) (cotengra.core.ContractionTreeCompressed attribute) tracker (cotengra.pathfinders.path_compressed.WindowedOptimizer property) traverse() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) tree (cotengra.HyperOptimizer property) (cotengra.hyperoptimizers.hyper.HyperOptimizer property) tree_to_df() (in module cotengra.plot) tree_to_networkx() (in module cotengra.plot) TreeDecomposition (class in cotengra.pathfinders.treedecomp) trial() (cotengra.SliceFinder method) (cotengra.slicer.SliceFinder method) trial_flowcutter() (in module cotengra.pathfinders.path_flowcutter) trial_fn() (cotengra.core.PartitionTreeBuilder method) trial_fn_agglom() (cotengra.core.PartitionTreeBuilder method) trial_greedy() (in module cotengra.pathfinders.path_greedy) trial_greedy_compressed() (in module cotengra.pathfinders.path_compressed_greedy) trial_greedy_span() (in module cotengra.pathfinders.path_compressed_greedy) trial_igraph_dendrogram() (in module cotengra.pathfinders.path_igraph) trial_igraph_partition (in module cotengra.pathfinders.path_igraph) trial_quickbb() (in module cotengra.pathfinders.path_quickbb) trial_spinglass() (in module cotengra.pathfinders.path_igraph) TrialConvertTree (class in cotengra.hyperoptimizers.hyper) TrialSetObjective (class in cotengra.hyperoptimizers.hyper) TrialTreeMulti (class in cotengra.hyperoptimizers.hyper) TYPE_CHECKING (in module cotengra._version) U UniformOptimizer (in module cotengra) union_it() (in module cotengra.core) unslice_all() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) unslice_all_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) unslice_rand() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) unslice_rand_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) update() (cotengra.experimental.path_compressed_mcts.Node method) update_from_tree() (cotengra.hyperoptimizers.hyper.ReusableHyperOptimizer method) (cotengra.ReusableHyperOptimizer method) update_post_compress() (cotengra.scoring.CompressedStatsTracker method) update_post_contract() (cotengra.scoring.CompressedStatsTracker method) update_post_step() (cotengra.scoring.CompressedStatsTracker method) update_pre_compress() (cotengra.scoring.CompressedStatsTracker method) update_pre_contract() (cotengra.scoring.CompressedStatsTracker method) update_pre_step() (cotengra.scoring.CompressedStatsTracker method) update_score() (cotengra.scoring.CompressedStatsTracker method) use_neutral_style() (in module cotengra.plot) V Variadic (class in cotengra.interface) version (in module cotengra._version) VERSION_TUPLE (in module cotengra._version) version_tuple (in module cotengra._version) Via (class in cotengra.interface) W wedge() (cotengra.schematic.Drawing method) windowed_reconfigure() (cotengra.ContractionTree method) (cotengra.core.ContractionTree method) windowed_reconfigure_ (cotengra.ContractionTree attribute) (cotengra.core.ContractionTree attribute) WindowedOptimizer (class in cotengra.pathfinders.path_compressed) WithBackend (class in cotengra.interface) WriteObjective (class in cotengra.scoring)