QuantumBFS / Yao.jl

Extensible, Efficient Quantum Algorithm Design for Humans.
https://yaoquantum.org
Other
918 stars 119 forks source link

support basic error channels #416

Closed Roger-luo closed 1 year ago

Roger-luo commented 2 years ago

moved DensityMatrix back to YaoArrayRegister to fix type piracy

codecov[bot] commented 2 years ago

Codecov Report

Merging #416 (0de2e05) into master (2006fd0) will decrease coverage by 0.05%. The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master     #416      +/-   ##
==========================================
- Coverage   89.41%   89.35%   -0.06%     
==========================================
  Files          73       74       +1     
  Lines        4476     4527      +51     
==========================================
+ Hits         4002     4045      +43     
- Misses        474      482       +8     
Impacted Files Coverage Δ
lib/YaoBlocks/src/YaoBlocks.jl 100.00% <ø> (ø)
lib/YaoBlocks/src/channel/unitary_channel.jl 100.00% <ø> (ø)
lib/YaoBlocks/src/composite/composite.jl 75.00% <ø> (ø)
lib/YaoArrayRegister/src/density_matrix.jl 93.02% <77.77%> (-5.37%) :arrow_down:
lib/YaoBlocks/src/channel/error.jl 100.00% <100.00%> (ø)
lib/YaoBlocks/src/autodiff/chainrules_patch.jl 82.57% <0.00%> (-0.76%) :arrow_down:

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 30ebeda...0de2e05. Read the comment docs.

GiggleLiu commented 2 years ago

It is a very nice feature to have in Yao, Good job!

jlbosse commented 1 year ago

This can be closed since #455 got merged