Template Function Pennylane::LightningGPU::cuGates::getGeneratorIsingZZ¶
Defined in File cuGates_host.hpp
Function Documentation¶
-
template<class CFP_t, class U = double>
static constexpr auto Pennylane::LightningGPU::cuGates::getGeneratorIsingZZ() -> std::vector<CFP_t>¶ Create a matrix representation of the Ising ZZ 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::vector<CFP_t>