MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / leftapplyReferenceOperator

Function leftapplyReferenceOperator

tests/utils/evolve.cpp:169–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void 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
176void leftapplyReferenceOperator(qmatrix& state, qmatrix matrix) {
177 DEMAND( state.size() == matrix.size() );

Callers 2

testOperationCorrectnessFunction · 0.85
SECTIONFunction · 0.85

Calls 3

applyReferenceOperatorFunction · 0.85
getFullStateOperatorFunction · 0.85
getLog2Function · 0.85

Tested by

no test coverage detected