quchip.utils.constants¶
Physical constants in quchip’s GHz, ns, and mK units.
Hamiltonians express E/h in GHz. Engine assembly converts to angular
frequency with 2π. Time is in ns and temperature in mK.
Values derive from SI defining constants and CODATA 2018, published by NIST (https://physics.nist.gov/cuu/Constants/), with unit conversions below.
Module Attributes
|
|
Boltzmann constant in |
|
Reduced Planck constant in SI units, |
|
Superconducting magnetic flux quantum |
- quchip.utils.constants.k_B: float = 0.020836619123327575¶
Boltzmann constant in
GHz / mK.Derived as
k_B / h(both exact since the 2019 SI redefinition), rescaled from Hz/K to GHz/mK: approximately2.0836619123e10 Hz/K, i.e.2.0836619123e-2 GHz/mK.
- quchip.utils.constants.hbar: float = 1.0545718176461565e-34¶
Reduced Planck constant in SI units,
J*s.Derived as
h / (2 * pi)withhexact (CODATA 2018 / 2019 SI redefinition). quchip’s own Hamiltonians work in ordinary frequency, so this value is only needed when cross-checking against SI expressions.