Physics homework help

Physics homework help. Hello, i have attached the code of my problem, so in this code i am testing the Bell’s inequality that violated by quantum mechanics  that is the max value is 2*sqrt(2) for the two qbit which is psi=1/sqrt(2)*(|01>-|10>) so f=++= 2*sqrt(2) .In my code, i derived the f functions from this (psi=1/sqrt(2)*(|01>-|10>)) in spherical coordinate.   Actually, i run it and it worked fine but it gave me the max value only 2 ,  it should give me the max value 2.8 which is 2sqrt2 as the analytical solution.Could you please see it and find the problem why just give me 2 .

Physics homework help

Get Your Custom Essay Written From Scratch
We have worked on a similar problem. If you need help click order now button and submit your assignment instructions.
Just from $13/Page
Order Now