boschmitt / tweedledum

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

Code refactor and improve testing #152

Closed boschmitt closed 3 years ago

boschmitt commented 3 years ago

Description

This PR introduces various improvements to code and testing

codecov-commenter commented 3 years ago

Codecov Report

Merging #152 (48c3900) into master (fa3c8be) will decrease coverage by 0.45%. The diff coverage is 62.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
- Coverage   71.90%   71.44%   -0.46%     
==========================================
  Files          84       84              
  Lines        4285     4287       +2     
==========================================
- Hits         3081     3063      -18     
- Misses       1204     1224      +20     
Impacted Files Coverage Δ
include/tweedledum/IR/Cbit.h 0.00% <0.00%> (ø)
include/tweedledum/IR/Qubit.h 0.00% <ø> (-7.70%) :arrow_down:
include/tweedledum/IR/WireStorage.h 30.76% <ø> (ø)
include/tweedledum/Operators/Extension/Unitary.h 0.00% <ø> (ø)
...de/tweedledum/Passes/Mapping/Placer/RandomPlacer.h 100.00% <ø> (ø)
...lude/tweedledum/Passes/Utility/shallow_duplicate.h 0.00% <ø> (ø)
include/tweedledum/Target/Mapping.h 0.00% <ø> (ø)
include/tweedledum/IR/Circuit.h 33.33% <33.33%> (-23.01%) :arrow_down:
include/tweedledum/IR/Operator.h 45.88% <71.42%> (+4.41%) :arrow_up:
include/tweedledum/IR/Instruction.h 19.35% <85.71%> (-1.70%) :arrow_down:
... and 9 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 fa3c8be...48c3900. Read the comment docs.