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