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

Brute force samplers #152

Closed nquesada closed 4 years ago

nquesada commented 4 years ago

Adds a number of methods for calculating the photon number distributions.

codecov[bot] commented 4 years ago

Codecov Report

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

@@            Coverage Diff            @@
##            master      #152   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          887       924   +37     
=========================================
+ Hits           887       924   +37     
Impacted Files Coverage Δ
thewalrus/quantum.py 100.00% <100.00%> (ø)
thewalrus/samples.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 e4a1089...94a4884. Read the comment docs.