Template Function Pennylane::LightningGPU::cuGates::getHY¶
Defined in File cuGates_host.hpp
Function Documentation¶
-
template<class CFP_t>
static constexpr auto Pennylane::LightningGPU::cuGates::getHY() -> std::vector<CFP_t>¶ Create a matrix representation of the Hadamard@PauliY 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 Hadamard@PauliY data.