Template Function Pennylane::LightningGPU::Util::complexToCu(ComplexT)¶
Defined in File cuda_helpers.hpp
Function Documentation¶
-
template<class ComplexT = std::complex<double>>
static inline constexpr auto Pennylane::LightningGPU::Util::complexToCu(ComplexT a)¶ Utility to convert std::complex types to cuComplex types.
- Template Parameters
ComplexT – std::complex types.
- Parameters
a – A std::complex type.
- Returns
cuComplex converted a
api/function_cuda__helpers_8hpp_1a8a037742b362ff51b34053ab4e52366a
Download Python script
Download Notebook
View on GitHub