Template Function Pennylane::LightningGPU::cuGates::getXY¶
Defined in File cuGates_host.hpp
Function Documentation¶
-
template<class CFP_t>
static constexpr auto Pennylane::LightningGPU::cuGates::getXY() -> std::vector<CFP_t>¶ Create a matrix representation of the PauliX@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 PauliX@PauliY data.
api/function_cuGates__host_8hpp_1a9456bfbf566c2638c677245957159e99
Download Python script
Download Notebook
View on GitHub