| 1149 | |
| 1150 | template <NumQubitsFlag Ctrls, NumQubitsFlag Targs, ArgsFlag Args, ApplyFlag Apply> |
| 1151 | void testOperation(auto operation, auto matrixRefGen) { |
| 1152 | |
| 1153 | assertNumQubitsFlagsAreValid(Ctrls, Targs); |
| 1154 | |
| 1155 | SECTION( LABEL_CORRECTNESS ) { |
| 1156 | testOperationCorrectness<Ctrls,Targs,Args,Apply>(operation, matrixRefGen); |
| 1157 | } |
| 1158 | |
| 1159 | SECTION( LABEL_VALIDATION ) { |
| 1160 | testOperationValidation<Ctrls,Targs,Args,Apply>(operation); |
| 1161 | } |
| 1162 | } |
| 1163 | |
| 1164 | |
| 1165 | /* |
nothing calls this directly
no test coverage detected