QuantumBFS / ZXCalculus.jl

An implementation of ZX-calculus in Julia
http://yaoquantum.org/ZXCalculus.jl/dev/
MIT License
48 stars 7 forks source link

Add scalar support #69

Closed ChenZhao44 closed 3 years ago

ChenZhao44 commented 3 years ago

Add support for recording scalars when rewriting ZX-diagrams

codecov[bot] commented 3 years ago

Codecov Report

Merging #69 (ce10a4b) into master (d3033c0) will decrease coverage by 3.85%. The diff coverage is 63.22%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
- Coverage   88.88%   85.03%   -3.86%     
==========================================
  Files          10       12       +2     
  Lines        1386     1617     +231     
==========================================
+ Hits         1232     1375     +143     
- Misses        154      242      +88     
Impacted Files Coverage Δ
src/ZXCalculus.jl 100.00% <ø> (ø)
src/rules.jl 89.73% <38.70%> (-6.40%) :arrow_down:
src/qcircuit.jl 73.47% <44.11%> (-0.31%) :arrow_down:
src/simplify.jl 78.26% <64.00%> (-16.98%) :arrow_down:
src/phase.jl 64.06% <64.06%> (ø)
src/circuit_extraction.jl 76.34% <69.73%> (+1.02%) :arrow_up:
src/zx_graph.jl 92.14% <89.47%> (-0.04%) :arrow_down:
src/scalar.jl 100.00% <100.00%> (ø)
src/zx_diagram.jl 94.55% <100.00%> (-2.61%) :arrow_down:
... and 6 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 c4b3c00...ce10a4b. Read the comment docs.