Suppose that there is an ensemble with 60% of the states prepared in
$$|a\rangle=\sqrt{\frac{2}{5}}|+\rangle-\sqrt{\frac{3}{5}}|-\rangle$$ and 40% in:
$$|b\rangle=\sqrt{\frac{5}{8}}|+\rangle+\sqrt{\frac{3}{8}}|-\rangle$$
I've considered two ways to calculate this. For the first, one could replace the $|+\rangle$ and $|-\rangle$ and calculate the density matrix as usual in $0,1$ base. Another possibility would be to calculate the density matrix in $\{|+\rangle,|-\rangle\}$ basis and then to convert it into a corresponding $|0\rangle$ $|1\rangle$ density matrix. My question, how would you proceed here?
But I'm not sure if both ways come to the same result?
The density matrix in $\{|+\rangle,|-\rangle\}$ Base is: $$\rho_a=\frac{2}{3}|+\rangle\langle+|-\frac{\sqrt{6}}{5}|+\rangle\langle-|-\frac{\sqrt{6}}{5}|-\rangle\langle+|+\frac{3}{5}|-\rangle\langle-|$$ $$\rho_b=\frac{5}{8}|+\rangle\langle+|+\frac{\sqrt{15}}{8}|+\rangle\langle-|+\frac{\sqrt{15}}{8}|-\rangle\langle+|+\frac{3}{8}|-\rangle\langle-|$$ $$\rho=\frac{2}{5}p_b+\frac{3}{5}p_a=\begin{pmatrix}\frac{49}{100}&\frac{5\sqrt{15}-12\sqrt{6}}{100}\\\frac{5\sqrt{15}-12\sqrt{6}}{100}&\frac{41}{100}\end{pmatrix}$$
Now the question is, can one translate this density matrix $p$ from $\{|+\rangle,|-\rangle\}$ into the $\{|0\rangle, |1\rangle\}$ basis?
or should one have started like this:
$$|a\rangle=\sqrt{\frac{2}{5}}|+\rangle-\sqrt{\frac{3}{5}}|-\rangle=\sqrt{\frac{2}{5}}\left(\frac{|0\rangle+|1\rangle}{\sqrt{2}}\right)-\sqrt{\frac{3}{5}}\left(\frac{|0\rangle-|1\rangle}{\sqrt{2}}\right)$$
Then calculate the same for $|b\rangle$ and then the density matrix
Then I would be interested, for this question, I did not want to open a new topic. Suppose we have the following density matrix:
$$\rho=\begin{pmatrix}\frac{2}{5}&\frac{-i}{8}\\\frac{i}{8}&\frac{3}{5}\end{pmatrix}$$
What is the probability that the system is in state 0? I would say 2/5 so 40%, but according to the solution that is not true. So my question is why is not that true?
I have found these tasks out of interest and try to work on them. But I wanted to get some advice from those present ...