File SingleQubitGateHelper.hpp¶
↰ Parent directory (pennylane_lightning/core/simulators/lightning_qubit/gates/cpu_kernels/avx_common)
Contents
Definition (pennylane_lightning/core/simulators/lightning_qubit/gates/cpu_kernels/avx_common/SingleQubitGateHelper.hpp)¶
Detailed Description¶
A helper class for single-qubit gates
Define helper classes for AVX2/512 implementations of single-qubit gates. Depending on the wire the gate applies to, one needs to call applyInternal or applyExternal in classes implementing AVX2/512 gates. As applyInternal takes wire as a template parameters, we instantiate this function for all possible wire 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)complexcstdlibtype_traitsvector
Included By¶
Namespaces¶
api/file_pennylane_lightning_core_simulators_lightning_qubit_gates_cpu_kernels_avx_common_SingleQubitGateHelper.hpp
Download Python script
Download Notebook
View on GitHub