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