Template Function Pennylane::LightningGPU::cuGates::getIsingZZ(U)

Function Documentation

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

Create a matrix representation of the Ising ZZ coupling 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

angle – Phase shift angle.

Returns

std::vector<CFP_t> Return Ising ZZ coupling gate data.