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

Function bindSpinWrapper

python/runtime/cudaq/operators/py_spin_op.cpp:1065–1072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1063}
1064
1065void bindSpinWrapper(nanobind::module_ &mod) {
1066 bindSpinOperator(mod);
1067 nanobind::implicitly_convertible<double, spin_op_term>();
1068 nanobind::implicitly_convertible<std::complex<double>, spin_op_term>();
1069 nanobind::implicitly_convertible<scalar_operator, spin_op_term>();
1070 nanobind::implicitly_convertible<spin_op_term, spin_op>();
1071 bindSpinModule(mod);
1072}
1073
1074} // namespace cudaq

Callers 1

NB_MODULEFunction · 0.85

Calls 2

bindSpinOperatorFunction · 0.85
bindSpinModuleFunction · 0.85

Tested by

no test coverage detected