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

Function getConjugate

tests/utils/linalg.cpp:281–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279
280
281qmatrix getConjugate(qmatrix m) {
282
283 for (auto& row : m)
284 for (auto& elem : row)
285 elem = std::conj(elem);
286
287 return m;
288}
289
290
291qmatrix getConjugateTranspose(qmatrix m) {

Callers 1

getSuperOperatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected