Skip to content

v0.7.0

Latest
Compare
Choose a tag to compare
@jcmgray jcmgray released this 07 Jan 23:44
· 2 commits to main since this release

Enhancements

  • Add cmaes as an optlib method, use it by default for 'auto' preset if available since ih has less overhead than optuna.
  • Add HyperOptimizer.plot_parameters_parallel for plotting the sampled parameter space of a hyper optimizer method in parallel coordinates.
  • Add ncon interface.
  • Add utils.save_to_json and utils.load_from_json for saving and loading contractions to/from json.
  • Add examples/benchmarks with various json benchmark contractions
  • Add utils.networkx_graph_to_equation for converting a networkx graph to cotengra style inputs, output and size_dict.
  • Add "max" as a valid minimize option for optimize_optimal (also added to cotengrust), which minimizes the single most expensive contraction (i.e. the cost scaling)
  • Add RandomOptimizer, a fully random optimizer for testing and initialization purposes. It can be used with optimize="random" but is not recommended for actual optimization.
  • Add PathOptimizer to top-level namespace.
  • ContractTreeCompressed.from_path: add the autocomplete option
  • Add option overwrite="improved" to reusable hyper optimizers, which always searches but only overwrites if the new tree is better, allowing easy incremental refining of a collection of trees.
  • einsum via bmm (implementation="cotengra") avoids using einsum for transposing inputs.
  • add example {ref}ex_extract_contraction doc

Bug fixes

Full Changelog: v0.6.2...v0.7.0