| 269 | |
| 270 | |
| 271 | extern "C" void setSuperOp(SuperOp op, qcomp** matrix) { |
| 272 | validate_superOpFields(op, __func__); |
| 273 | validate_matrixNewElemsPtrNotNull(matrix, op.numRows, __func__); // fine for superop |
| 274 | |
| 275 | setAndSyncSuperOpElems(op, matrix); |
| 276 | } |
| 277 | |
| 278 | void setSuperOp(SuperOp op, vector<vector<qcomp>> matrix) { |
| 279 | validate_superOpFields(op, __func__); |
no test coverage detected