@JohnRennie It's not the Heisenberg uncertainty principle, this is either the lifetime formula for
resonances or a heuristic from the golden rule (see e.g.
physics.stackexchange.com/a/222385/50583 for a simple heuristic derivation). People often
call this the HUP so they don't have to derive it, but the HUP does not apply to time and energy as time is not an operator.