Template Function Pennylane::LightningGPU::cuGates::getT¶
Defined in File cuGates_host.hpp
Function Documentation¶
-
template<class CFP_t>
static constexpr auto Pennylane::LightningGPU::cuGates::getT() -> std::vector<CFP_t>¶ Create a matrix representation of the T gate data in row-major format.
- Template Parameters
CFP_t – Required precision of gate (
float
ordouble
).- Returns
constexpr std::vector<CFP_t> Return constant expression of T gate data.
api/function_cuGates__host_8hpp_1ac017e7c59c9699bbaae1f1c8268c31d9
Download Python script
Download Notebook
View on GitHub