Quantum Phenomena Explorer 7.9.8
Interactive quantum-phenomena Explorer Tutor — source documentation
Loading...
Searching...
No Matches
wavepacketkinematics.h
Go to the documentation of this file.
1/**
2 * @file wavepacketkinematics.h
3 * @brief Declares the wavepacketkinematics physics/numerical component used by QPE experiments.
4 * @ingroup qpe_quantum
5 *
6 * Source: @c core/quantum/wavepacketkinematics.h. This file is part of Quantum Phenomena Explorer (QPE),
7 * maintained by Officina Turini. See LICENSE_IT.txt / LICENSE.txt for the
8 * QPE freeware source-available terms and THIRD_PARTY_NOTICES.txt for
9 * third-party components.
10 */
11
12#pragma once
13
14namespace qpe {
15
16/**
17 * @brief Implements the Wave Packet Kinematics component.
18 *
19 * The class provides one focused service within the QPE architecture and is documented here independently of the experiment-level Help.
20 */
22{
23public:
24 // Central kinetic energy of a 2D packet in non-relativistic mechanics:
25 // E = (px^2 + py^2) / (2m)
26 /**
27 * @brief Performs kinetic energy.
28 * @param momentumX The momentum x value used by the operation.
29 * @param momentumY The momentum y value used by the operation.
30 * @param mass The mass value used by the operation.
31 */
32 static double kineticEnergy(double momentumX,
33 double momentumY,
34 double mass) noexcept;
35
36 // Longitudinal kinetic energy along X. For a vertical barrier V(x), py is
37 // conserved and the 1D transmission formula must use Ex, not total E.
38 /**
39 * @brief Performs kinetic energy x.
40 * @param momentumX The momentum x value used by the operation.
41 * @param mass The mass value used by the operation.
42 */
43 static double kineticEnergyX(double momentumX,
44 double mass) noexcept;
45};
46
47} // namespace qpe
Implements the Wave Packet Kinematics component.
static double kineticEnergy(double momentumX, double momentumY, double mass) noexcept
Performs kinetic energy.
static double kineticEnergyX(double momentumX, double mass) noexcept
Performs kinetic energy x.