Template Function Pennylane::LightningGPU::cuGates::getDoubleExcitation(const std::vector<U>&)

Function Documentation

template<class CFP_t, class U = double>
static auto Pennylane::LightningGPU::cuGates::getDoubleExcitation(const std::vector<U> &params) -> std::vector<CFP_t>

Create a matrix representation of the double excitation rotation gate data in row-major format.

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

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

Parameters

params – Vector of phase shift angles. Only front element is read.

Returns

std::vector<CFP_t> Return double excitation rotation gate data.