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 2927452 commit e46efd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tket/test/src/test_GreedyPauli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -756,9 +756,9 @@ 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));
Expand Down

0 comments on commit e46efd5

Please sign in to comment.