How to Calculate Expectation Value Using Trace?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 13K views
cscott
Messages
778
Reaction score
1

Homework Statement

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

I have [itex]\sigma[/itex] and [itex]\rho[/itex] 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 [itex]\sigma[/itex] using density matrix [itex]\rho[/itex] in a trace: [itex]Tr\left(\sigma\rho\right)[/itex]

I have [itex]\sigma[/itex] and [itex]\rho[/itex] 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. [tex]Tr\left(|a><b|\right) = <b|a>[/tex]

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

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

[tex] \mathrm{Tr}\left( \sum_i | a_i \rangle \langle b_i| \right) = \sum_i \mathrm{Tr}\left( | a_i \rangle \langle b_i| \right)[/tex]

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

[tex] \mathrm{Tr}\left( \sum_i | a_i \rangle \langle b_i| \right) = \sum_i \mathrm{Tr}\left( | a_i \rangle \langle b_i| \right)[/tex]

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 [itex]\Lambda\rho[/itex] and then sum the diagonal entries to compute the trace?
 
I got the correct answer. Thanks guys.