File TwoQubitGateHelper.hpp

Parent directory (pennylane_lightning/core/simulators/lightning_qubit/gates/cpu_kernels/avx_common)

Definition (pennylane_lightning/core/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

Included By

Namespaces

Classes