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

Function Documentation

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

Create a matrix representation of the controlled phase-shift gate data in row-major format.

See also

getPhaseShift<T,U>(U angle).