File TwoQubitGateHelper.hpp¶
↰ Parent directory (pennylane_lightning/core/src/simulators/lightning_qubit/gates/cpu_kernels/avx_common
)
Contents
Definition (pennylane_lightning/core/src/simulators/lightning_qubit/gates/cpu_kernels/avx_common/TwoQubitGateHelper.hpp
)¶
Detailed Description¶
A helper class for two-qubit gates
Define helper classes for AVX2/512 implementations of two-qubit gates. Depending on the wire the gate applies to, one needs to call one of applyInternalInternal
, applyInternalExternal
, applyExternalInternal
, and applyExternalExternal``
in classes implementing AVX2/512 gates (see README.md). As those functions takes control
and target
wires as a template parameters, we instantiates these function for all possible choice of wires
and call the correct one in runtime.
Includes¶
BitUtil.hpp
(File BitUtil.hpp)ConstantUtil.hpp
(File ConstantUtil.hpp)Error.hpp
(File cuError.hpp)TypeTraits.hpp
(File TypeTraits.hpp)complex
cstdlib
tuple
type_traits
vector