boschmitt / tweedledum

C++17 Library for analysis, compilation/synthesis, and optimization of quantum circuits
MIT License
97 stars 35 forks source link

Update Device.h #155

Closed cyc124 closed 3 years ago

cyc124 commented 3 years ago

Description

Removed line: vertex_cost.at(vertex) = distance(root, vertex); Removing this line makes vertex_cost.at(vertex) the shortest distance between the 'vertex' and any vertex already in the tree

codecov-commenter commented 3 years ago

Codecov Report

Merging #155 (e2fbbf8) into master (7311dec) will decrease coverage by 0.07%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #155      +/-   ##
==========================================
- Coverage   73.17%   73.10%   -0.08%     
==========================================
  Files          86       86              
  Lines        4392     4391       -1     
==========================================
- Hits         3214     3210       -4     
- Misses       1178     1181       +3     
Impacted Files Coverage Δ
include/tweedledum/Target/Device.h 43.84% <ø> (-2.72%) :arrow_down:

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 7311dec...e2fbbf8. Read the comment docs.