|
Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
|
Implements the Quantum Berry Phase2D component. More...
#include <quantumberryphase2d.h>
Static Public Member Functions | |
| static bool | validateConfig (const QuantumBerryLoop2DConfig &config, const QuantumBerryTrap2D &trap, const char **reason=nullptr) noexcept |
| Validates config. | |
| static bool | identifyTrap (const PotentialScene2D &scene, QuantumBerryTrap2D &trap, const char **reason=nullptr) noexcept |
| Returns identify trap. | |
| static QuantumBerryLoop2DState | state (const QuantumBerryLoop2DConfig &config, double time) noexcept |
| Performs state. | |
| static QuantumBerryLoop2DState | rasterize (const PotentialScene2D &baseScene, const QuantumBerryTrap2D &trap, const QuantumBerryLoop2DConfig &config, double time, PotentialField2D &target) |
| Performs rasterize. | |
| static bool | prepareFirstExcited (ComplexField2D &field, const QuantumBerryTrap2D &trap, const QuantumBerryLoop2DConfig &config, double mass, double hbar) noexcept |
| Prepares first excited. | |
| static std::complex< double > | normalizedOverlap (const ComplexField2D &a, const ComplexField2D &b) noexcept |
| Returns normalized overlap. | |
| static double | wrapPhase (double radians) noexcept |
| Performs wrap phase. | |
| static double | expectedBerryPhase (const QuantumBerryLoop2DConfig &config) noexcept |
| Performs expected berry phase. | |
| static double | doubletGap (const QuantumBerryTrap2D &trap, const QuantumBerryLoop2DConfig &config, double mass, double hbar=1.0) noexcept |
| Performs doublet gap. | |
| static double | adiabaticRatio (const QuantumBerryTrap2D &trap, const QuantumBerryLoop2DConfig &config, double mass, double hbar=1.0) noexcept |
| Performs adiabatic ratio. | |
Implements the Quantum Berry Phase2D component.
The class provides one focused service within the QPE architecture and is documented here independently of the experiment-level Help.
Definition at line 105 of file quantumberryphase2d.h.
|
staticnoexcept |
Performs adiabatic ratio.
| trap | The trap value used by the operation. |
| config | Configuration to apply. |
| mass | The mass value used by the operation. |
| hbar | The hbar value used by the operation. |
Definition at line 245 of file quantumberryphase2d.cpp.
Referenced by qpe::tests::runQuantumBerryPhase2DTests(), and MainWindow::updateQuantumBerryAnalysis().
|
staticnoexcept |
Performs doublet gap.
| trap | The trap value used by the operation. |
| config | Configuration to apply. |
| mass | The mass value used by the operation. |
| hbar | The hbar value used by the operation. |
Definition at line 232 of file quantumberryphase2d.cpp.
Referenced by qpe::tests::runQuantumBerryPhase2DTests(), and MainWindow::updateQuantumBerryAnalysis().
|
staticnoexcept |
Performs expected berry phase.
| config | Configuration to apply. |
Definition at line 227 of file quantumberryphase2d.cpp.
|
staticnoexcept |
Returns identify trap.
| scene | The scene value used by the operation. |
| trap | The trap value used by the operation. |
| reason | The reason value used by the operation. |
Definition at line 58 of file quantumberryphase2d.cpp.
References qpe::PotentialObject2D::centerX, qpe::PotentialObject2D::centerY, qpe::PotentialObject2D::curvatureX, qpe::PotentialObject2D::curvatureY, qpe::Harmonic, qpe::PotentialObject2D::valid(), and qpe::PotentialObject2D::value.
Referenced by MainWindow::prepareConfiguredInitialState(), qpe::anonymous_namespace{experimentdocument2d.cpp}::quantumBerryFromJson(), MainWindow::refreshPotentialSceneControls(), qpe::tests::runQuantumBerryPhase2DTests(), and MainWindow::updateQuantumBerryPotential().
|
staticnoexcept |
Returns normalized overlap.
| a | The a value used by the operation. |
| b | The b value used by the operation. |
Definition at line 199 of file quantumberryphase2d.cpp.
Referenced by qpe::QuantumBerryHistory2D::append().
|
staticnoexcept |
Prepares first excited.
| field | Field data to read or modify. |
| trap | The trap value used by the operation. |
| config | Configuration to apply. |
| mass | The mass value used by the operation. |
| hbar | The hbar value used by the operation. |
Definition at line 166 of file quantumberryphase2d.cpp.
References qpe::GaussianPacket2D::xCoordinate(), and qpe::GaussianPacket2D::yCoordinate().
Referenced by MainWindow::prepareConfiguredInitialState(), and qpe::tests::runQuantumBerryPhase2DTests().
|
static |
Performs rasterize.
| baseScene | The base scene value used by the operation. |
| trap | The trap value used by the operation. |
| config | Configuration to apply. |
| time | Simulation time in solver units. |
| target | The target value used by the operation. |
Definition at line 149 of file quantumberryphase2d.cpp.
References qpe::PotentialField2D::addQuadrupole(), qpe::QuantumBerryTrap2D::centerX, qpe::QuantumBerryTrap2D::centerY, qpe::QuantumBerryLoop2DState::q1, qpe::QuantumBerryLoop2DState::q2, qpe::PotentialScene2D::rasterize(), state(), qpe::QuantumBerryLoop2DState::valid, and validateConfig().
Referenced by qpe::tests::runQuantumBerryPhase2DTests(), and MainWindow::updateQuantumBerryPotential().
|
staticnoexcept |
Performs state.
| config | Configuration to apply. |
| time | Simulation time in solver units. |
Definition at line 117 of file quantumberryphase2d.cpp.
References qpe::QuantumBerryLoop2DState::active, qpe::QuantumBerryLoop2DState::finished, qpe::QuantumBerryLoop2DState::parameterAngle, qpe::QuantumBerryLoop2DState::principalAxisAngle, qpe::QuantumBerryLoop2DState::progress, qpe::QuantumBerryLoop2DState::q1, qpe::QuantumBerryLoop2DState::q2, and qpe::QuantumBerryLoop2DState::valid.
Referenced by MainWindow::advanceSimulation(), rasterize(), MainWindow::resetSimulation(), qpe::tests::runQuantumBerryPhase2DTests(), and MainWindow::singleStep().
|
staticnoexcept |
Validates config.
| config | Configuration to apply. |
| trap | The trap value used by the operation. |
| reason | The reason value used by the operation. |
Definition at line 93 of file quantumberryphase2d.cpp.
Referenced by qpe::QuantumBerryHistory2D::configure(), MainWindow::prepareConfiguredInitialState(), qpe::anonymous_namespace{experimentdocument2d.cpp}::quantumBerryFromJson(), rasterize(), qpe::tests::runQuantumBerryPhase2DTests(), and MainWindow::updateQuantumBerryPotential().
|
staticnoexcept |
Performs wrap phase.
| radians | The radians value used by the operation. |
Definition at line 219 of file quantumberryphase2d.cpp.
Referenced by qpe::QuantumBerryHistory2D::append().