Template Function Pennylane::Gates::getCRot(const std::vector<U>&)

Function Documentation

template<class T, class U = T>
static auto Pennylane::Gates::getCRot(const std::vector<U> &params) -> std::vector<std::complex<T>>

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

See also

getRot<T,U>(const std::vector<U> &params).