Template Function Pennylane::LightningGPU::cuGates::getControlledPhaseShift(const std::vector<U>&)¶
Defined in File cuGates_host.hpp
Function Documentation¶
-
template<class CFP_t, class U = double>
static auto Pennylane::LightningGPU::cuGates::getControlledPhaseShift(const std::vector<U> ¶ms) -> std::vector<CFP_t>¶ Create a matrix representation of the controlled phase-shift gate data in row-major format.
See also
getPhaseShift<T,U>(const std::vector<U> ¶ms)
.
api/function_cuGates__host_8hpp_1aa9cf51e5db1ae01b66518a692448c29c
Download Python script
Download Notebook
View on GitHub