Skip to content

Release v0.6.0

Compare
Choose a tag to compare
@ziofil ziofil released this 14 Oct 20:04
· 6 commits to main since this release
4d47e8e

Release 0.6.0

New features

  • Added a new method to discretize Wigner functions that revolves Clenshaw summations. This method is expected to be fast and
    reliable for systems with high number of excitations, for which the pre-existing iterative method is known to be unstable. Users
    can select their preferred methods by setting the value of Settings.DISCRETIZATION_METHOD to either interactive (default) or
    clenshaw.
    (#280)

  • Added the PhaseNoise(phase_stdev) gate (non-Gaussian). Output is a mixed state in Fock representation.
    It is not based on a choi operator, but on a nonlinear transformation of the density matrix.
    (#275)

Breaking changes

  • The value of hbar can no longer be specified outside of Settings. All the classes and
    methods that allowed specifying its value as an input now retrieve it directly from Settings.
    (#278)

  • Certain attributes of Settings can no longer be changed after their value is queried for the
    first time.
    (#278)

Improvements

  • Tensorflow bumped to v2.14 with poetry installation working out of the box on Linux and Mac.
    (#281)

Bug fixes

  • Fixed a bug about the variable names in functions (apply_kraus_to_ket, apply_kraus_to_dm, apply_choi_to_ket, apply_choi_to_dm).
    (#271)

  • Fixed a bug that was leading to an error when computing the Choi representation of a unitary transformation.
    (#283)

  • Fixed the internal function to calculate ABC of Bargmann representation (now corresponds to the literature) and other fixes to get the correct Fock tensor.
    (#255)

Documentation

Contributors

@ziofil , @SamFerracin , @sylviemonet , @zeyueN