| 1191 | dest[i][j] = src[i][j]; |
| 1192 | |
| 1193 | void toComplexMatrixN(QMatrix qm, ComplexMatrixN cm) { |
| 1194 | DEMAND( qm.size() == (1u<<cm.numQubits) ); |
| 1195 | macro_copyComplexMatrix(cm.cpuElems, qm, qm.size()); |
| 1196 | syncCompMatr(cm); |
| 1197 | } |
| 1198 | |
| 1199 | QMatrix toQMatrix(CompMatr1 src) { |
| 1200 | QMatrix dest = getZeroMatrix(2); |
no test coverage detected