| 1058 | |
| 1059 | |
| 1060 | void populateDensityMatrixColumnLabels(vector<string> &leftColLabels, vector<string> &rightColLabels, Qureg qureg, MatrixQuadrantInds inds) { |
| 1061 | |
| 1062 | leftColLabels.resize(inds.numUpperLeftCols); |
| 1063 | rightColLabels.resize(inds.numUpperRightCols); |
| 1064 | |
| 1065 | int lastRank = -1; |
| 1066 | setColumnLabelsToRanks(leftColLabels, lastRank, inds.leftStartCol, qureg); |
| 1067 | setColumnLabelsToRanks(rightColLabels, lastRank, inds.rightStartCol, qureg); |
| 1068 | } |
| 1069 | |
| 1070 | |
| 1071 | // T can be 2D types, e.g. Qureg (.isDensityMatrix=1), CompMatr/1/2, SuperOp. |
no test coverage detected