QuantumBFS / ZXCalculus.jl

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

Fix the bug that will cause infinite loops #62

Closed ChenZhao44 closed 3 years ago

ChenZhao44 commented 3 years ago

It used the wrong variable name. And it will make it unextractable for identity circuit. Fortunately, this bug didn't affect other circuits.

codecov[bot] commented 3 years ago

Codecov Report

Merging #62 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #62   +/-   ##
=======================================
  Coverage   89.26%   89.26%           
=======================================
  Files          10       10           
  Lines        1360     1360           
=======================================
  Hits         1214     1214           
  Misses        146      146           
Impacted Files Coverage Δ
src/circuit_extraction.jl 76.28% <100.00%> (ø)

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 7cc2b1c...fc06088. Read the comment docs.