Template Function Pennylane::Gates::getControlledPhaseShift
Function Documentation
-
template<template<typename...> class ComplexT, typename T>
static auto Pennylane::Gates::getControlledPhaseShift(T angle) -> std::vector<ComplexT<T>>
Create a matrix representation of the controlled phase-shift gate data in row-major format.
See also
getPhaseShift<T,U>(U angle)
.
api/function_Gates_8hpp_1aec328f7d62b753b10debd52747de21f6