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

Function rightapplyReferenceOperator

tests/utils/evolve.cpp:183–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void rightapplyReferenceOperator(qmatrix& state, qmatrix matrix) {
184 DEMAND( state.size() == matrix.size() );
185
186 // we right-multiply upon density matrices only
187 state = state * matrix;
188}
189
190
191// overloads with ctrls, states and targs (given sub-operator)

Callers 2

testOperationCorrectnessFunction · 0.85
SECTIONFunction · 0.85

Calls 2

getFullStateOperatorFunction · 0.85
getLog2Function · 0.85

Tested by

no test coverage detected