Template Function Pennylane::LightningGPU::cuGates::getGeneratorDoubleExcitationPlus

Function Documentation

template<class CFP_t, class U = double>
static constexpr auto Pennylane::LightningGPU::cuGates::getGeneratorDoubleExcitationPlus() -> std::vector<CFP_t>

Create a matrix representation of the DoubleExcitation Plus generator data in row-major format.

Template Parameters
  • CFP_t – Required precision of gate (float or double).

  • U – Required precision of parameter (float or double).

Returns

constexpr std::vector<CFP_t>