Skip to content

v3.4.2: Critical bugfix

Compare
Choose a tag to compare
@PhilipVinc PhilipVinc released this 08 May 19:48
· 377 commits to master since this release
b2287d3

GitHub commits.

This release fixes a critical bug affecting operators acting on non homogeneous hilbert spaces.

Internal Changes

  • Several deprecation warnings related to jax.experimental.loops being deprecated have been resolved by changing those calls to jax.lax.fori_loop. Jax should feel more tranquillo now. #1172

Bug Fixes

  • Several type promotion bugs that would end up promoting single-precision models to double-precision have been squashed. Those involved nk.operator.Ising and nk.operator.BoseHubbard#1180, nkx.TDVP #1186 and continuous-space samplers and operators #1187.
  • nk.operator.Ising, nk.operator.BoseHubbard and nk.operator.LocalLiouvillian now return connected samples with the same precision (dtype) as the input samples. This allows to preserve low precision along the computation when using those operators.#1180
  • nkx.TDVP now updates the expectation value displayed in the progress bar at every time step. #1182
  • Fixed bug #1192 that affected most operators (nk.operator.LocalOperator) constructed on non-homogeneous hilbert spaces. This bug was first introduced in version 3.3.4 and affects all subsequent versions until 3.4.2. #1193
  • It is now possible to add an operator and its lazy transpose/hermitian conjugate #1194