QuTiP 4.7.1
This is a bugfix release for QuTiP 4.7.X. In addition to the minor fixes listed below, the release adds builds for Python 3.11 and support for packaging 22.0.
Features
- Improve qutip import times by setting logger names explicitly. (#1980 by Pieter Eendebak)
Bug Fixes
- Change floquet_master_equation_rates(...) to use an adaptive number of time steps scaled by the number of sidebands, kmax. (#1961 by Christian Staufenbiel)
- Change fidelity(A, B) to use the reduced fidelity formula for pure states which is more numerically efficient and accurate. (#1964 by Pierre Guilmin)
- Change
brmesolve
to raise an exception when ode integration is not successful. (#1966 by Eric Giguère) - Backport fix for IPython helper Bloch.repr_svg from dev.major. Previously the print_figure function returned bytes, but since ipython/ipython#5452 (in 2014) it returns a Unicode string. This fix updates QuTiP's helper to match. (#1970 by Asier Galicia)
- Fix correlation for case where only the collapse operators are time dependent. (#1979 by Eric Giguère)
- Fix the hinton visualization method to plot the matrix instead of its transpose. (#2011 by Pierre Guilmin)
- Fix the hinton visualization method to take into account all the matrix coefficients to set the squares scale, instead of only the diagonal coefficients. (#2012 Pierre Guilmin)
- Fix parsing of package versions in setup.py to support packaging 22.0. (#2037 by Simon Cross)
- Add back .qu suffix to objects saved with qsave and loaded with qload. The suffix was accidentally removed in QuTiP 4.7.0. (#2038 by Simon Cross)
- Add a default max_step to processors. (#2040 by Boxi Li)
Documentation
- Add towncrier for managing the changelog. (#1927 by Trent Fridey)
- Update the version of numpy used to build documentation to 1.22.0. (#1940 via dependabot)
- Clarify returned objects from bloch_redfield_tensor(). (#1950 by Christian Staufenbiel)
- Update Floquet Markov solver docs. (#1958 by Christian Staufenbiel)
- Update the roadmap and ideas to show completed work as of August 2022. (#1967 by Simon Cross)
Miscellaneous
- Return TypeError instead of Exception for type error in sesolve argument. (#1942 by Pieter Eendebak)
- Add towncrier draft build of changelog to CI tests. (#1946 by Simon Cross)
- Add Python 3.11 to builds. (#2041 by Simon Cross)
- Simplify version parsing by using packaging.version.Version. (#2043 by Simon Cross)
- Update builds to use cibuildwheel 2.11, and to build with manylinux2014 on Python 3.8 and 3.9, since numpy and SciPy no longer support manylinux2010 on those versions of Python. (#2047 by Simon Cross)