MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / register_names

Method register_names

runtime/common/SampleResult.cpp:385–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385std::vector<std::string> sample_result::register_names() const {
386 std::vector<std::string> ret;
387 for (auto &kv : sampleResults)
388 ret.push_back(kv.first);
389 std::sort(ret.begin(), ret.end());
390
391 return ret;
392}
393
394CountsDictionary
395sample_result::to_map(const std::string_view registerName) const {

Callers 5

CUDAQ_TESTFunction · 0.80
CUDAQ_TESTFunction · 0.80
executeMethod · 0.80
completeLaunchKernelMethod · 0.80
getMethod · 0.80

Calls 3

push_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 2

CUDAQ_TESTFunction · 0.64
CUDAQ_TESTFunction · 0.64