|
Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
|
Functions | |
| bool | near (double a, double b, double tolerance) noexcept |
| Performs near. | |
| double | safeFraction (double value, double norm) noexcept |
| Performs safe fraction. | |
| double | leftProbabilityForPhase (const BoundStateSpectrum1D &spectrum, int stateA, int stateB, double phase) |
| Performs left probability for phase. | |
Variables | |
| constexpr double | kPi = 3.141592653589793238462643383279502884 |
| double qpe::anonymous_namespace{coherenttunneling2d.cpp}::leftProbabilityForPhase | ( | const BoundStateSpectrum1D & | spectrum, |
| int | stateA, | ||
| int | stateB, | ||
| double | phase ) |
Performs left probability for phase.
| spectrum | The spectrum value used by the operation. |
| stateA | The state a value used by the operation. |
| stateB | The state b value used by the operation. |
| phase | The phase value used by the operation. |
Definition at line 55 of file coherenttunneling2d.cpp.
References qpe::BoundState1D::amplitude, qpe::BoundStateSpectrum1D::dx, leftProbabilityForPhase(), safeFraction(), qpe::BoundStateSpectrum1D::states, qpe::BoundStateSpectrum1D::valid, and qpe::BoundStateSpectrum1D::x.
Referenced by leftProbabilityForPhase().
|
noexcept |
Performs near.
| a | The a value used by the operation. |
| b | The b value used by the operation. |
| tolerance | The tolerance value used by the operation. |
Definition at line 33 of file coherenttunneling2d.cpp.
|
noexcept |
Performs safe fraction.
| value | Value to assign or evaluate. |
| norm | The norm value used by the operation. |
Definition at line 43 of file coherenttunneling2d.cpp.
References safeFraction().
Referenced by leftProbabilityForPhase(), and safeFraction().
|
constexpr |
Definition at line 25 of file coherenttunneling2d.cpp.