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

Function convert

python/utils/PyTypes.h:192–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190
191template <>
192inline nanobind::object convert(bool value) {
193 return nanobind::bool_(value);
194}
195
196template <>
197inline nanobind::object convert(std::int8_t value) {

Callers

nothing calls this directly

Calls 2

FloatClass · 0.85
ComplexClass · 0.85

Tested by

no test coverage detected