Skip to content

Commit

Permalink
Exclude lines from gcovr for debug method
Browse files Browse the repository at this point in the history
  • Loading branch information
willsimmons1465 committed Apr 4, 2024
1 parent 62f8ca6 commit 0f309f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tket/src/Converters/ChoiMixTableauConverters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ ChoiMixBuilder::ChoiMixBuilder(
}

// DEBUG METHOD: Ignore this for coverage checks
// GCOVR_EXCL_START
ChoiMixTableau ChoiMixBuilder::realised_tableau() const {
ChoiMixTableau in_tab = circuit_to_cm_tableau(in_circ);
for (const Qubit& q : post_selected)
Expand All @@ -242,6 +243,7 @@ ChoiMixTableau ChoiMixBuilder::realised_tableau() const {
out_in_permutation, ChoiMixTableau::TableauSegment::Output);
return ChoiMixTableau::compose(ChoiMixTableau::compose(in_tab, tab), out_tab);
}
// GCOVR_EXCL_STOP

void ChoiMixBuilder::solve_id_subspace() {
// Input-first gaussian elimination to solve input-sides of remaining rows
Expand Down

0 comments on commit 0f309f3

Please sign in to comment.