QuantumBFS / Yao.jl

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

fix generic type #388

Closed GiggleLiu closed 2 years ago

GiggleLiu commented 2 years ago
  1. Add generic typed interface to EasyBuild circuits.
  2. Fix type change in getindex.
codecov[bot] commented 2 years ago

Codecov Report

Merging #388 (4e2bef0) into master (c073d7e) will decrease coverage by 0.00%. The diff coverage is 95.83%.

@@            Coverage Diff             @@
##           master     #388      +/-   ##
==========================================
- Coverage   88.72%   88.72%   -0.01%     
==========================================
  Files          73       73              
  Lines        4347     4355       +8     
==========================================
+ Hits         3857     3864       +7     
- Misses        490      491       +1     
Impacted Files Coverage Δ
src/EasyBuild/block_extension/FSimGate.jl 68.42% <0.00%> (-3.81%) :arrow_down:
src/EasyBuild/qft_circuit.jl 100.00% <ø> (ø)
lib/YaoBlocks/src/abstract_block.jl 88.77% <100.00%> (ø)
lib/YaoBlocks/src/composite/chain.jl 95.41% <100.00%> (ø)
lib/YaoBlocks/src/utils.jl 94.87% <100.00%> (+0.13%) :arrow_up:
src/EasyBuild/google53.jl 74.60% <100.00%> (+0.40%) :arrow_up:
src/EasyBuild/variational_circuit.jl 97.77% <100.00%> (+0.10%) :arrow_up:

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 c073d7e...4e2bef0. Read the comment docs.

Roger-luo commented 2 years ago

need to fix tests, rest looks good