QuantumBFS / Yao.jl

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

remove batch dimension #334

Closed GiggleLiu closed 2 years ago

GiggleLiu commented 2 years ago

Since Julia can handle constants better, we do not need the batch size as the type parameters any more.

codecov[bot] commented 2 years ago

Codecov Report

Merging #334 (a653c08) into master (fef45cf) will increase coverage by 0.01%. The diff coverage is 83.39%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #334      +/-   ##
==========================================
+ Coverage   79.54%   79.56%   +0.01%     
==========================================
  Files          79       78       -1     
  Lines        3691     3738      +47     
==========================================
+ Hits         2936     2974      +38     
- Misses        755      764       +9     
Impacted Files Coverage Δ
lib/YaoAPI/src/registers.jl 0.00% <ø> (ø)
lib/YaoBlocks/src/composite/subroutine.jl 63.33% <ø> (ø)
lib/YaoBlocks/src/primitive/measure.jl 82.85% <ø> (ø)
lib/YaoBase/src/abstract_register.jl 4.08% <16.66%> (-6.83%) :arrow_down:
lib/YaoArrayRegister/src/instruct.jl 84.29% <50.00%> (-3.02%) :arrow_down:
lib/YaoBlocks/src/autodiff/chainrules_patch.jl 82.45% <64.00%> (-5.40%) :arrow_down:
lib/YaoSym/src/symengine/register.jl 72.97% <68.18%> (-4.81%) :arrow_down:
lib/YaoArrayRegister/src/operations.jl 81.08% <79.41%> (+15.86%) :arrow_up:
lib/YaoArrayRegister/src/register.jl 87.69% <87.40%> (-2.38%) :arrow_down:
lib/YaoArrayRegister/src/density_matrix.jl 95.83% <100.00%> (+17.26%) :arrow_up:
... and 19 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 fef45cf...a653c08. Read the comment docs.