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

Function getNumCachedQubits

tests/utils/cache.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38matrixCache matrices;
39
40int getNumCachedQubits() {
41
42 // we are merely aliasing the below env-var fetching function
43 // to minimise a diff since pre-runtime controlling the tested
44 // Qureg sizes is experimental and not fully designed (we may
45 // eventually wish to specify different sizes for statevectors
46 // vs density matrices, or control integration test Qureg sizes
47 // also through environment variables, etc)
48 return getNumQubitsInUnitTestedQuregs();
49}
50
51
52

Callers 11

testRunStartingMethod · 0.85
getRefStatevecFunction · 0.85
getRefDensmatrFunction · 0.85
SECTIONFunction · 0.85
SECTIONFunction · 0.85
SECTIONFunction · 0.85
SECTIONFunction · 0.85
SECTIONFunction · 0.85

Calls 1

Tested by

no test coverage detected