Variable Pennylane::LightningGPU::Util::is_supported_data_type¶
Defined in File cuda_helpers.hpp
Variable Documentation¶
-
template<class T>
constexpr bool Pennylane::LightningGPU::Util::is_supported_data_type = std::is_same_v<T, cuComplex> || std::is_same_v<T, float2> || std::is_same_v<T, cuDoubleComplex> || std::is_same_v<T, double2>¶ If T is a supported data type for gates, this expression will evaluate to
true
. Otherwise, it will evaluate tofalse
.Supported data types are
float2
,double2
, and their aliases.- Template Parameters
T – candidate data type