Skip to content

Commit

Permalink
Update test_GreedyPauli.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
sjdilkes committed Nov 11, 2024
1 parent cfaa923 commit a732a69
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tket/test/src/test_GreedyPauli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -756,12 +756,13 @@ SCENARIO("Test GreedyPauliSimp pass construction") {
// c.add_op<unsigned>(OpType::CnX, {2, 3, 4, 5});
// c.add_op<unsigned>(OpType::CnX, {6, 7, 8, 9});
Circuit c(4);
c.add_op<unsigned>(OpType::CX, {0,1});
c.add_op<unsigned>(OpType::CX, {1,2});
c.add_op<unsigned>(OpType::CX, {2,3});
c.add_op<unsigned>(OpType::CX, {0, 1});
c.add_op<unsigned>(OpType::CX, {1, 2});
c.add_op<unsigned>(OpType::CX, {2, 3});
CompilationUnit cu(c);
// REQUIRE(DecomposeArbitrarilyControlledGates()->apply(cu));
REQUIRE(!gen_greedy_pauli_simp(0.3, 0.5, 500, 500, 0, false, 100, true).apply->(cu));
REQUIRE(!gen_greedy_pauli_simp(0.3, 0.5, 500, 500, 0, false, 100, true)
.apply->(cu));
}
}
} // namespace test_GreedyPauliSimp
Expand Down

0 comments on commit a732a69

Please sign in to comment.