Skip to main content

Aleph - 0.33.0

✨ New Features

  • Added Figure.visual_map(...) options in the Plotting module.
  • Automatically add a default visual_map when none specified when a figure has a heatmap.
  • MPS and MPO operator "+" perform the exact addition, with output bond dimension equal to the sum of that of each tensor network.
    • Repeated addition cause a linear increase in bond dimension.
    • use .compress to control the growth for MPS.
  • MPS and MPO operator "*" perform the exact operator-state and operator-operator mulitplication. Output bond dimension is the product of that of each tensor network.
    • Repeated multiplication causes an exponential increase in bond dimension.
    • use .compress to control the growth for MPS.
  • explicit management of boundary condition for MPS and MPO. Important to set it correctly for full compression.
    • .open_boundary() to open the boundary condition, .periodic_boundary() for periodic boundary condition.
    • .set_boundary_like(mps | mpo) to set the boundary condition like another TN.
    • DMRG only works with open boundary condition MPS and MPO. 

🐛 Fixes

  • Fixed LSP semantic tokenization of interpolated strings where the implicit string(...) call could mark the start of a literal as a function.
  • Added correct semantic token locations inside ${...} interpolation spans.