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:02] – Ivan Janevski | test2 [August 24, 2026 at 15:14] (current) – Ivan Janevski | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| \begin{document} | \begin{document} | ||
| - | \begin{blochsphere}[radius=3cm, | + | \def\thetaAngle{90} |
| + | \def\phiAngle{0} | ||
| + | |||
| + | \begin{blochsphere}[radius=2cm, | ||
| \drawBallGrid[style={opacity=0.15}]{30}{30} | \drawBallGrid[style={opacity=0.15}]{30}{30} | ||
| Line 13: | 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 sector | ||
| - | \fill[opacity=0.15] | ||
| - | (0,0) -- | ||
| - | (90:0.48) arc[start angle=90, | ||
| - | cycle; | ||
| - | \draw[-> | ||
| - | (90:0.48) arc[start angle=90, | ||
| - | \node at (65:0.62) {$\theta$}; | ||
| - | |||
| - | % phi sector | ||
| - | \begin{scope}[xscale=1, | ||
| - | \fill[opacity=0.15] | ||
| - | (0,0) -- | ||
| - | (0:0.65) arc[start angle=0,end angle=40, | ||
| - | cycle; | ||
| - | \draw[-> | ||
| - | (0:0.65) arc[start angle=0,end angle=40, | ||
| - | \node at (20:0.82) {$\phi$}; | ||
| - | \end{scope} | ||
| \end{blochsphere} | \end{blochsphere} | ||
| \end{document} | \end{document} | ||
test2.1787583737.md.gz · Last modified: by Ivan Janevski
