Skip to content

Version 0.12.0

Compare
Choose a tag to compare
@thisac thisac released this 31 Mar 19:20
· 318 commits to master since this release
3debdba

New features

  • Adds the ability to calculate the mean number of photons in a given mode of a Gaussian state. #148

  • Adds the ability to calculate the photon number distribution of a pure or mixed state using generate_probabilities. #152

  • Allows to update the photon number distribution when undergoing loss by using update_probabilities_with_loss. #152

  • Allows to update the photon number distribution when undergoing noise update_probabilities_with_noise. #153

  • Adds a brute force sampler photon_number_sampler that given a (multi-)mode photon number distribution generates photon number samples. #152

  • Adds the ability to perform the Autonne-Takagi decomposition of a complex-symmetric matrix using autonne from the symplectic module. #154

Improvements

  • Improves the efficiency of Hermite polynomial calculation in hermite_multidimensional.hpp. #141

  • Implements parallelization with Dask for sampling from the Hafnian/Torontonian of a Gaussian state. #145

Bug fixes

  • Corrects the issue with hbar taking a default value when calling state_vector, pure_state_amplitude, and density_matrix_element #149

Contributors

This release contains contributions from (in alphabetical order):

Theodor Isacsson, Nicolas Quesada, Kieran Wilkinson