Template Function Pennylane::LightningGPU::cuGates::getRY(const std::vector<U>&)¶
Defined in File cuGates_host.hpp
Function Documentation¶
-
template<class CFP_t, class U = double>
static auto Pennylane::LightningGPU::cuGates::getRY(const std::vector<U> ¶ms) -> std::vector<CFP_t>¶ Create a matrix representation of the RY gate data in row-major format.
- Template Parameters
CFP_t – Required precision of gate (
float
ordouble
).U – Required precision of parameter (
float
ordouble
).
- Parameters
params – Vector of phase shift angles. Only front element is read.
- Returns
std::vector<CFP_t> Return RY gate data.
api/function_cuGates__host_8hpp_1a9230fa13f4d3519068c124cdf826d31f
Download Python script
Download Notebook
View on GitHub