XanaduAI / thewalrus

A library for the calculation of hafnians, Hermite polynomials and Gaussian boson sampling.
https://the-walrus.readthedocs.io
Apache License 2.0
100 stars 56 forks source link

Update probabilities with noise #153

Closed nquesada closed 4 years ago

nquesada commented 4 years ago

Add the function update_probabilities_with_noise that does what the name says. It also adds tests and updates the changelog.

codecov[bot] commented 4 years ago

Codecov Report

Merging #153 into master will not change coverage by %. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #153   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          924       939   +15     
=========================================
+ Hits           924       939   +15     
Impacted Files Coverage Δ
thewalrus/quantum.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ffcccd2...d8804a9. Read the comment docs.