Template Function Pennylane::LightningGPU::cuGates::getGeneratorIsingXX¶
Defined in File cuGates_host.hpp
Function Documentation¶
-
template<class CFP_t, class U = double>
static constexpr auto Pennylane::LightningGPU::cuGates::getGeneratorIsingXX() -> std::vector<CFP_t>¶ Create a matrix representation of the Ising XX generator data in row-major format.
- Template Parameters
CFP_t – Required precision of gate (
float
ordouble
).U – Required precision of parameter (
float
ordouble
).
- Returns
constexpr std::array<CFP_t>
api/function_cuGates__host_8hpp_1a7f508202f2eb07519d5ae19ba7a590a2
Download Python script
Download Notebook
View on GitHub