Shared symmetries of the hydrogen atom and the two-bit system