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 55 forks source link

implements auto dtype detection #271

Closed ziofil closed 3 years ago

ziofil commented 3 years ago

numba methods for multidimensional hermite can now detect dtype automatically

codecov[bot] commented 3 years ago

Codecov Report

Merging #271 (11a580f) into master (0d4d5d3) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #271   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        21           
  Lines         1435      1439    +4     
=========================================
+ Hits          1435      1439    +4     
Impacted Files Coverage Δ
thewalrus/_hermite_multidimensional.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 0d4d5d3...11a580f. Read the comment docs.

josh146 commented 3 years ago

👀 ( ❤️ )

(I had no idea np.find_common_type existed!)