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

Function demo_syncSuperOp

examples/isolated/initialising_superoperators.cpp:118–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117
118void demo_syncSuperOp() {
119
120 // manually modify the superoperator elements
121 SuperOp a = createSuperOp(1);
122 a.cpuElems[0][0] = 1;
123 a.cpuElems[1][1] = 2_i;
124 a.cpuElems[2][2] = 3_i;
125 syncSuperOp(a);
126 reportSuperOp(a);
127 destroySuperOp(a);
128}
129
130
131int main() {

Callers 1

mainFunction · 0.70

Calls 4

createSuperOpFunction · 0.85
syncSuperOpFunction · 0.85
reportSuperOpFunction · 0.85
destroySuperOpFunction · 0.85

Tested by

no test coverage detected