Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/cuda-quantum
/ clear
Method
clear
runtime/common/SampleResult.cpp:426–429 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
424
}
425
426
void sample_result::clear() {
427
sampleResults.clear();
428
totalShots = 0;
429
}
430
431
/// @brief This is a helper function to sort the keys of an unordered map
432
/// without making any deep copies.
Callers
1
append
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected