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
api/variable_cuda__helpers_8hpp_1a152b5a6c2f64ba91b2fd9e5986c74704
Download Python script
Download Notebook
View on GitHub