Template Function Pennylane::LightningGPU::Util::ZERO
Function Documentation
-
template<class CFP_t>
static inline constexpr auto Pennylane::LightningGPU::Util::ZERO() -> CFP_t
Return complex value 0+0i in the given precision.
- Template Parameters
T – Floating point precision type. Accepts double
and float
.
- Returns
constexpr std::complex<T>{0,0}
api/function_cuda__helpers_8hpp_1a5c39b3e0b9817a22f506f731bb243c9d