QuantumBFS / Yao.jl

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

Remove YaoBase #364

Closed GiggleLiu closed 2 years ago

GiggleLiu commented 2 years ago

We need to remove YaoBase before polishing the documentation. Removing YaoBase makes it easier to push the test coverage.

API changes

  1. remove partial_tr implementations, only keep the API.
  2. addbits -> append_qudits.
codecov[bot] commented 2 years ago

Codecov Report

Merging #364 (0c418f0) into master (0540449) will increase coverage by 1.42%. The diff coverage is 85.16%.

@@            Coverage Diff             @@
##           master     #364      +/-   ##
==========================================
+ Coverage   85.51%   86.94%   +1.42%     
==========================================
  Files          78       73       -5     
  Lines        3797     3799       +2     
==========================================
+ Hits         3247     3303      +56     
+ Misses        550      496      -54     
Impacted Files Coverage Δ
lib/YaoAPI/src/registers.jl 0.00% <ø> (ø)
lib/YaoArrayRegister/src/ast_tools.jl 0.00% <ø> (ø)
lib/YaoArrayRegister/src/utils.jl 84.23% <ø> (-1.36%) :arrow_down:
lib/YaoBlocks/src/YaoBlocks.jl 100.00% <ø> (ø)
lib/YaoBlocks/src/autodiff/adjroutines.jl 49.09% <ø> (ø)
lib/YaoBlocks/src/autodiff/chainrules_patch.jl 83.33% <ø> (ø)
lib/YaoBlocks/src/composite/tag/cache.jl 60.25% <ø> (ø)
lib/YaoBlocks/src/composite/unitary_channel.jl 74.19% <ø> (ø)
lib/YaoBlocks/src/error.jl 58.33% <0.00%> (ø)
lib/YaoBlocks/src/primitive/const_gate_gen.jl 100.00% <ø> (ø)
... and 35 more

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 521247c...0c418f0. Read the comment docs.