|
Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
|
Implements the Quantum Revivals2D component. More...
#include <quantumrevivals2d.h>
Static Public Member Functions | |
| static bool | identifyBox (const PotentialScene2D &scene, QuantumBoxGeometry2D &geometry, std::string *reason=nullptr) noexcept |
| Returns identify box. | |
| static double | revivalTime (double boxLength, double mass, double hbar=1.0) noexcept |
| Performs revival time. | |
| static double | revivalTimeX (const QuantumBoxGeometry2D &geometry, double mass, double hbar=1.0) noexcept |
| Performs revival time x. | |
| static double | revivalTimeY (const QuantumBoxGeometry2D &geometry, double mass, double hbar=1.0) noexcept |
| Performs revival time y. | |
| static std::vector< float > | marginalProbabilityX (const ComplexField2D &field) |
| Performs marginal probability x. | |
| static double | fidelity (const ComplexField2D &reference, const ComplexField2D &field) noexcept |
| Performs fidelity. | |
Implements the Quantum Revivals2D component.
The class provides one focused service within the QPE architecture and is documented here independently of the experiment-level Help.
Definition at line 57 of file quantumrevivals2d.h.
|
staticnoexcept |
Performs fidelity.
| reference | The reference value used by the operation. |
| field | Field data to read or modify. |
Definition at line 179 of file quantumrevivals2d.cpp.
Referenced by qpe::QuantumRevivalHistory2D::append(), and qpe::tests::runQuantumRevivals2DTests().
|
staticnoexcept |
Returns identify box.
| scene | The scene value used by the operation. |
| geometry | The geometry value used by the operation. |
| reason | The reason value used by the operation. |
Definition at line 48 of file quantumrevivals2d.cpp.
References qpe::PotentialObject2D::centerX, qpe::PotentialObject2D::centerY, qpe::PotentialObject2D::height, qpe::Rectangle, qpe::PotentialObject2D::value, and qpe::PotentialObject2D::width.
Referenced by MainWindow::resetSimulation(), and qpe::tests::runQuantumRevivals2DTests().
|
static |
Performs marginal probability x.
| field | Field data to read or modify. |
Definition at line 160 of file quantumrevivals2d.cpp.
References qpe::ComplexField2D::dy(), qpe::ComplexField2D::empty(), qpe::ComplexField2D::height(), and qpe::ComplexField2D::width().
Referenced by qpe::QuantumRevivalHistory2D::append(), and qpe::tests::runQuantumRevivals2DTests().
|
staticnoexcept |
Performs revival time.
| boxLength | The box length value used by the operation. |
| mass | The mass value used by the operation. |
| hbar | The hbar value used by the operation. |
Definition at line 135 of file quantumrevivals2d.cpp.
|
staticnoexcept |
Performs revival time x.
| geometry | The geometry value used by the operation. |
| mass | The mass value used by the operation. |
| hbar | The hbar value used by the operation. |
Definition at line 146 of file quantumrevivals2d.cpp.
Referenced by QuantumRevivalPlotWidget::paintEvent(), qpe::tests::runQuantumRevivals2DTests(), and MainWindow::updateRevivalAnalysis().
|
staticnoexcept |
Performs revival time y.
| geometry | The geometry value used by the operation. |
| mass | The mass value used by the operation. |
| hbar | The hbar value used by the operation. |
Definition at line 153 of file quantumrevivals2d.cpp.
Referenced by qpe::tests::runQuantumRevivals2DTests(), and MainWindow::updateRevivalAnalysis().