- #1
valesdn
- 42
- 1
Hi guys!
I have an unsolved problem. I'm going to calculate the concurrence for pure 2-qubit states:
|Ψ>=a| up up >+b|up down> +c|down up> +d | down down >
where up and down stay for uparrow and downarrow.
The concurrence is defined as:
C = 2|ad-bc|≥0
I have found the vector Ψ3= 1/2 (1,1, cos (φ/2) - sin (φ/2), cos (φ/2) + sin (φ/2)), by the effect of an entangling gate.
I have written the single elements of the vector as
a = Flatten[Ψ3][[1]]
b = Flatten[Ψ3][[1]]
and so on
but it is wrong.
The concurrence should be C=sin(φ/2).
Could you help me?
Thanks in advance.
Kind regards
I have an unsolved problem. I'm going to calculate the concurrence for pure 2-qubit states:
|Ψ>=a| up up >+b|up down> +c|down up> +d | down down >
where up and down stay for uparrow and downarrow.
The concurrence is defined as:
C = 2|ad-bc|≥0
I have found the vector Ψ3= 1/2 (1,1, cos (φ/2) - sin (φ/2), cos (φ/2) + sin (φ/2)), by the effect of an entangling gate.
I have written the single elements of the vector as
a = Flatten[Ψ3][[1]]
b = Flatten[Ψ3][[1]]
and so on
but it is wrong.
The concurrence should be C=sin(φ/2).
Could you help me?
Thanks in advance.
Kind regards