qgates.states¶
You can read more about quantum states here.
-
qgates.states.
BELL00
= array([0.70710678, 0. , 0. , 0.70710678])¶ Bell state 00 \(\ket{\Phi^+} = \frac{1}{\sqrt2}(\ket{0_A} \otimes \ket{0_B} + \ket{1_A} \otimes \ket{1_B})\)
-
qgates.states.
BELL01
= array([0. , 0.70710678, 0.70710678, 0. ])¶ Bell state 00 \(\ket{\Phi^-} = \frac{1}{\sqrt2}(\ket{0_A} \otimes \ket{0_B} - \ket{1_A} \otimes \ket{1_B})\)
-
qgates.states.
BELL10
= array([ 0.70710678, 0. , 0. , -0.70710678])¶ Bell state 00 \(\ket{\Psi^+} = \frac{1}{\sqrt2}(\ket{0_A} \otimes \ket{1_B} + \ket{1_A} \otimes \ket{0_B})\)
-
qgates.states.
BELL11
= array([ 0. , 0.70710678, -0.70710678, 0. ])¶ Bell state 00 \(\ket{\Psi^+} = \frac{1}{\sqrt2}(\ket{0_A} \otimes \ket{1_B} - \ket{1_A} \otimes \ket{0_B})\)
-
qgates.states.
QB0
= array([1, 0])¶ Qubit with the state: \(\ket{0}\)
-
qgates.states.
QB00
= array([1, 0, 0, 0])¶ Qubit with the state: \(\ket{00}\)
-
qgates.states.
QB01
= array([0, 1, 0, 0])¶ Qubit with the state: \(\ket{01}\)
-
qgates.states.
QB1
= array([0, 1])¶ Qubit with the state: \(\ket{1}\)
-
qgates.states.
QB10
= array([0, 0, 1, 0])¶ Qubit with the state: \(\ket{10}\)
-
qgates.states.
QB11
= array([0, 0, 0, 1])¶ Qubit with the state: \(\ket{11}\)