File TestHelpers.hpp¶
↰ Parent directory (pennylane_lightning/core/src/utils
)
Contents
Definition (pennylane_lightning/core/src/utils/TestHelpers.hpp
)¶
Detailed Description¶
Defines helper methods for PennyLane Lightning.
Includes¶
CPUMemoryModel.hpp
(File CPUMemoryModel.hpp)Error.hpp
(File cuError.hpp)Memory.hpp
(File Memory.hpp)TypeTraits.hpp
(File TypeTraits.hpp)Util.hpp
(File AVXUtil.hpp)catch2/catch.hpp
complex
numeric
random
string
vector
Namespaces¶
Classes¶
Functions¶
Template Function Pennylane::Util::approx(const std::vector<T, Alloc>&)
Template Function Pennylane::Util::approx(const std::complex<T>&)
Template Function Pennylane::Util::createRandomStateVectorData
Template Function Pennylane::Util::operator!=(const std::complex<T>&, const PLApproxComplex<T>&)
Template Function Pennylane::Util::operator<<(std::ostream&, const PLApprox<T, Alloc>&)
Template Function Pennylane::Util::operator<<(std::ostream&, const PLApproxComplex<T>&)
Template Function Pennylane::Util::operator==(const std::complex<T>&, const PLApproxComplex<T>&)
Template Function Pennylane::Util::scaleVector(std::vector<std::complex<Data_t>, Alloc>&, Data_t)