(do not generate doxygen doc) * * Overloads for applyReferenceMatrix, to simply left-multiply a matrix (possibly * with additional control qubits) onto a state. */
| 980 | * with additional control qubits) onto a state. |
| 981 | */ |
| 982 | void applyReferenceMatrix( |
| 983 | QVector &state, int* ctrls, int numCtrls, int *targs, int numTargs, QMatrix op |
| 984 | ) { |
| 985 | // for state-vectors, the op is always just left-multiplied |
| 986 | applyReferenceOp(state, ctrls, numCtrls, targs, numTargs, op); |
| 987 | } |
| 988 | void applyReferenceMatrix( |
| 989 | QVector &state, int *targs, int numTargs, QMatrix op |
| 990 | ) { |
no test coverage detected