Template Function Pennylane::LightningGPU::Util::ConstMultSC¶
Defined in File cuda_helpers.hpp
Function Documentation¶
-
template<class Real_t, class CFP_t = cuDoubleComplex>
static inline constexpr auto Pennylane::LightningGPU::Util::ConstMultSC(Real_t a, CFP_t b) -> CFP_t¶ Compile-time scalar real times complex number.
- Template Parameters
U – Precision of real value
a
.T – Precision of complex value
b
and result.
- Parameters
a – Real scalar value.
b – Complex scalar value.
- Returns
constexpr std::complex<T>
api/function_cuda__helpers_8hpp_1a3f064d03114308bcd12c8f053c9c3f74
Download Python script
Download Notebook
View on GitHub