Release of MidasCpp 2025.07.0

We are happy to announce the new MidasCpp 2025.07.0 release. Just follow the instruction in the manual or directly go to our GitLab page to clone the git repository or to download the source code.

Midas 2025.07.0

This is a special out-of-cycle feature release of MidasCpp.

New Features

  • A quantum phase estimation module with low-rank factorization of the Hamiltonian.
  • Output of two-mode densities have been implemented for the MCTDH and TD(M)VCC methods
  • The two-mode density for all WFs can be outputted in either TOML format or as a simple .dat file.

Source code changes

  • The "elementary operator" OpDef has been generalized to the n-mode case such that it can be used to calculate n-mode density tensors.
  • MIDASERROR will now end with a call to util::Unreachable(). Error number mode of MIDASERROR has been removed, so MIDASERROR will now either exit the program or throw an exception, which means that whatever comes after a MIDASERROR will never ever be called. Calling util::Unreachable has the effect of not needing to return dummy arguments from functions after a MIDASERROR is thrown.
  • MidasAssert renamed to MIDASASSERT.

Let us know if you encounter any problems.

social