test1
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| test1 [August 24, 2026 at 14:51] – created Ivan Janevski | test1 [August 24, 2026 at 14:58] (current) – Ivan Janevski | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| \begin{document} | \begin{document} | ||
| - | \begin{blochsphere}[radius=1.5 cm, | + | \begin{blochsphere}[ |
| - | | + | |
| + | | ||
| + | | ||
| + | | ||
| + | ] | ||
| - | \drawStatePolar[ | + | \drawBallGrid[style={opacity=0.25}]{30}{30} |
| - | statecolor=red, | + | |
| - | statewidth=0.7 | + | |
| - | | + | |
| - | \drawAxis[style={dashed}]{0}{0} | + | \drawStatePolar[axisarrow=true, |
| - | \drawAxis{90}{0} | + | \drawStatePolar[axisarrow=true, |
| - | \drawAxis{90}{90} | + | \drawStatePolar[axisarrow=true, |
| + | |||
| + | \node[right] at (xaxis) | ||
| + | \node[left] at (yaxis) | ||
| + | %\node[above] at (zaxis) {$z$}; | ||
| + | |||
| + | \drawStatePolar[statecolor=red, | ||
| + | \node[right] at (state) {$|\psi\rangle$}; | ||
| + | |||
| + | \labelLatLon{north}{90}{0} | ||
| + | \labelLatLon{south}{-90}{0} | ||
| + | |||
| + | \node[above] at (north) {$|0\rangle$}; | ||
| + | \node[below] at (south) {$|1\rangle$}; | ||
| - | \labelLatLon{up}{90}{0}{$\lvert 0\rangle$} | ||
| - | \labelLatLon{down}{-90}{90}{$\lvert 1\rangle$} | ||
| \end{blochsphere} | \end{blochsphere} | ||
| \end{document} | \end{document} | ||
test1.1787583109.md.gz · Last modified: by Ivan Janevski
