Skip to content

Version 0.11.0

Compare
Choose a tag to compare
@thisac thisac released this 02 Mar 19:15
· 410 commits to master since this release
b53119f

New features

  • Introduces the renormalized hermite polynomials. These new polynomials improve the speed and accuracy of thewalrus.quantum.state_vector and thewalrus.quantum.density_matrix and also hafnian_batched and hermite_multimensional when called with the optional argument renorm=True. #108

  • Adds functions for calculating the covariance for the photon number distribution of a Gaussian state including a function for the full covariance matrix. #137

  • Adds support for Python 3.8. #138

Improvements

  • Updates the reference that should be used when citing The Walrus. #102

  • Updates and improves the speed and accuracy of thewalrus.quantum.fock_tensor. #107

  • Add OpenMP support to the repeated moment hafnian code. #120

  • Improves speed of the functions in hermite_multidimensional.hpp. #123

  • Improves speed of the functions in thewalrus.fock_gradients by doing calls to optimized functions in hermite_multidimensional.hpp. #123

  • Further improves speed of the functions thewalrus.fock_gradients by writing explicit recursion relations for a given number of modes. #129

  • Adds the functions find_scaling_adjacency_matrix_torontonian and mean_number_of_clicks that allow to fix the mean number of clicks when doing threshold detection sampling and allow to calculate the mean of clicks generated by a scaled adjacency matrix. #136

Bug fixes

  • Corrects typos in the random number generation in the C++ unit tests. #118

  • Corrects typos in describing the repeated-moment algorithm of Kan in the documentation. #104

  • Removes paper.{md,pdf,bib} from the repository now that The Walrus paper is published in Journal of Open Source Software #106

  • Updates the S2gate to use the correct definition. #130

  • Corrects the issue with hbar taking a default value when calculating mu in the density matrix function #134

Contributors

This release contains contributions from (in alphabetical order):

Theodor Isacsson, Josh Izaac, Filippo Miatto, Nicolas Quesada, Trevor Vincent, Kieran Wilkinson