Message Boards Message Boards

3 Replies
0 Total Likes
View groups...
Share this post:

How can i calculate negativity correctly?

Posted 4 months ago

I tried to plot negativity that is defined as follow:

N = Trace(Sqrt(A.A_dagger))-1 (1)

the plot should start from ~0.41 or ~0.82 in r=0.01 (i don't know which one exactly) and decrease versus r. r range is 0 to 0.8

notice that first we must diagonal the matrix (calculating the eigenvalues) then taking square root of the eigenvalues. then we need to sum the eigenvalues using Total function (its like to calculate the trace of the diagonal matrix).

after that we need to do a sum from m = 0 to infinity (i know its not part of the eq (1) but we must do that. for more info look at the page 5 of the article)

also notice that the matrix is equal to its dagger so p = p-dagger

and notice that other way of calculating negativity is that to diagonal the matrix then use the eq (1)

here is my code

POSTED BY: Reza Hamzeh
3 Replies
Posted 4 months ago

how i can plot the negativity for a bosonic state where the matrix dimension is infinity?

POSTED BY: Reza Hamzeh
Posted 4 months ago

Crossposted here.

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract