Template Function Pennylane::Gates::getCRot

Function Documentation

template<template<typename...> class ComplexT, typename T>
static auto Pennylane::Gates::getCRot(T phi, T theta, T omega) -> std::vector<ComplexT<T>>

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

See also

getRot<T,U>(U phi, U theta, U omega).