GisinState: Difference between revisions

From QETLAB
Jump to navigation Jump to search
Created page with "{{Function |name=GisinState |desc=Produces a two-qubit Gisin state |cat=Special states, vectors, and operators |up..."
 
No edit summary
 
Line 3: Line 3:
|desc=Produces a two-qubit Gisin state
|desc=Produces a two-qubit Gisin state
|cat=[[List of functions#Special_states,_vectors,_and_operators|Special states, vectors, and operators]]
|cat=[[List of functions#Special_states,_vectors,_and_operators|Special states, vectors, and operators]]
|upd=November 27, 2014}}
|upd=January 14, 2015}}
<tt>'''GisinState'''</tt> is a [[List of functions|function]] that produces a two-qubit "Gisin state", as defined in <ref name="Gis96">N. Gisin. Hidden quantum nonlocality revealed by local filters. 1996. [http://dx.doi.org/10.1016/S0375-9601(96)80001-6 doi:10.1016/S0375-9601(96)80001-6]</ref>, which has the following standard basis representation:
<tt>'''GisinState'''</tt> is a [[List of functions|function]] that produces a two-qubit "Gisin state", as defined in <ref name="Gis96">N. Gisin. Hidden quantum nonlocality revealed by local filters. 1996. [http://dx.doi.org/10.1016/S0375-9601(96)80001-6 doi:10.1016/S0375-9601(96)80001-6]</ref>, which has the following standard basis representation:
: <math>\rho_{\lambda,\theta} := \lambda\begin{bmatrix}0 & 0 & 0 & 0 \\ 0 & \sin^2(\theta) & -\sin(\theta)\cos(\theta) & 0 \\ 0 & -\sin(\theta)\cos(\theta) & \cos^2(\theta) & 0 \\ 0 & 0 & 0 & 0\end{bmatrix} + \frac{1-\lambda}{2}\begin{bmatrix}1 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1\end{bmatrix}.</math>
: <math>\rho_{\lambda,\theta} := \lambda\begin{bmatrix}0 & 0 & 0 & 0 \\ 0 & \sin^2(\theta) & -\sin(\theta)\cos(\theta) & 0 \\ 0 & -\sin(\theta)\cos(\theta) & \cos^2(\theta) & 0 \\ 0 & 0 & 0 & 0\end{bmatrix} + \frac{1-\lambda}{2}\begin{bmatrix}1 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1\end{bmatrix}.</math>

Latest revision as of 18:46, 14 January 2015

GisinState
Produces a two-qubit Gisin state

Other toolboxes required none
Function category Special states, vectors, and operators

GisinState is a function that produces a two-qubit "Gisin state", as defined in [1], which has the following standard basis representation:

<math>\rho_{\lambda,\theta} := \lambda\begin{bmatrix}0 & 0 & 0 & 0 \\ 0 & \sin^2(\theta) & -\sin(\theta)\cos(\theta) & 0 \\ 0 & -\sin(\theta)\cos(\theta) & \cos^2(\theta) & 0 \\ 0 & 0 & 0 & 0\end{bmatrix} + \frac{1-\lambda}{2}\begin{bmatrix}1 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1\end{bmatrix}.</math>

Syntax

  • GISIN_STATE = GisinState(LAMBDA,THETA)

Argument descriptions

  • LAMBDA: A real number between 0 and 1.
  • THETA: A real number.

Examples

The following code generates the Gisin state $\rho_{0.5,1}$:

>> GisinState(0.5,1)

ans =

    0.2500         0         0         0
         0    0.3540   -0.2273         0
         0   -0.2273    0.1460         0
         0         0         0    0.2500

Source code

Click here to view this function's source code on github.

References

  1. N. Gisin. Hidden quantum nonlocality revealed by local filters. 1996. doi:10.1016/S0375-9601(96)80001-6