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

Function demo_distributed

examples/isolated/reporting_quregs.cpp:84–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83
84void demo_distributed() {
85
86 reportStr("\n[distributed]");
87
88 int numQubits = 10;
89 int isDensMatr = 0;
90
91 int useDistrib = getQuESTEnv().isDistributed;
92 int useGpuAccel = 0;
93 int useMultithread = 0;
94
95 Qureg qureg = createCustomQureg(
96 numQubits, isDensMatr,
97 useDistrib, useGpuAccel, useMultithread);
98
99 reportQuregParams(qureg);
100 reportQureg(qureg);
101 destroyQureg(qureg);
102}
103
104
105void demo_auto() {

Callers 1

mainFunction · 0.70

Calls 6

reportStrFunction · 0.85
getQuESTEnvFunction · 0.85
createCustomQuregFunction · 0.85
reportQuregParamsFunction · 0.85
reportQuregFunction · 0.85
destroyQuregFunction · 0.85

Tested by

no test coverage detected