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

Function DYNAMIC_SECTION

tests/unit/decoherence.cpp:51–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 for (auto& [label, qureg]: getCachedDensmatrs()) {
50
51 DYNAMIC_SECTION( label ) {
52
53 // no need to validate whether qureg successfully
54 // enters the debug state here, because the below
55 // serial setToDebugState() is guaranteed to succeed
56 initDebugState(qureg);
57 setToDebugState(reference);
58
59 apiFunc(qureg);
60 applyReferenceOperator(reference, targs, kraus);
61
62 REQUIRE_AGREE( qureg, reference );
63 }
64 }
65}
66

Callers 1

Calls 4

initDebugStateFunction · 0.85
applyReferenceOperatorFunction · 0.85
REQUIRE_AGREEFunction · 0.85
setToDebugStateFunction · 0.50

Tested by

no test coverage detected