How to Calculate Expectation Value Using Trace?

cscott
Messages
778
Reaction score
1

Homework Statement

How do I get the expectation value of operator \sigma using density matrix \rho in a trace: Tr\left(\sigma\rho\right)

I have \sigma and \rho in matrix form but how do I get a number out of the trace?
 
Physics news on Phys.org
cscott said:

Homework Statement




How do I get the expectation value of operator \sigma using density matrix \rho in a trace: Tr\left(\sigma\rho\right)

I have \sigma and \rho in matrix form but how do I get a number out of the trace?

I am not sure I follow your question. Do you know what it means to take the trace of a matrix?
 
I do if it involves just a bra and ket

i.e. Tr\left(|a><b|\right) = <b|a>

I've been shown <\Lambda> = Tr\left(\Lambda\rho\right)

But I have rho and lambda in matrix form and not as a product of bra's and ket's
 
The trace is additive, so

<br /> \mathrm{Tr}\left( \sum_i | a_i \rangle \langle b_i| \right) = \sum_i \mathrm{Tr}\left( | a_i \rangle \langle b_i| \right)<br />

If you have a matrix, this greatly simplifies. It's just the sum of the diagonal entries.
 
Last edited:
Hurkyl said:
The trace is additive, so

<br /> \mathrm{Tr}\left( \sum_i | a_i \rangle \langle b_i| \right) = \sum_i \mathrm{Tr}\left( | a_i \rangle \langle b_i| \right)<br />

If you have a matrix, this greatly simplifies. It's just the sum of the diagonal entries.

Ahh I remember that now.

So I just take the matrix product \Lambda\rho and then sum the diagonal entries to compute the trace?
 
I got the correct answer. Thanks guys.
 
Thread 'Need help understanding this figure on energy levels'
This figure is from "Introduction to Quantum Mechanics" by Griffiths (3rd edition). It is available to download. It is from page 142. I am hoping the usual people on this site will give me a hand understanding what is going on in the figure. After the equation (4.50) it says "It is customary to introduce the principal quantum number, ##n##, which simply orders the allowed energies, starting with 1 for the ground state. (see the figure)" I still don't understand the figure :( Here is...
Thread 'Understanding how to "tack on" the time wiggle factor'
The last problem I posted on QM made it into advanced homework help, that is why I am putting it here. I am sorry for any hassle imposed on the moderators by myself. Part (a) is quite easy. We get $$\sigma_1 = 2\lambda, \mathbf{v}_1 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \sigma_2 = \lambda, \mathbf{v}_2 = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{pmatrix} \sigma_3 = -\lambda, \mathbf{v}_3 = \begin{pmatrix} 1/\sqrt{2} \\ -1/\sqrt{2} \\ 0 \end{pmatrix} $$ There are two ways...
Back
Top