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