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}