Skip to main content

Aleph - 0.25.0

🚀 Highlights

  • Random number generation and random distributions are now in Aleph.
  • Aleph now supports creating random matrices using user specified distributions. Additionally, the default interval for randomly generated matrices is [0,1][0,1] not [1,1][-1,1].
  • Native and binding-level exceptions now produce proper Aleph call-stack traces, making errors far easier to understand and debug.

✨ New Features

  • random function can be used to generate random numbers on the fly.
  • random_distribution factory can produce user specified distributions.
  • random_generator allows users to seed their own random number generators.
  • set_random and random_like can now take a Distribution specified by the user.
  • Add functionality to extract the reduced density matrix of a many-body state.
  • Add von Neumann and Rényi entropies functions.
  • Automatic call-stack capture for any std::exception escaping AST evaluation.
  • Consistent error formatting between native errors and script-level EvalError.
  • Real and Complex tensor now support .conjugate() and conjugated() methods for complex conjugation. Leave the tensors unchanged in the real case.

🛠 Improvements

  • Improved Library Reference: Operator types now appear consistently in the Types section with proper documentation, while constructors and internal operations are hidden from the Functions section.

🐛 Fixes

  • Improved numerical stability of DMRG with large number of sites.