Template Function Pennylane::LightningQubit::Gates::AVXCommon::Permutation::swapRealImag¶
Defined in File Permutation.hpp
Function Documentation¶
-
template<std::size_t packed_size>
constexpr auto Pennylane::LightningQubit::Gates::AVXCommon::Permutation::swapRealImag(const std::array<uint8_t, packed_size> &perm) -> std::array<uint8_t, packed_size>¶ Create a permutation that swap real and imaginary parts of a packed array.
- Template Parameters
packed_size – Number of elements in a packed type
- Parameters
perm – Previous permutation
api/function_Permutation_8hpp_1aae1da14e1c28e34e546db47e9c239774
Download Python script
Download Notebook
View on GitHub