| 713 | |
| 714 | |
| 715 | void localiser_densmatr_initArbitraryMixedState(Qureg qureg, qcomp** amps) { |
| 716 | |
| 717 | /// @todo |
| 718 | /// the current invoked implementation of setAmps() is extraordinarily |
| 719 | /// inefficient in the full-Qureg regime. Fix setAmps(), then update this! |
| 720 | |
| 721 | qindex startRow = 0; |
| 722 | qindex startCol = 0; |
| 723 | qindex numRows = powerOf2(qureg.numQubits); |
| 724 | qindex numCols = numRows; |
| 725 | localiser_densmatr_setAmps(amps, qureg, startRow, startCol, numRows, numCols); |
| 726 | } |
| 727 | |
| 728 | |
| 729 | void localiser_statevec_initUniformState(Qureg qureg, qcomp amp) { |
no test coverage detected