Module buffer_manager

Module buffer_manager 

Source
Expand description

Centralized Memory Buffer Management for Large Quantum Circuits

This module provides optimized memory management to prevent fragmentation in large quantum circuit processing by centralizing buffer pools and implementing intelligent allocation strategies.

Structsยง

BufferManager
Public interface for accessing the global buffer manager
GlobalBufferManager
Centralized buffer pool manager for preventing memory fragmentation
ManagedComplexBuffer
RAII wrapper for complex buffers
ManagedF64Buffer
RAII wrapper for automatic buffer return
MemoryStats
Memory usage statistics for monitoring