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

Method simulationPrecision

python/cudaq/kernel/kernel_builder.py:396–402  ·  view source on GitHub ↗

Return precision for the current simulation backend, see `cudaq_runtime.SimulationPrecision`.

(self)

Source from the content-addressed store, hash-verified

394 return ComplexType.get(eTy)
395
396 def simulationPrecision(self):
397 """
398 Return precision for the current simulation backend, see
399 `cudaq_runtime.SimulationPrecision`.
400 """
401 target = cudaq_runtime.get_target()
402 return target.get_precision()
403
404 def simulationDType(self):
405 """

Callers 2

simulationDTypeMethod · 0.95
qallocMethod · 0.95

Calls 1

get_precisionMethod · 0.45

Tested by

no test coverage detected