Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release notes
This release brings significant improvements to MPSKit.jl, including enhanced compatibility with multifusion categories, refactored algorithms, and numerous bug fixes.
Key improvements include a complete IDMRG refactoring, introduction of new trait systems for geometry and operator types, and enhanced performance with reduced allocations.
Key Features
🎯 New Features
Multifusion Categories
Trait System for Dispatching
GeometryStyleandOperatorStyletraits for better type-based dispatching on finite/infinite geometries and operator types, improving code organization and extensibility (#352, #354)Examples and Documentation
🔧 Infrastructure Improvements
Algorithm Refactoring
IterativeSolverinterface, improving code maintainability and enabling better code sharing between IDMRG and IDMRG2 implementations (#348)_left_orthand_right_orthworkarounds in favor of new, cleaner orthogonalization algorithms (#373)Performance Optimization
changebonds(state, ::RandExpand)algorithm to sample spaces directly instead of performing truncated SVD, improving performance while maintaining mathematical equivalence (#335)Dependency Updates & Compatibility
LocalPreferences.tomlfile to ensure properTensorOperationsprecompilation on testing infrastructureUser Experience
showmethods to reflect new TensorKit printing conventions, providing clearer and more consistent output formatting (#341)🐛 Bug Fixes
Numerical Stability
NaNduring initialization due to1 / sqrt(iter)whereiter = 0, improving algorithm stability at the first iteration (#335)InfiniteMPOHamiltonianenvironments with low bond dimension and high Krylov dimension to be properly clamped, preventing numerical instabilities (#335)Correctness Issues
getpropertyfunction that could lead to incorrect behavior (#346)MPODerivativeOperator, ensuring correct tensor operations (#370)Minor Fixes
VUMPSSvdCutalgorithm name (#361)