Skip to content

SPA-QIN BellStates Class

This part of the project documentation focuses on a BellStates object containing ready to use Bell states in matrix form.

Usage

In your code:

from spq_qin.bell_states import BellStates 

Class members

You can access BellStates class members:

Available states:

  • PhiPlus: $ \ket{\Phi^+} = \frac{1}{\sqrt{2}}(\ket{00} + \ket{11}) $
  • PhiMinus: $ \ket{\Phi^-} = \frac{1}{\sqrt{2}}(\ket{00} - \ket{11}) $
  • PsiPlus: $ \ket{\Psi^+} = \frac{1}{\sqrt{2}}(\ket{01} + \ket{10}) $
  • PsiMinus: $ \ket{\Psi^-} = \frac{1}{\sqrt{2}}(\ket{01} - \ket{10}) $

Bell states in spa_qin are defined in density matrix form

Example usage:

from spq_qin.bell_states import BellStates

print(BellStates.PsiPlus)