Template Function Pennylane::Gates::getDoubleExcitationMinus¶
Defined in File Gates.hpp
Function Documentation¶
-
template<template<typename...> class ComplexT, typename T>
static auto Pennylane::Gates::getDoubleExcitationMinus(T angle) -> std::vector<ComplexT<T>>¶ Create a matrix representation of the double excitation rotation with negative phase-shift outside the rotation subspace gate data in row-major format.
- Template Parameters
ComplexT – Complex class.
T – Required precision of gate (
float
ordouble
).T – Required precision of parameter (
float
ordouble
).
- Parameters
angle – Phase shift angle.
- Returns
std::vector<ComplexT<T>> Return double excitation rotation with negative phase-shift outside the rotation subspace gate data.
api/function_Gates_8hpp_1a1336089538c627b415e47af36d9c0a1a
Download Python script
Download Notebook
View on GitHub