Quantum 3xplorer (Q3)
Loading...
Searching...
No Matches
disentanglement_settings.hpp
Go to the documentation of this file.
1
#pragma once
2
3
/**
4
* DisentanglementSettings — the damping, the tolerance and the budget of the
5
* subspace iteration (SubspaceDisentangler).
6
*/
7
8
#include "
layer_0_core/types/init.hpp
"
9
10
namespace
q3
{
11
12
struct
[[nodiscard]]
DisentanglementSettings
{
13
/// Mixing of Z between iterations; 1 is undamped and oscillates on metals.
14
Real
damping = 0.5;
15
/// Relative, because an absolute spread threshold does not transfer between systems.
16
Real
convergence_tolerance = 1.0e-10;
17
int
maximum_iterations = 4000;
18
/// Iterations the relative change must stay below the tolerance for.
19
int
convergence_window = 5;
20
};
21
22
}
// namespace q3
init.hpp
q3
Definition
q3_core_api.hpp:33
q3::Real
double Real
Definition
type_aliases.hpp:20
q3::DisentanglementSettings
Definition
disentanglement_settings.hpp:12
src
layer_4_computation
interpolator
method
wannier
settings
disentanglement_settings.hpp
Generated by
1.9.8