Module memory_optimization

Module memory_optimization 

Source
Expand description

Memory Optimization for Quantum Simulations using SciRS2 Beta.1

This module provides memory-efficient algorithms and buffer management for large-scale quantum state simulations.

Structs§

MemoryUsageStats
Memory usage statistics
QuantumBufferPool
Quantum-specific buffer pool for state vectors and matrices
StateVectorManager
Optimized state vector manager for large quantum systems

Functions§

get_memory_usage_stats
Get global memory usage statistics
global_quantum_buffer_pool
Get the global quantum buffer pool
initialize_buffer_pools
Initialize buffer pools
optimized_state_vector_allocation
Optimized state vector allocation function