Template Function Pennylane::Gates::getPauliY¶
Defined in File Gates.hpp
Function Documentation¶
-
template<class T>
static constexpr auto Pennylane::Gates::getPauliY() -> std::vector<std::complex<T>>¶ Create a matrix representation of the PauliY gate data in row-major format.
- Template Parameters
T – Required precision of gate (
float
ordouble
).- Returns
constexpr std::vector<std::complex<T>> Return constant expression of PauliY data.
api/function_namespacePennylane_1_1Gates_1abc29e208f1247841e4996b656a9cf148
Download Python script
Download Notebook
View on GitHub