Curious Mathematica Result, Evaluating Bell Ineqality

Click For Summary

Homework Help Overview

The discussion revolves around evaluating a Bell inequality using Mathematica, specifically in the context of a general noisy quantum state. The original poster expresses confusion over an unexpected variable 'a' appearing in the output of their calculations, which they did not declare, and contrasts this with their expectations of obtaining a specific numerical value.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to understand the significance of the variable 'a' in their Mathematica output and questions its origin. They also seek clarification on the structure of their equations and whether they are correctly set up to evaluate the Bell inequality.

Discussion Status

Participants are engaged in clarifying the original poster's equations and the presence of the variable 'a'. There is an indication of productive dialogue as one participant questions the formulation of the equations, while the original poster acknowledges a typographical error that led to the confusion.

Contextual Notes

The original poster notes that they expect a specific numerical result (approximately 3.414) for the maximum violation of the Bell inequality, which adds context to their inquiry about the unexpected variable in their output.

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
I can't claim to understand exactly what you are doing here, but in the last line should you have two ab00 terms instead of one ab00 and one ab01? If yes, why bother defining ab01?
 
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 :]
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
Replies
7
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
4K
Replies
12
Views
3K