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

Method get

python/cudaq/runtime/sample.py:42–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 self.counter = None
41
42 def get(self):
43 result = self.impl.get()
44 self.getCalled = True
45 return result
46
47 def __del__(self):
48 # FIXME : This potentially leaks memory intentionally. It is possible

Callers 8

test_quantinuum_sampleFunction · 0.95
test_quantinuum_sampleFunction · 0.95
test_ionq_sampleFunction · 0.95
test_quantinuum_sampleFunction · 0.95
test_iqm_ghzFunction · 0.95
test_sampleFunction · 0.95
test_OQC_sampleFunction · 0.95

Calls

no outgoing calls

Tested by 8

test_quantinuum_sampleFunction · 0.76
test_quantinuum_sampleFunction · 0.76
test_ionq_sampleFunction · 0.76
test_quantinuum_sampleFunction · 0.76
test_iqm_ghzFunction · 0.76
test_sampleFunction · 0.76
test_OQC_sampleFunction · 0.76