states.trine

Trine states are states of linear polarization separated by 60°.

Functions

trine()

Produce the set of trine states (Slide 6 of [1]).

Module Contents

states.trine.trine()

Produce the set of trine states (Slide 6 of [1]).

The trine states are formally defined as:

\[u_1 = |0\rangle, \quad u_1 = -\frac{1}{2}\left(|0\rangle + \sqrt{3}|1\rangle\right), \quad \text{and} \quad u_2 = -\frac{1}{2}\left(|0\rangle - \sqrt{3}|1\rangle\right).\]

Examples

Generating the trine states can be done by simply invoking the function:

>>> from toqito.states import trine
>>>
>>> trine()
[array([[1],
       [0]]), array([[-0.5      ],
       [-0.8660254]]), array([[-0.5      ],
       [ 0.8660254]])]

References

[1] (1,2)

Jon Yard. Introduction to quantum information processing. URL: https://www.math.uwaterloo.ca/~jyard/qic710/F17/Qic710Lec11-2017.pdf.

Returns:

Vector of trine states.

Return type:

list[numpy.ndarray]