| 486 | |
| 487 | |
| 488 | vector<string> getBasisKets(qindex startInd, qindex numInds) { |
| 489 | |
| 490 | vector<string> kets(numInds); |
| 491 | |
| 492 | for (qindex i=0; i<numInds; i++) |
| 493 | kets[i] = std::string("|") + toStr(i+startInd) + std::string("⟩"); |
| 494 | |
| 495 | return kets; |
| 496 | } |
| 497 | |
| 498 | |
| 499 | string getNumQubitsStr(int numQubits) { |