I wonder if $X:=\{a\}$ is a Hausdorff space.
Definition;
$A$ is a Hausdorff space $\iff \forall x,y \in A(x\neq y); \exists \text{ open set } U,V s.t. x\in U,y\in V, U\cap V=\phi.$
But we cannot pick up two elements from $X=\{a\}.$
How should I judge whether $X$ is a Hausdorff space or not?
It is a Hausdorff space since that condition is trivially true, by the reason that you have mentioned: there are no two distinct elements on $X$. By the same argument, every function whose domain is a singleton is injective.