QuantumBFS / ZXCalculus.jl

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

Circuit extraction with ancilla qubits #90

Closed ChenZhao44 closed 2 years ago

ChenZhao44 commented 2 years ago

Add function for extracting circuits from general ZX-diagrams. Also I move plots here from YaoPlots.

codecov[bot] commented 2 years ago

Codecov Report

Merging #90 (5735807) into master (625c96a) will increase coverage by 1.08%. The diff coverage is 96.70%.

:exclamation: Current head 5735807 differs from pull request most recent head c66cb09. Consider uploading reports for the commit c66cb09 to get more accurate results

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
+ Coverage   93.25%   94.34%   +1.08%     
==========================================
  Files          11       11              
  Lines        1927     2085     +158     
==========================================
+ Hits         1797     1967     +170     
+ Misses        130      118      -12     
Impacted Files Coverage Δ
src/zx_graph.jl 93.22% <75.00%> (-0.38%) :arrow_down:
src/circuit_extraction.jl 95.76% <96.81%> (+0.28%) :arrow_up:
src/ir.jl 91.77% <100.00%> (+2.53%) :arrow_up:
src/rules.jl 93.78% <100.00%> (+2.18%) :arrow_up:
src/simplify.jl 94.73% <100.00%> (+0.07%) :arrow_up:
src/zx_diagram.jl 96.84% <100.00%> (+0.06%) :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 625c96a...c66cb09. Read the comment docs.