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
api/function_Permutation_8hpp_1ae6165165a6aef2af68c295381fcba13f
Download Python script
Download Notebook
View on GitHub