toqito.states.trine¶
Trine states are states of linear polarization separated by 60°.
Module Contents¶
- toqito.states.trine.trine()[source]¶
Produce the set of trine states (Slide 6 of [@Yard_2017_Lecture11]).
The trine states are formally defined as:
- [
u_1 = |0rangle, quad u_1 = -frac{1}{2}left(|0rangle + sqrt{3}|1rangleright), quad text{and} quad u_2 = -frac{1}{2}left(|0rangle - sqrt{3}|1rangleright).
]
Examples
Generating the trine states can be done by simply invoking the function:
`python exec="1" source="above" from toqito.states import trine print(trine()) `- Returns:
Vector of trine states.
- Return type:
list[numpy.ndarray]