From a732a697b6352ca147eadcb7c394042026c70286 Mon Sep 17 00:00:00 2001 From: Silas Dilkes <36165522+sjdilkes@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:44:22 +0000 Subject: [PATCH] Update test_GreedyPauli.cpp --- tket/test/src/test_GreedyPauli.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tket/test/src/test_GreedyPauli.cpp b/tket/test/src/test_GreedyPauli.cpp index 0c2bc474b9..35239d4efb 100644 --- a/tket/test/src/test_GreedyPauli.cpp +++ b/tket/test/src/test_GreedyPauli.cpp @@ -756,12 +756,13 @@ SCENARIO("Test GreedyPauliSimp pass construction") { // c.add_op(OpType::CnX, {2, 3, 4, 5}); // c.add_op(OpType::CnX, {6, 7, 8, 9}); Circuit c(4); - c.add_op(OpType::CX, {0,1}); - c.add_op(OpType::CX, {1,2}); - c.add_op(OpType::CX, {2,3}); + c.add_op(OpType::CX, {0, 1}); + c.add_op(OpType::CX, {1, 2}); + c.add_op(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