Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
qpe::QuantumTalbot2D Class Reference

Implements the Quantum Talbot2D component. More...

#include <quantumtalbot2d.h>

Static Public Member Functions

static bool validateConfig (const QuantumTalbotInitialState2DConfig &config, std::string *reason=nullptr) noexcept
 Validates config.
 
static bool initialize (ComplexField2D &field, const QuantumTalbotInitialState2DConfig &config, double hbar=1.0, std::string *reason=nullptr)
 Initializes ialize.
 
static double talbotTime (double period, double mass, double hbar=1.0) noexcept
 Performs talbot time.
 
static std::vector< float > marginalProbabilityX (const ComplexField2D &field)
 Performs marginal probability x.
 
static double profileCorrelation (const std::vector< float > &a, const std::vector< float > &b, double dx=1.0) noexcept
 Performs profile correlation.
 
static std::vector< float > circularShiftHalfPeriod (const std::vector< float > &profile, double period, double dx)
 Performs circular shift half period.
 

Detailed Description

Implements the Quantum Talbot2D component.

The class provides one focused service within the QPE architecture and is documented here independently of the experiment-level Help.

Definition at line 58 of file quantumtalbot2d.h.

Member Function Documentation

◆ circularShiftHalfPeriod()

std::vector< float > qpe::QuantumTalbot2D::circularShiftHalfPeriod ( const std::vector< float > & profile,
double period,
double dx )
static

Performs circular shift half period.

Parameters
profileThe profile value used by the operation.
periodThe period value used by the operation.
dxThe dx value used by the operation.

Definition at line 193 of file quantumtalbot2d.cpp.

Referenced by qpe::QuantumTalbotHistory2D::captureReference(), and qpe::tests::runQuantumTalbot2DTests().

◆ initialize()

◆ marginalProbabilityX()

std::vector< float > qpe::QuantumTalbot2D::marginalProbabilityX ( const ComplexField2D & field)
static

◆ profileCorrelation()

double qpe::QuantumTalbot2D::profileCorrelation ( const std::vector< float > & a,
const std::vector< float > & b,
double dx = 1.0 )
staticnoexcept

Performs profile correlation.

Parameters
aThe a value used by the operation.
bThe b value used by the operation.
dxThe dx value used by the operation.

Definition at line 172 of file quantumtalbot2d.cpp.

Referenced by qpe::QuantumTalbotHistory2D::append(), and qpe::tests::runQuantumTalbot2DTests().

◆ talbotTime()

double qpe::QuantumTalbot2D::talbotTime ( double period,
double mass,
double hbar = 1.0 )
staticnoexcept

Performs talbot time.

Parameters
periodThe period value used by the operation.
massThe mass value used by the operation.
hbarThe hbar value used by the operation.

Definition at line 143 of file quantumtalbot2d.cpp.

Referenced by QuantumTalbotPlotWidget::paintEvent(), qpe::tests::runQuantumTalbot2DTests(), and MainWindow::updateTalbotAnalysis().

◆ validateConfig()

bool qpe::QuantumTalbot2D::validateConfig ( const QuantumTalbotInitialState2DConfig & config,
std::string * reason = nullptr )
staticnoexcept

Validates config.

Parameters
configConfiguration to apply.
reasonThe reason value used by the operation.

Definition at line 59 of file quantumtalbot2d.cpp.

Referenced by qpe::QuantumTalbotHistory2D::captureReference(), initialize(), qpe::tests::runQuantumTalbot2DTests(), and qpe::anonymous_namespace{experimentdocument2d.cpp}::talbotInitialStateFromJson().


The documentation for this class was generated from the following files: