Curious Mathematica Result, Evaluating Bell Ineqality

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
3 replies · 2K views
daverace
Messages
3
Reaction score
0
Hi guys, first post, sorry if it's in the wrong place. Frequent visitor, you seem to help pretty comprehensively.

I'm using mathematica to calculate a bell inequality, with a general noisy quantum state. However, when I evaluate it, I get a sequence with an a in the result.. which isn't a declared variable. I'm not really sure what it means, and given the generality of 'a', googling it is pretty much impossible. The question I'm asking is, what on Earth is this 'a'? If it was 'i', I'd know how to start looking for a solution, but this is just strange.

I should be getting a value of 3.414 or so (maximum violation for a quantum state)

Here's an example of what I'm getting
Code:
Evaluate[B1,q=1]
Sequence[2.28222 + 0.0266136 a, 1]



Homework Equations



Here's the equations I'm using, if they're at all relevant.
Code:
x = ArcTan[q]
A = (Cos[x/2]^2)/2
B = (Sin[x/2]^2)/2
ab00 = A (2 - q)
ab01 = B (2 - q)
c = (Cos[x/2] + Sin[x/2])/4
d = (Cos[x/2] - Sin[x/2])/4
B1 = ab00 + ab00 + 2 c (q) + 2 q (A) + 2 a (B) + 2 q (d)


The Attempt at a Solution



No attempted solution, just too confused!
 
Physics news on Phys.org
The actual terms for the X0Y0 measurements and X0Y1's are the same (hence me using ab00 twice). (edit:) The ab01 is used elsewhere in the calculations, didn't realized I'd copied it twice, by accident.

It's not the exact terms that's the problem, repetition, whether I've got the Bell Inequality right etc.

It's why has this 2.0.. + 1.00a, that a, turned up in the answer?
 
Haha, nevermind. I typoed the a. Man I'm stupid for not checking that. Sorry for wasting your time there :]