|
Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
|
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. | |
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.
|
static |
Performs circular shift half period.
| profile | The profile value used by the operation. |
| period | The period value used by the operation. |
| dx | The dx value used by the operation. |
Definition at line 193 of file quantumtalbot2d.cpp.
Referenced by qpe::QuantumTalbotHistory2D::captureReference(), and qpe::tests::runQuantumTalbot2DTests().
|
static |
Initializes ialize.
| field | Field data to read or modify. |
| config | Configuration to apply. |
| hbar | The hbar value used by the operation. |
| reason | The reason value used by the operation. |
Definition at line 83 of file quantumtalbot2d.cpp.
References qpe::QuantumTalbotInitialState2DConfig::centerY, qpe::ComplexField2D::dx(), qpe::ComplexField2D::empty(), qpe::ComplexField2D::height(), qpe::QuantumTalbotInitialState2DConfig::momentumY, qpe::ComplexField2D::normalize(), qpe::QuantumTalbotInitialState2DConfig::offsetX, qpe::QuantumTalbotInitialState2DConfig::period, qpe::QuantumTalbotInitialState2DConfig::sigmaY, qpe::QuantumTalbotInitialState2DConfig::toothSigma, validateConfig(), qpe::ComplexField2D::width(), qpe::GaussianPacket2D::xCoordinate(), and qpe::GaussianPacket2D::yCoordinate().
Referenced by MainWindow::prepareConfiguredInitialState(), and qpe::tests::runQuantumTalbot2DTests().
|
static |
Performs marginal probability x.
| field | Field data to read or modify. |
Definition at line 154 of file quantumtalbot2d.cpp.
References qpe::ComplexField2D::dy(), qpe::ComplexField2D::empty(), qpe::ComplexField2D::height(), and qpe::ComplexField2D::width().
Referenced by qpe::QuantumTalbotHistory2D::append(), qpe::QuantumTalbotHistory2D::captureReference(), and qpe::tests::runQuantumTalbot2DTests().
|
staticnoexcept |
Performs profile correlation.
| a | The a value used by the operation. |
| b | The b value used by the operation. |
| dx | The dx value used by the operation. |
Definition at line 172 of file quantumtalbot2d.cpp.
Referenced by qpe::QuantumTalbotHistory2D::append(), and qpe::tests::runQuantumTalbot2DTests().
|
staticnoexcept |
Performs talbot time.
| period | The period value used by the operation. |
| mass | The mass value used by the operation. |
| hbar | The hbar value used by the operation. |
Definition at line 143 of file quantumtalbot2d.cpp.
Referenced by QuantumTalbotPlotWidget::paintEvent(), qpe::tests::runQuantumTalbot2DTests(), and MainWindow::updateTalbotAnalysis().
|
staticnoexcept |
Validates config.
| config | Configuration to apply. |
| reason | The 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().