boschmitt / tweedledum

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

Circuit cutter #142

Closed boschmitt closed 3 years ago

boschmitt commented 3 years ago

Description

Add an analysis pass to cut the circuits into sub circuits of a given width

Suggested changelog entry:

circuit cutter
codecov-commenter commented 3 years ago

Codecov Report

Merging #142 (2a147c5) into master (d90cad5) will decrease coverage by 29.20%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #142       +/-   ##
===========================================
- Coverage   73.47%   44.26%   -29.21%     
===========================================
  Files          98       42       -56     
  Lines        5183     1186     -3997     
===========================================
- Hits         3808      525     -3283     
+ Misses       1375      661      -714     
Impacted Files Coverage Δ
include/tweedledum/Target/Mapping.h 0.00% <0.00%> (-100.00%) :arrow_down:
include/tweedledum/Operators/Standard/H.h 0.00% <0.00%> (-100.00%) :arrow_down:
include/tweedledum/Operators/Standard/X.h 0.00% <0.00%> (-100.00%) :arrow_down:
include/tweedledum/Operators/Standard/Y.h 0.00% <0.00%> (-100.00%) :arrow_down:
include/tweedledum/Operators/Standard/Swap.h 0.00% <0.00%> (-100.00%) :arrow_down:
include/tweedledum/Operators/Extension/Parity.h 0.00% <0.00%> (-100.00%) :arrow_down:
...lude/tweedledum/Passes/Utility/shallow_duplicate.h 0.00% <0.00%> (-100.00%) :arrow_down:
include/tweedledum/IR/Qubit.h 7.69% <0.00%> (-92.31%) :arrow_down:
include/tweedledum/Operators/Extension/Unitary.h 0.00% <0.00%> (-90.08%) :arrow_down:
include/tweedledum/Operators/Standard/Rx.h 0.00% <0.00%> (-86.67%) :arrow_down:
... and 87 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 723e787...2a147c5. Read the comment docs.