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 12, 2024
1 parent 59d91ce commit 37cec73
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tket/test/src/test_GreedyPauli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -762,20 +762,6 @@ SCENARIO("Test GreedyPauliSimp pass construction") {
}

SCENARIO("Test GreedyPauliSimpMT") {
GIVEN("Circuit with measures, classicals, and resets") {
Circuit circ(3, 1);
circ.add_box(
PauliExpBox(SymPauliTensor({Pauli::X, Pauli::Z, Pauli::Z}, 0.3)),
{0, 1, 2});
circ.add_op<unsigned>(OpType::Measure, {0, 0});
circ.add_op<unsigned>(ClassicalX(), {0});
circ.add_op<unsigned>(OpType::Reset, {1});
REQUIRE(Transforms::multi_thread_greedy_pauli_optimisation(3).apply(circ));
REQUIRE(circ.count_n_qubit_gates(2) == 4);
REQUIRE(circ.count_gates(OpType::ClassicalTransform) == 1);
REQUIRE(circ.count_gates(OpType::Measure) == 1);
REQUIRE(circ.count_gates(OpType::Reset) == 1);
}
GIVEN("Large circuit with ZZPhase") {
Circuit circ(6);
circ.add_box(
Expand Down

0 comments on commit 37cec73

Please sign in to comment.