As you can see, start qubit is $|0 \rangle$ and after 'X' gate, the result will be $|1 \rangle$. And I checked if the result of quantum circuit and density matrix form of $|1 \rangle$ are different. As you can see, they are different.
Here are my questions.
- Why it occurs?
- If they are different, is my calculation wrong?