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