Loading...
Searching...
No Matches
disentanglement_result.hpp
Go to the documentation of this file.
1#pragma once
2
3/**
4 * DisentanglementResult — the subspace SubspaceDisentangler settled on at every
5 * k-point, its gauge-invariant spread, and how many iterations it took.
6 */
7
8#include <vector>
9
12
13namespace q3 {
14
15struct [[nodiscard]] DisentanglementResult {
16 /// V(k): kept_bands x N, one per k-point.
17 std::vector<DenseMatrix<Complex>> subspaces;
18 Real gauge_invariant_spread_bohr_squared = 0.0;
19 int iterations = 0;
20};
21
22} // namespace q3
double Real
std::vector< DenseMatrix< Complex > > subspaces
V(k): kept_bands x N, one per k-point.