test2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| test2 [August 24, 2026 at 15:04] – Ivan Janevski | test2 [August 24, 2026 at 15:14] (current) – Ivan Janevski | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| \begin{document} | \begin{document} | ||
| - | \def\thetaAngle{50} | + | \def\thetaAngle{90} |
| - | \def\phiAngle{40} | + | \def\phiAngle{0} |
| - | \begin{blochsphere}[radius=3cm, | + | \begin{blochsphere}[radius=2cm, |
| \drawBallGrid[style={opacity=0.15}]{30}{30} | \drawBallGrid[style={opacity=0.15}]{30}{30} | ||
| Line 16: | Line 16: | ||
| \drawStatePolar[axisarrow=true, | \drawStatePolar[axisarrow=true, | ||
| - | \node[right] at (xaxis) {$x$}; | + | |
| - | \node[left] at (yaxis) {$y$}; | + | \node[right] at (yaxis) {$y$}; |
| \node[above] at (zaxis) {$z$}; | \node[above] at (zaxis) {$z$}; | ||
| - | \drawStatePolar[statecolor=red, | + | \drawStatePolar[statecolor=red, |
| - | \node[right] at (state) {$|\psi\rangle$}; | + | \node[below right] at (state) {$|+\rangle$}; |
| \labelLatLon{north}{90}{0} | \labelLatLon{north}{90}{0} | ||
| \labelLatLon{south}{-90}{0} | \labelLatLon{south}{-90}{0} | ||
| + | |||
| \node[above] at (north) {$|0\rangle$}; | \node[above] at (north) {$|0\rangle$}; | ||
| \node[below] at (south) {$|1\rangle$}; | \node[below] at (south) {$|1\rangle$}; | ||
| - | |||
| - | % theta: meridional plane containing the state | ||
| - | \setLongitudinalDrawingPlane{\phiAngle} | ||
| - | |||
| - | \begin{scope}[current plane] | ||
| - | \fill[opacity=0.15] | ||
| - | (0,0) -- | ||
| - | (90:0.75) | ||
| - | arc[start angle=90, | ||
| - | -- cycle; | ||
| - | |||
| - | \draw[-> | ||
| - | (90:0.75) | ||
| - | arc[start angle=90, | ||
| - | |||
| - | \node at ({90-\thetaAngle/ | ||
| - | \end{scope} | ||
| \end{blochsphere} | \end{blochsphere} | ||
| \end{document} | \end{document} | ||
test2.1787583866.md.gz · Last modified: by Ivan Janevski
