Template Function Pennylane::LightningQubit::Gates::AVXCommon::Permutation::isWithinLane¶
Defined in File Permutation.hpp
Function Documentation¶
-
template<typename PrecisionT, std::size_t size>
constexpr bool Pennylane::LightningQubit::Gates::AVXCommon::Permutation::isWithinLane(const std::array<uint8_t, size> &permutation)¶ Compute whether the given permutation acts only within 128bit lane.
- Template Parameters
PrecisionT – Floating point precision type
size – Size of the permutation
- Parameters
permutation – Permutation as an array