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

Function demo_serial

examples/isolated/reporting_quregs.cpp:21–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20
21void demo_serial() {
22
23 reportStr("\n[serial]");
24
25 int numQubits = 10;
26 int isDensMatr = 0;
27
28 int useDistrib = 0;
29 int useGpuAccel = 0;
30 int useMultithread = 0;
31
32 Qureg qureg = createCustomQureg(
33 numQubits, isDensMatr,
34 useDistrib, useGpuAccel, useMultithread);
35
36 reportQuregParams(qureg);
37 reportQureg(qureg);
38 destroyQureg(qureg);
39}
40
41
42void demo_multithreaded() {

Callers 1

mainFunction · 0.70

Calls 5

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

Tested by

no test coverage detected