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

Removes unnecessary function #194

Closed nquesada closed 4 years ago

nquesada commented 4 years ago

Removes unnecessary function normal_ordered_complex_cov which can be implemented fully in terms of Qmat and Xmat.

codecov[bot] commented 4 years ago

Codecov Report

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

@@            Coverage Diff            @@
##            master      #194   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines         1075      1065   -10     
=========================================
- Hits          1075      1065   -10     
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 0213fc8...6d2f28d. Read the comment docs.

nquesada commented 4 years ago

Correct, normal_ordered_complex_cov was only used in normal_ordered_expectation