| 167 | } |
| 168 | |
| 169 | void leftapplyReferenceOperator(qvector& state, qmatrix matrix) { |
| 170 | DEMAND( state.size() == matrix.size() ); |
| 171 | |
| 172 | // for statevectors, multiplying is the same as applying |
| 173 | applyReferenceOperator(state, matrix); |
| 174 | } |
| 175 | |
| 176 | void leftapplyReferenceOperator(qmatrix& state, qmatrix matrix) { |
| 177 | DEMAND( state.size() == matrix.size() ); |
no test coverage detected