|
Maestro 0.1.0
Unified interface for quantum circuit simulation
|
An allocator that avoids initializing the allocated memory. More...
#include <State.h>
An allocator that avoids initializing the allocated memory.
This allocator is used to avoid initializing the allocated memory. It is used to avoid initializing the memory when the state is initialized with a vector of amplitudes. std::vector will initialize the memory with 0, which is not needed when the values in the vector are set right after the allocation.