@@ -64,8 +64,7 @@ TEST_CASE("Test makeAdjointRule", "[DecompGraph::Core]")
6464 REQUIRE (adj.inputs [1 ].multiplicity == 1 );
6565}
6666
67- TEST_CASE (" Test DecompositionGraph adjoint rules from base rules" ,
68- " [DecompGraph::Solver]" )
67+ TEST_CASE (" Test DecompositionGraph adjoint rules from base rules" , " [DecompGraph::Solver]" )
6968{
7069 const OperatorNode rot{" Rot" , 1 , 3 , false };
7170 const OperatorNode rz{" RZ" , 1 , 1 , false };
@@ -97,7 +96,7 @@ TEST_CASE("Test DecompositionGraph does not synthesize adjoint rules for empty o
9796
9897 const WeightedGateset gateset{{{h, 1.0 }}};
9998 const std::vector<RuleNode> rules{
100- {" h_is_basis" , h, {}}, // empty rule
99+ {" h_is_basis" , h, {}}, // empty rule
101100 {" self_adjoint_H" , adjH, {{h, 1 }}}, // adjoint output, must not be mirrored!!
102101 };
103102
@@ -149,7 +148,8 @@ TEST_CASE("Test Adjoint: adjoint_rotation (Adjoint(RX) -> RX)", "[DecompGraph::S
149148 REQUIRE (chosen.basisCounts .at (rx) == 1 );
150149}
151150
152- TEST_CASE (" Test Adjoint: multiple rules and the solver should pick the cheapest" , " [DecompGraph::Solver]" )
151+ TEST_CASE (" Test Adjoint: multiple rules and the solver should pick the cheapest" ,
152+ " [DecompGraph::Solver]" )
153153{
154154 const OperatorNode rot{" Rot" , 1 , 3 , false };
155155 const OperatorNode rz{" RZ" , 1 , 1 , false };
0 commit comments