Template Function Pennylane::Util::getAllocator¶
Defined in File CPUMemoryModel.hpp
Function Documentation¶
-
template<class T>
constexpr auto Pennylane::Util::getAllocator(CPUMemoryModel memory_model) -> Util::AlignedAllocator<T>¶ Get a corresponding allocator for standard library containers.
- Template Parameters
T – Data type
api/function_CPUMemoryModel_8hpp_1a6a595fb0bb195a13f8786ed8492d2301
Download Python script
Download Notebook
View on GitHub