104 std::string *reason =
nullptr);
113 std::string *reason =
nullptr);
122 std::string *reason =
nullptr);
140 double mass,
double hbar)
noexcept;
175 bool empty()
const noexcept;
194 const std::vector<QuantumAndersonSample2D> &
samples()
const noexcept;
Owning Cartesian grid of complex scalar samples.
Implements the Potential Scene2D component.
Implements the Quantum Anderson2D component.
static QuantumAndersonLaneSample2D measureLane(const ComplexField2D &field, const QuantumAndersonLattice2D &lattice, bool cleanLane)
Measures lane.
static double freeGaussianSigma(double time, double sigma0, double mass, double hbar) noexcept
Performs free gaussian sigma.
static bool initializeDualLane(ComplexField2D &field, const QuantumAndersonInitialState2DConfig &config, std::string *reason=nullptr)
Initializes dual lane.
static bool identifyLattice(const PotentialScene2D &scene, QuantumAndersonLattice2D &lattice, std::string *reason=nullptr)
Returns identify lattice.
static bool validateConfig(const QuantumAndersonInitialState2DConfig &config, std::string *reason=nullptr)
Validates config.
Implements the Quantum Anderson History2D component.
void append(double time, const ComplexField2D &field)
Performs append.
QuantumAndersonInitialState2DConfig config_
void trim()
Performs trim.
QuantumAndersonLattice2D lattice_
const QuantumAndersonInitialState2DConfig & config() const noexcept
Returns config.
const QuantumAndersonLattice2D & lattice() const noexcept
Performs lattice.
QuantumAndersonHistory2D(std::size_t maxSamples=1200u)
Performs quantum anderson history2 d.
void clear()
Performs clear.
void configure(const QuantumAndersonInitialState2DConfig &config, const QuantumAndersonLattice2D &lattice)
Returns configure.
const std::vector< QuantumAndersonSample2D > & samples() const noexcept
Samples s.
std::vector< QuantumAndersonSample2D > samples_
bool configured() const noexcept
Returns configured.
bool empty() const noexcept
Performs empty.
Declares the complex scalar field container representing two-dimensional wave functions.
Declares the potentialscene2d physics/numerical component used by QPE experiments.
Configuration values for Quantum Anderson Initial State2D Config.
double relativePhaseDegrees
Data structure used by the Quantum Anderson Lane Sample2D component.
bool localizationLengthValid
double localizationLength
double centralSiteProbability
std::vector< float > marginalX
Data structure used by the Quantum Anderson Lattice2D component.
std::vector< double > siteX
std::vector< double > disorderDepths
double disorderDepthStdDev
std::vector< double > cleanDepths
Data structure used by the Quantum Anderson Sample2D component.
QuantumAndersonLaneSample2D disorder
QuantumAndersonLaneSample2D clean