|
Quantum 3xplorer (Q3)
An AI-native quantum simulation engine
|
#include <checkpoint.hpp>
Inheritance diagram for q3::FileMeanFieldBandSource:Public Member Functions | |
| FileMeanFieldBandSource (std::string file_path, std::streamoff coefficient_block_offset, int number_of_bands, std::vector< int > plane_waves_per_kpoint) | |
| const Complex * | coefficients (int kpoint_state_index, int band_index) const override |
Public Member Functions inherited from q3::MeanFieldBandSource | |
| virtual | ~MeanFieldBandSource ()=default |
Band source that reads coefficients back from a mean-field record file.
Caches exactly one k-point: exporters walk (k, band) in order, so this turns into one sequential read per k-point while keeping peak memory to a single k-point's worth of coefficients rather than the whole wavefunction set.
Definition at line 104 of file checkpoint.hpp.
|
inline |
Definition at line 106 of file checkpoint.hpp.
|
inlineoverridevirtual |
kpoint_state_index is the (k-point, spin) state index, matching the eigenvalue/occupation row convention below – not the physical k-point index. They coincide only for a spin-unpolarized run.
Implements q3::MeanFieldBandSource.
Definition at line 125 of file checkpoint.hpp.