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

Function getConjugateTranspose

tests/deprecated/test_utilities.cpp:302–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302QMatrix getConjugateTranspose(QMatrix a) {
303 QMatrix b = a;
304 for (size_t r=0; r<a.size(); r++)
305 for (size_t c=0; c<a.size(); c++)
306 b[r][c] = conj(a[c][r]);
307 return b;
308}
309
310QMatrix getExponentialOfDiagonalMatrix(QMatrix a) {
311

Callers 3

getRandomUnitaryFunction · 0.70
getRandomKrausMapFunction · 0.70
applyReferenceOpFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected