I'm trying to prove that the circle group $\mathbb{T}$ is isomorphic to $\mathbb{R} \oplus \mathbb{Q}/\mathbb{Z}$ with a little bit of cardinal arithmetics. First, I know that $\mathbb{T}$ can be decomposed (structure theorem of divisible groups) as a direct sum of $\mathbb{Q}^X$ for some set $X$ and its torsion subgroup (which is isomorphic to $\mathbb{Q}/\mathbb{Z}$).
I'd like to say that $|X| = |\mathbb{R}|$ (thus $\mathbb{Q}^X \cong \mathbb{R}$ as $\mathbb{Q}$ vector spaces and the desired result follows), however, I don't see how can I show this.
My reasoning was: $|\mathbb{R}|=|\mathbb{T}|=|\mathbb{Q}^X||\mathbb{Q}/\mathbb{Z}|$, then it must be the case that $|\mathbb{T}|=|\mathbb{Q}^X|$ and $|\mathbb{R}|=|\mathbb{Q}^X|$, and here I'm stuck because I cannot conclude that $|X|$ must be $|\mathbb{R}|$ (as counterexample, $|\mathbb{R}| = |\mathbb{Q}^{\mathbb{N}}|$).
Is there a way to prove that $|X| = |\mathbb{R}|$ or should I try another reasoning not involving cardinals?
Edit: forgot $\mathbb{Q}^{X}$ is a direct sum of copies of $\mathbb{Q}$ (is not the whole direct product because $X$ cannot be finite), so my "counterexample" is useless but still cannot see the equality.
I'm not sure how to make it work via cardinal arithmetic, but here is a direct proof.
First, a vector spaces over $\mathbb{Q}$, both $\mathbb{R}$ and $\mathbb{R}\oplus\mathbb{Q}$ have dimension $|\mathbb{R}|$, so they are isomorphic.
Choose an isomoprhism $f:\mathbb{R}\rightarrow \mathbb{R}\oplus\mathbb{Q}$ once and for all. Let $z= f^{-1}(0,1)$. Since $f$ is a homormorphism, $z\neq 0$, so $\langle z\rangle$ is isomorphic to $\mathbb{Z}$.
Then $f$ induces an isomorphism between $\mathbb{R}/\langle z\rangle \cong \mathbb{R}/\mathbb{Z}\cong S^1$ and $\mathbb{R}\oplus \mathbb{Q}/\langle (0,1)\rangle = \mathbb{R}\oplus (\mathbb{Q}/\mathbb{Z})$.